Jira Connect New Branch form: Provide better empty state for project and source branch dropdowns
We should provide a better empty state for the Project Select and Source Branch Select dropdowns on the Jira Connect New Branch page.
Original feature issue is: #2647 (closed)
This was identified in !66032 (comment 639227366).
Page: http://gdk.test:3000/-/jira_connect/branches/new
Proposal
Go with Option B which hides form elements instead of disabling them. See comments in design for more information.
Availability & Testing
Suggestion would be to add frontend unit test examples that check for existence/visibility of dependent fields.
project | source branch | branch name | create branch button |
---|---|---|---|
empty | hidden | hidden | disabled |
set | empty | hidden | disabled |
set | set | empty | disabled |
set | set | set | enabled |
Edited by Tom Quirk