-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Team setup CTA+view (#4960)
* spike * wip omg * Add option to clear combobox dropdown on selection * Extend combobox on selection made callback * Remove IO.inspect * Add more guests via seeds * Implement basic UX for arbitrary e-mail addresses * Save team name on change * Don't crash on invalid team name input * Enable :teams flag via seeds * Implement changing roles * Display avatars in combobox when selecting member candidates * Reduce noise * Add 'Create team' button to the layout * Revert "Extend combobox on selection made callback" This reverts commit 874d566. * Fix seeds * Make email submittion optional in InviteToTeam service * Implement finalising team setup (WIP) * Revert "Display avatars in combobox when selecting member candidates" This reverts commit ff1a30d. * Use regular redirect to preserve flash * Check team's setup complete status on mount * Add `dev` param, allowing redirect skip on setup complete * Bootstrap test module * Add sample test touching on combobox in team setup * WIP: testing team setup LV * Fixup test * Remove unused bindings * Add another minor test * Test removing a member candidate * Finish up remaining tests * Rename main module * Put team setup view behind a feature flag * Update main nav dropdown * Update ComboBox tests * Fix CandidatesTest regression * Bring back OG combo-box.js * Fix dark mode red * Minor styling fixes * Extract setup_team function into context * Remove Floki calls, use Plausible.HTML proxy instead * Make credo happy * Use path helpers instead of hardcoded paths * Fix formatting * Revert "Merge branch 'master' into setup-teams-01" This reverts commit bc436c5, reversing changes made to 2eb128d. * Reapply "Merge branch 'master' into setup-teams-01" This reverts commit c7ebdd2. * Alter clear_on_select behavior * Revert "Alter clear_on_select behavior" This reverts commit deb20c4. * Look up guests with distinct:true * Revert "Look up guests with distinct:true" This reverts commit 352d271. * Look up guests with distinct:true * Try something dumb * huh? * Bring back problematic changes * Make combobox dropdown open state and spinner behave on form update * Don't explicitly send update on live component attribute update * Don't explicitly send updates to options in funnel combobox either * Revert "Temporarily disable combobox spinner (#4971)" This reverts commit 3abf974. * Fix formatting * Set 'id' on element with phx-update=ignore * Rework options and suggestions setup in combobox * Fix suggestions for async * Fix formatting --------- Co-authored-by: Adrian Gruntkowski <[email protected]>
- Loading branch information
Showing
17 changed files
with
824 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.