Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jun 5, 2025

This form does not need a dedicated header and does not need to be visible all the time. This commit hides it until the user explicitly clicks the "Add Owner" button. This frees up space on the page to add the list of "Trusted Publishing" configurations.

Before

Bildschirmfoto 2025-06-05 um 16 04 31

After

Bildschirmfoto 2025-06-05 um 16 02 14 Bildschirmfoto 2025-06-05 um 16 02 24

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-frontend 🐹 labels Jun 5, 2025
@Turbo87 Turbo87 requested a review from a team June 5, 2025 14:05
Copy link
Contributor

@LawnGnome LawnGnome left a comment

Choose a reason for hiding this comment

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

This is definitely better. 👍

Username
</label>
<Input @type="text" id="new-owner-username" @value={{this.username}} placeholder="Username" local-class="email-input" name="username" />
<button type="submit" disabled={{not this.username}} class="button button--small" data-test-save-button>Save</button>
Copy link
Contributor

Choose a reason for hiding this comment

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

I tend to like specific verbs on forms, so maybe:

Suggested change
<button type="submit" disabled={{not this.username}} class="button button--small" data-test-save-button>Save</button>
<button type="submit" disabled={{not this.username}} class="button button--small" data-test-save-button>Add Owner</button>

Copy link
Member Author

Choose a reason for hiding this comment

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

hahaha, I have a commit here already for a follow-up PR that pretty much does that 😂

@Turbo87 Turbo87 force-pushed the add-owner-button branch from e59b866 to e7a6d33 Compare June 6, 2025 07:04
This form does not need a dedicated header and does not need to be visible all the time. This commit hides it until the user explicitly clicks the "Add Owner" button. This frees up space on the page to add the list of "Trusted Publishing" configurations.
@Turbo87 Turbo87 force-pushed the add-owner-button branch from e7a6d33 to 25c5d9d Compare June 6, 2025 07:04
@Turbo87 Turbo87 merged commit 86b7bfb into rust-lang:main Jun 6, 2025
11 checks passed
@Turbo87 Turbo87 deleted the add-owner-button branch June 6, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-frontend 🐹 C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants