Skip to content

[licensing] Add a license page to the admin dashboard #8413

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

Closed
corneliusludmann opened this issue Feb 23, 2022 · 7 comments · Fixed by #9343
Closed

[licensing] Add a license page to the admin dashboard #8413

corneliusludmann opened this issue Feb 23, 2022 · 7 comments · Fixed by #9343
Assignees
Labels
feature: admin dashboard team: delivery Issue belongs to the self-hosted team team: webapp Issue belongs to the WebApp team

Comments

@corneliusludmann
Copy link
Contributor

Add a page to the admin dashboard that shows the installed license with properties (number allowed users, actual users, domain restriction etc.).

@gtsiolis
Copy link
Contributor

This is also a customer request, see #5743 (comment) and relevant discussion (internal). Cc @JohannesLandgraf

Feel free to add this to the 🥯 product design board[1] if this is something we'd like to work on soon. Cc @corneliusludmann

@mrsimonemms
Copy link
Contributor

mrsimonemms commented Mar 15, 2022

Proposed approach

The licensor component doesn't currently have any way of reading the license data - at the moment it's "check x is available" and returns a boolean.

  1. Add a getLicense type method to the LicenseEvaluator which will return the relevant information (seats, license type, domain etc) from the licensor. This may be the Gitpod, Replicated, default or fallback license depending upon what's loaded/validated. This would also need adding to the C and Golang modules that this talks to
  2. Add a "License" section to the dashboard. See this PR for one way of adding a section to the React app

Important: this ticket is only to read the values of the license and will have no write requirement. This may come in #8717, if at all

@mrsimonemms mrsimonemms added the team: webapp Issue belongs to the WebApp team label Mar 15, 2022
@nandajavarma nandajavarma moved this from 📓Scheduled to ⚒In Progress in 🚚 Security, Infrastructure, and Delivery Team (SID) Mar 17, 2022
@nandajavarma
Copy link
Contributor

We should also be able to list the occupied and remaining seats

@gtsiolis
Copy link
Contributor

gtsiolis commented Apr 4, 2022

Moved this to Scheduled. Cc @nandajavarma

ETA: Will starting working on the understanding the problem and designs for this, tomorrow. Design specs will probably land before the end of this week. ⏱️

@gtsiolis
Copy link
Contributor

gtsiolis commented Apr 5, 2022

Adding below the first design specs for this feature. Elements can change accordingly per need. Feedback is welcome!

Community Free Free (Limits Reached) Professional
Community Free Limits Profressional

See design specs.

@mrsimonemms
Copy link
Contributor

@gtsiolis I love these. I genuinely wish I could do simple, elegant designs like that.

I think these swatches capture all of the different elements and combinations 👍🏻

@gtsiolis
Copy link
Contributor

@nandajavarma I'm adding below some specs for the dark theme color scheme, you can find the specs also in the Figma file linked above in #8413 (comment).

No License License Limits Active License
Community Community-1 Community-2

@nandajavarma nandajavarma moved this from ⚒In Progress to 🕶In Review / Measuring in 🚚 Security, Infrastructure, and Delivery Team (SID) Apr 19, 2022
Repository owner moved this from 🕶In Review / Measuring to ✨Done in 🚚 Security, Infrastructure, and Delivery Team (SID) May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: admin dashboard team: delivery Issue belongs to the self-hosted team team: webapp Issue belongs to the WebApp team
Projects
No open projects
4 participants