Skip to content

fix: show org summary page if not entitled #14336

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

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

code-asher
Copy link
Member

@code-asher code-asher commented Aug 17, 2024

Cleaning up some things from #13915

You cannot edit the org settings without being entitled, so show the summary page instead.

I am really not sure this is the best long-term solution, but it at least prevents folks from submitting a form that will just error. Possibly we should also add a banner or something that says "if you want to edit this organization you need a license".

Hiding the org(s) on the sidebar entirely would also be an option, but, if they were previously licensed and it expired or something would it cause unnecessary panic that the org(s) suddenly disappeared?

And it does seem a little weird to me somehow to have a new org link but not be listing the orgs that exist even if it is just the default org, although I cannot quite put my finger on why. Might just generally be my preference to show everything but disable as necessary over hiding things.

I suppose we could hide the entire organizations section along with the new org link, but then how would you discover that orgs are a thing? Currently if you go into the new org page you can learn that a license is required. We could have just the organizations heading and then a small sidebar version of the license banner, maybe?

Copy link

alwaysmeticulous bot commented Aug 17, 2024

🤖 Meticulous spotted visual differences in 2 of 1428 screens tested: view and approve differences detected.

Meticulous tested 4/5 of the executable lines edited in this PR1.

1. These lines will likely automatically gain test coverage over the coming days, however if you wish to increase coverage immediately you can do so by interacting with your feature on localhost.

Last updated for commit fc7e2d4. This comment will update as new commits are pushed.

You cannot edit the settings without being entitled, so show the summary
page instead.
@code-asher code-asher force-pushed the asher/org-summary-if-not-entitled branch from 9ef3da7 to fc7e2d4 Compare August 17, 2024 00:32
@code-asher code-asher merged commit 4446d61 into main Aug 19, 2024
30 checks passed
@code-asher code-asher deleted the asher/org-summary-if-not-entitled branch August 19, 2024 23:57
@github-actions github-actions bot locked and limited conversation to collaborators Aug 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants