RIDER-135723 provide examples of the supported azd server urls

GitOrigin-RevId: 6a37d40ad7f95c6cbf6b02b9deb6a9d161b21b80
This commit is contained in:
Rival Abdrakhmanov
2026-02-12 09:33:16 +01:00
committed by intellij-monorepo-bot
parent 4c09f02115
commit 95698d476f
2 changed files with 16 additions and 0 deletions

View File

@@ -229,7 +229,10 @@ f:com.intellij.collaboration.api.json.JsonHttpApiHelperKt
- <init>(com.intellij.collaboration.auth.ui.login.TokenLoginPanelModel):V
- f:createIn(kotlinx.coroutines.CoroutineScope,Z,java.lang.String,com.intellij.collaboration.ui.codereview.list.error.ErrorStatusPresenter):com.intellij.openapi.ui.DialogPanel
- f:createIn(kotlinx.coroutines.CoroutineScope,Z,java.lang.String,com.intellij.collaboration.ui.codereview.list.error.ErrorStatusPresenter,kotlin.jvm.functions.Function1):com.intellij.openapi.ui.DialogPanel
- f:createIn(kotlinx.coroutines.CoroutineScope,Z,java.lang.String,java.lang.String,com.intellij.collaboration.ui.codereview.list.error.ErrorStatusPresenter):com.intellij.openapi.ui.DialogPanel
- f:createIn(kotlinx.coroutines.CoroutineScope,Z,java.lang.String,java.lang.String,com.intellij.collaboration.ui.codereview.list.error.ErrorStatusPresenter,kotlin.jvm.functions.Function1):com.intellij.openapi.ui.DialogPanel
- bs:createIn$default(com.intellij.collaboration.auth.ui.login.TokenLoginInputPanelFactory,kotlinx.coroutines.CoroutineScope,Z,java.lang.String,com.intellij.collaboration.ui.codereview.list.error.ErrorStatusPresenter,kotlin.jvm.functions.Function1,I,java.lang.Object):com.intellij.openapi.ui.DialogPanel
- bs:createIn$default(com.intellij.collaboration.auth.ui.login.TokenLoginInputPanelFactory,kotlinx.coroutines.CoroutineScope,Z,java.lang.String,java.lang.String,com.intellij.collaboration.ui.codereview.list.error.ErrorStatusPresenter,kotlin.jvm.functions.Function1,I,java.lang.Object):com.intellij.openapi.ui.DialogPanel
*f:com.intellij.collaboration.auth.ui.login.TokenLoginInputPanelFactory$Companion
*:com.intellij.collaboration.auth.ui.login.TokenLoginPanelModel
- com.intellij.collaboration.auth.ui.login.LoginModel

View File

@@ -41,6 +41,18 @@ class TokenLoginInputPanelFactory(
errorPresenter: ErrorStatusPresenter<Throwable>?,
footer: Panel.() -> Unit = { }
): DialogPanel {
return createIn(cs, serverFieldDisabled, null, tokenNote, errorPresenter, footer)
}
@JvmOverloads
fun createIn(
cs: CoroutineScope,
serverFieldDisabled: Boolean,
serverNote: @NlsContexts.DetailedDescription String?,
tokenNote: @NlsContexts.DetailedDescription String?,
errorPresenter: ErrorStatusPresenter<Throwable>?,
footer: Panel.() -> Unit = { }
): DialogPanel {
val serverTextField = ExtendableTextField()
val progressExtension = ExtendableTextComponent.Extension
@@ -65,6 +77,7 @@ class TokenLoginInputPanelFactory(
.bindText(model::serverUri)
.align(AlignX.FILL)
.resizableColumn()
.comment(serverNote, maxLineLength = MAX_LINE_LENGTH_WORD_WRAP)
.enabledIf(progressModel.toComponentPredicate(!serverFieldDisabled))
.validationOnApply {
when {