-
Notifications
You must be signed in to change notification settings - Fork 466
feat(ui): add UserButton controller #9185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
+1,195
−0
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
4babff8
feat(ui): add UserButton controller
alexcarpenter afa0ed0
feat(ui): add loading and busy states to UserButton
alexcarpenter a9e0377
feat(ui): close the UserButton popover only when a workspace is picked
alexcarpenter 7af1a0d
feat(ui): name the active workspace in the UserButton trigger
alexcarpenter 1127af4
refactor(ui): split the UserButton trigger label into two props
alexcarpenter 03614e9
feat(ui): let combined UserButton lead with the organization or the a…
alexcarpenter 640be98
feat(ui): hand the UserButton its active organization and list loadin…
alexcarpenter 5f619af
fix(ui): answer hasOrganizations from the user resource, before the l…
alexcarpenter 3958ded
feat(ui): open the UserButton profiles as modals, routable by URL
alexcarpenter ebe997d
feat(ui): portal the UserButton profile modals
alexcarpenter d041727
feat(ui): offer the personal workspace from the UserButton controller
alexcarpenter 47c531d
feat(ui): route the UserButton personal row with afterSelectPersonalUrl
alexcarpenter ff7e60a
fix(ui): withhold the UserButton personal row where an organization i…
alexcarpenter 90a53d9
feat(ui): let an app hide the UserButton personal workspace
alexcarpenter dcb8e2f
fix(ui): gate UserButton create-organization on the user's permission
alexcarpenter c5629c4
feat(ui): open the create-organization modal from the UserButton
alexcarpenter 264802d
feat(ui): open the invite-members modal from the Mosaic UserButton
alexcarpenter 63894b6
fix(ui): identify the UserButton account the way Clerk does
alexcarpenter ab9564c
feat(ui): forward custom menu items through the connected UserButton
alexcarpenter 49fcdcb
docs(ui): document the connected UserButton for the apps using it
alexcarpenter 78e06b4
fix(ui): render nothing from UserButton until Clerk answers
alexcarpenter dc00d99
refactor(ui): drop comments the controller test names already carry
alexcarpenter 3edf210
refactor(ui): follow the renderTriggerBadge rename through the connec…
alexcarpenter e326968
fix(ui): wait for the environment before the user button reports ready
alexcarpenter 53ca1ad
fix(ui): read the branding off the instance in the Mosaic UserButton
alexcarpenter b1b8ecb
fix(ui): follow the renderBranding rename through the UserButton cont…
alexcarpenter 4489582
docs(ui): trim the Mosaic UserButton comments to the non-obvious
alexcarpenter 80a1968
fix(ui): route a switched Mosaic UserButton session to its pending task
alexcarpenter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| --- | ||
| --- | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.