-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Use org slug in place of UUIDs in app URLs #1277
Conversation
c4a459d
to
d85116d
Compare
156da96
to
3e5a7ab
Compare
Fixed! |
Looks good! Added a redirect from old orgId -> org slugs: 53a3ba9 |
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.
I think this should be good to go! (will do some more testing while others review as well)
Definitely makes the app more user-friendly with nicer URLs!
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.
Really nice to have the org name in URLs!
Resolves #1258
Follows #1279
Changes
Breaking change: Replaces org UUID in URL/browser location bar with org slug.
Refactor: Adds shared app state utility using lit-shared-state to access org data from deep descendants.
Manual testing
Requires regression testing all features as both superadmin and regular user.
Follow-ups
Now that shared app state is implemented, we could refactor other properties on
App
to be properties ofAppState
, rather than the LitElement.