1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
unleash.unleash/frontend/src
Thomas Heartman a5cfd2e80e
feat: handle cases where user has no flags (#8416)
This PR handles the cases where a user has no flags to display. There's
a few different ways this can happen:

1. The user has no project membership.
2. The user has projects, but no flags.

In the first case, we tell them to reach out to their admin.
In the second case, we tell them to go to one of their projects to
create a new flag.

User has no projects:

![image](https://github.com/user-attachments/assets/84b94044-3577-4009-97ae-ab709b94fc2e)


User has no flags:

![image](https://github.com/user-attachments/assets/d7fa2fcc-d758-4d7b-b986-376315150846)
2024-10-10 12:54:42 +02:00
..
__mocks__
assets fix: import svg viewbox misalignment (#8216) 2024-10-08 08:41:16 +02:00
component feat: handle cases where user has no flags (#8416) 2024-10-10 12:54:42 +02:00
constants
contexts
hooks feat: store dashboard state (#8382) 2024-10-08 08:21:23 +02:00
interfaces chore: add OpenAI API key configuration (#8400) 2024-10-10 09:43:14 +01:00
openapi feat: add timestamps to project events (#8389) 2024-10-09 09:32:58 +02:00
themes
types
utils chore: implement event grouping in the event timeline (#8254) 2024-09-26 14:48:52 +01:00
index.tsx
setupTests.ts test: reduce noise from test warnings (#8251) 2024-09-25 12:56:09 +02:00
vite-env.d.ts