-
Notifications
You must be signed in to change notification settings - Fork 245
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
chore(clerk-js): Update OrganizationSwitcher
popover action to include label
#4304
chore(clerk-js): Update OrganizationSwitcher
popover action to include label
#4304
Conversation
🦋 Changeset detectedLatest commit: 6835e97 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
OrganizationSwitcher
popover small gear icon with a Manage
labelOrganizationSwitcher
popover small gear icon with labelled action
994a014
to
0a32365
Compare
Q to consider: should we offer an option to reverse this and just go to the gear icon? (aka does this break a contract we have with our users?) |
@kylemac I think this won't be needed, cause we're still keeping the same UI hierarchy here with a Depending on how folks are relying on this for things such as UI tests, then it could break when bumping the version, but still, I wouldn't consider that valuable in order to introduce a property for this behavior 🤔 |
OrganizationSwitcher
popover small gear icon with labelled actionOrganizationSwitcher
popover action to include label
@@ -105,20 +104,6 @@ export const OrganizationSwitcherPopover = React.forwardRef<HTMLDivElement, Orga | |||
}); | |||
}; | |||
|
|||
const manageOrganizationSmallIconButton = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now we're reusing the action that used to be displayed only when there was a __unstable_manageBillingUrl
.
Description
Resolves ORGS-246
Replaces
OrganizationSwitcher
small gear icon action with a labeled button to make it less confusing to end-users.Now:
Previously:
Checklist
npm test
runs as expected.npm run build
runs as expected.Type of change