-
Notifications
You must be signed in to change notification settings - Fork 881
feat(site): add basic organization management ui #13288
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
Conversation
3e1720c
to
f36f106
Compare
site/src/pages/OrganizationSettingsPage/OrganizationSettingsPage.tsx
Outdated
Show resolved
Hide resolved
site/src/pages/OrganizationSettingsPage/OrganizationSettingsPage.tsx
Outdated
Show resolved
Hide resolved
site/src/pages/OrganizationSettingsPage/OrganizationSettingsPage.tsx
Outdated
Show resolved
Hide resolved
site/src/pages/OrganizationSettingsPage/OrganizationSettingsPage.tsx
Outdated
Show resolved
Hide resolved
site/src/pages/OrganizationSettingsPage/OrganizationSettingsPage.tsx
Outdated
Show resolved
Hide resolved
export default OrganizationSettingsPage; | ||
|
||
const styles = { | ||
dangerButton: (theme) => ({ |
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.
If the current style for danger buttons is not good enough, I think we should apply the changes in the mui styles to make it consistent across the UI.
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 copied it from the delete dialog. This is gonna get reworked and removed later.
href: string; | ||
} | ||
|
||
export const SidebarNavItem: FC<SidebarNavItemProps> = ({ |
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 we have a set of common components to build a sidebar. If not, we probably should make them to keep it consistent.
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.
we do, but the styling of the sidebar in this view needs to be quite different from our existing sidebars. we can see if there's a nice way to unify them later. I tried using them initially, but it's a lot easier to iterate this way for now.
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 left a few comments and I'm missing tests for the new additions.
site/src/pages/OrganizationSettingsPage/OrganizationSettingsPage.tsx
Outdated
Show resolved
Hide resolved
A few UX findings:
|
It already does. |
Creating and deleting orgs is going to get entirely redone. |
It's not completely fleshed out, but it's behind an experiment and gives us something to build on.