- Notifications
You must be signed in to change notification settings - Fork927
fix: use multi-org settings layout even if not licensed#14215
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
alwaysmeticulousbot commentedAug 8, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
🤖 Meticulous spotted visual differences in 271 of 1324 screens tested:view and approve differences detected. Last updated for commit46a28e0. This comment will update as new commits are pushed. |
5bcc2f6
tofb933bd
Comparefb933bd
tob06663b
Compare<PopoverPaywall | ||
message="Organizations" | ||
description="Organizations allow you to run a Coder deployment with multiple platform teams, all with unique use cases, templates, and even underlying infrastructure." | ||
// TODO: No documentation link yet. |
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.
Will make a note
args: { | ||
message: "Black Lotus", | ||
description: | ||
"Adds 3 mana of any single color of your choice to your mana pool, then is discarded. Tapping this artifact can be played as an interrupt.", |
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.
LOL, someone is playing too much Magic 😆
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.
Choosing the MVP of cards
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.
Sweet! |
Right now the workspace proxies page is the only one that is not bold, so it looks like the odd one out. Should we maybe change all of the pages to not be bold? |
@code-asher I think so but I will leave this up to you |
fdfe3ac
to39defe5
Compare
Sounds good to me! I will push up another PR soon for this. |
I added checks against the license but actually what we want is forthese views to become the default even when not licensed (once theexperimental flag is removed).
This will let us use it in the org settings pages, for a consistentlook.
b06663b
tocde4095
Comparecde4095
tob31b68a
CompareI am not sure if there is maybe a better place for this, but maybe thisis good enough.
It says "change", but there is nothing to change yet since this is a neworganization.
b31b68a
todd3a470
Compareabbcffe
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Originally, I had it using the multi-org layout if the multi-org experiment was enabled AND the feature was entitled.
However, we actually want to use the new layout even for single-org deployments, so I changed it; we now use the new layout ONLY when the multi-org experiment is enabled, even if the license is not entitled to the feature. In the future, when the experiment is over, the multi-org layout will be the default and we can delete and permanently redirect the old views.
However, this means that you could see the create org page and not have the ability to use it, so I added our standard license badges to that page. So if you go there and do not have a license, you now see the disabled badge.
We did not have a badge for the premium license, which is what orgs requires, so I added it. I am not 100% sure if the wording is right.
Then, the badges looked a bit janky with
PageHeader
so I moved the header used on all the other settings pages to the components directory and used it instead ofPageHeader
. Then I used it on the rest of the org pages as well for consistency (create org, edit org, members, and groups). It also brings some cohesiveness with the other settings pages, since they are all on the same sidebar and now these pages all use the same header style. Doing this also got rid of some extra padding.So in summary:
Stacked on: