Skip to content

Conversation

code-asher
Copy link
Member

Took a break from connection issues...

This fixes some alignment issues and changes the help text based on whether the IDE is already installed.

Closes #167

Before we used an empty cell which created a gap on the right but that
caused the IDE dropdown to change sizes based on its content.

I removed `indent` and added an empty border so we get consistent
padding on both sides although I have no idea if this is the idiomatic
way to do this.
Just to help make it clear the checkbox applies to when the connect
button is pressed and not the table below.
To help make it clear it applies to the connect action and not to
whatever happens to be displayed below in the table.
UI moving around can be confusing.
@code-asher code-asher marked this pull request as ready for review March 29, 2023 18:54
@code-asher code-asher requested a review from johnstcn March 29, 2023 19:35
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested this locally, but LGTM 👍
Just some nits about naming.

registerStep(CoderLocateRemoteProjectStepView {
nextButton.isVisible = false
})
registerStep(CoderLocateRemoteProjectStepView { nextButton.isEnabled = it })
Copy link
Member

@johnstcn johnstcn Mar 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review: In Kotlin, you can just say it in a lambda with one parameter. TIL.

@code-asher code-asher force-pushed the ide-help-text-and-alignment branch from 7689fb5 to 12f3956 Compare March 29, 2023 19:57
@code-asher code-asher merged commit 8af9ec1 into main Mar 29, 2023
@code-asher code-asher deleted the ide-help-text-and-alignment branch March 29, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove helper text below the IDE drop-down - since IDEs may already be in image or container
2 participants