Jaanus Sellin
b6e22d6178
feat: new onboarding welcome screen logic ( #8110 )
...
1. We will not show grid until 2 flags exist
2. Now new feature creation button will be always displayed on top with
different style
3. Moved some text around
![image](https://github.com/user-attachments/assets/6cfc2152-b52d-479c-8a2e-988c9e8b79ad )
2024-09-06 13:15:28 +03:00
Thomas Heartman
f0ba4e5180
fix: allow you to save default strategies with the right permissions ( #8114 )
...
Allow you to edit default strategies in the UI if you have the
update_project or project_default_strategy_write permissions. These are
the same permissions that we use in the API.
Previously, we used the update_feature_strategy permission here, but
that one is intended to be used for updating strategies belonging to
actual flags.
One of the trickier bits here is that we use the `StrategyVariants`
component, which previously had baked in the permission required
(update_feature_environment_variants). Because the permissions are
different for the default strategy, I updated the component to make it
configurable, but for the default to be the old permission (so that
other uses aren't affected).
2024-09-06 12:00:46 +02:00
Mateusz Kwasniewski
0b656db80a
test: onboarding test with existing key ( #8116 )
2024-09-06 11:50:52 +02:00
Thomas Heartman
00e63609d4
fix: allow you to see default strategies if you have write access ( #8113 )
...
Previously, you needed read access specifically to see default
strategies. So even if you could write default strategies, you
couldn't access them in the UI without the read permission too.
This changes it so that you can see default strategies if you have
write permission.
2024-09-06 11:49:22 +02:00
Thomas Heartman
7e52da11bc
fix: Also display strategy variant information on default strategies ( #8115 )
...
This change copies (and then simplifies) the strategy variant display
logic from
`frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/StrategyItem.tsx`
and inserts it into the `ProjectEnvironmentDefaultStrategy` component.
Before:
![image](https://github.com/user-attachments/assets/c00098c3-3161-4a89-a6cf-8db711b4fb3e )
After:
![image](https://github.com/user-attachments/assets/4fdd46f1-97a4-4344-98e1-16c842947a1c )
2024-09-06 11:47:59 +02:00
Jaanus Sellin
01fb748c01
feat: connection status bubble ( #8099 )
...
Fully working cycle
![image](https://github.com/user-attachments/assets/cf20788b-29fa-4489-91e7-7db9f592da9b )
2024-09-05 13:56:25 +03:00
Mateusz Kwasniewski
9f591f0cda
feat: change sdk action ( #8098 )
2024-09-05 11:55:37 +02:00
Mateusz Kwasniewski
62d03d35cd
feat: check flag status snippet ( #8097 )
2024-09-05 11:17:42 +02:00
Tymoteusz Czech
c2c865273e
fix: align short owner username on project card ( #8093 )
2024-09-05 10:16:38 +02:00
Jaanus Sellin
4b1de563f7
feat: add sdk example box ( #8092 )
...
![image](https://github.com/user-attachments/assets/472dcbb2-d981-4d7c-8bbf-b97a6ee4c186 )
2024-09-05 10:35:43 +03:00
Jaanus Sellin
48ddd255d6
feat: connect welcome to sdk dialog ( #8078 )
...
Now welcome screen is connected to sdk dialog.
2024-09-04 13:19:08 +03:00
Jaanus Sellin
f41a688edb
feat: welcome to project onboarding status rendering ( #8076 )
...
![image](https://github.com/user-attachments/assets/8a828f95-10bd-4294-b2f4-1d7f4e7f1a3d )
2024-09-04 12:17:33 +03:00
Mateusz Kwasniewski
3f24728693
feat: Select sdk onboarding pt 1 ( #8065 )
2024-09-03 16:37:20 +02:00
Mateusz Kwasniewski
82f9783fe6
feat: connect sdk step 1 ( #8042 )
2024-09-02 15:58:00 +02:00
Tymoteusz Czech
6030900b40
refactor: replace IProjectCard with openapi type ( #8043 )
...
Makes type consistent between frontend and schema generated from backend.
2024-09-02 13:25:28 +00:00
Jaanus Sellin
e4fcb252d1
feat: welcome to your project component ( #8039 )
...
Currently displaying always when flag enabled.
![image](https://github.com/user-attachments/assets/e4c48595-b2d9-4093-af98-360d5856e7d5 )
2024-09-02 15:09:00 +03:00
Tymoteusz Czech
eb55067983
fix: project archive card ( #8024 )
...
Fix archived project card after new projects list refactor. Archive card was not showing button actions in footer.
2024-09-02 10:13:59 +02:00
Tymoteusz Czech
79fccbd8f3
refactor: ts checking conditionallyrender props ( #7840 )
...
Fix issues found by TS checking after removing ConditionallyRender
2024-08-30 13:39:11 +02:00
Tymoteusz Czech
d626defc93
fix: project badge alignment ( #8019 )
2024-08-29 16:49:46 +02:00
Tymoteusz Czech
07abb60966
Feat/improve projects list ( #8018 )
2024-08-29 14:39:44 +00:00
Tymoteusz Czech
8b68a0657f
feat: projects list sorting ( #8011 )
...
Ability to sort projects.
2024-08-29 15:43:16 +02:00
Tymoteusz Czech
8923e28d83
feat: new project card ( #7992 )
2024-08-28 18:26:41 +02:00
gitar-bot[bot]
031a2e805a
[Gitar] Cleaning up stale flag: timeAgoRefactor with value true ( #7997 )
...
Co-authored-by: Gitar <noreply@gitar.co>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-08-28 11:12:27 +00:00
Tymoteusz Czech
25617f7a24
refactor: prepare project card iteration ( #7990 )
...
Copy/rename files in preparation for new ProjectCard iteration.
2024-08-27 14:11:07 +02:00
Jaanus Sellin
f7d5c8e12d
feat: introduce new icons for import/export ( #7970 )
...
We found good one for export from MUI, but needed to created similar one
for import.
![image](https://github.com/user-attachments/assets/f8ed2f07-5c8b-4829-a298-4b5e7311b059 )
2024-08-22 15:04:50 +03:00
gitar-bot[bot]
4615ff40ce
[Gitar] Cleaning up stale flag: resourceLimits with value true ( #7964 )
...
[![Gitar](https://raw.githubusercontent.com/gitarcode/.github/main/assets/gitar-banner.svg )](https://gitar.co )
---
This automated PR was generated by [Gitar](https://gitar.co ). View
[docs](https://gitar.co/docs ).
---------
Co-authored-by: Gitar <noreply@gitar.co>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-08-22 13:20:53 +02:00
Jaanus Sellin
4a4dafcc3f
chore: remove create feature component ( #7959 )
...
After we implemented new feature flag creation flow, this are not used
anymore.
Creation is now handled by **CreateFeatureDialog**.
Also edit component can be minified, because it does not need so many
fields anymore.
2024-08-22 11:30:41 +03:00
Melinda Fekete
341703978a
docs: Update projects docs ( #7941 )
2024-08-21 14:56:17 +02:00
Mateusz Kwasniewski
2a13139215
fix: project owner name overflow ( #7949 )
2024-08-21 13:12:42 +02:00
Tymoteusz Czech
6c5ce52470
Refactor: Remove react-timeago
( #7943 )
...
Remove dependency 🫡
2024-08-21 12:03:03 +02:00
Mateusz Kwasniewski
ee1d8ee8cd
fix: misc fixes for project archive ( #7948 )
2024-08-21 10:34:13 +02:00
Tymoteusz Czech
0d97f8b7c1
fix: react-timeago issue ( #7936 )
2024-08-20 14:03:05 +02:00
Mateusz Kwasniewski
4e11e57f7f
feat: project actions count metric ( #7929 )
2024-08-20 09:46:39 +02:00
Tymoteusz Czech
004038e872
update project archive and revive dialogs ( #7918 )
2024-08-19 13:33:00 +00:00
Mateusz Kwasniewski
141720d9b8
feat: adjust archived card styling ( #7917 )
2024-08-19 14:22:58 +02:00
Mateusz Kwasniewski
2050cb0b76
feat: static link to archived flags in archived project ( #7913 )
2024-08-19 11:24:39 +02:00
Tymoteusz Czech
f2e2952c31
fix: projects archive search ( #7898 )
...
Filter projects when searching
2024-08-15 16:19:29 +02:00
Mateusz Kwasniewski
a3decb543f
feat: Show project archived message ( #7899 )
2024-08-15 14:56:12 +02:00
gitar-bot[bot]
977f969b80
[Gitar] Cleaning up stale flag: improveCreateFlagFlow with value true ( #7895 )
...
[![Gitar](https://raw.githubusercontent.com/gitarcode/.github/main/assets/gitar-banner.svg )](https://gitar.co )
---
This automated PR was generated by [Gitar](https://gitar.co ). View
[docs](https://gitar.co/docs ).
---------
Co-authored-by: Gitar <noreply@gitar.co>
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2024-08-15 15:53:36 +03:00
Tymoteusz Czech
3baeb4c541
feat: dialogs for project revive and delete ( #7863 )
...
Dialog needed to confirm revive/delete actions
2024-08-15 07:25:49 +00:00
Tymoteusz Czech
ccb29a5acf
refactor: project archive card ( #7859 )
...
- Refactored "favorites" action, and fixed issue with "favorite" prop
- Refactored "owners" - simplified footer
2024-08-13 15:19:13 +02:00
Tymoteusz Czech
f2b7e0278d
Projects archive UI ( #7842 )
...
Closes
[issue/1-2666](https://linear.app/unleash/issue/1-2666/archived-projects-view )
2024-08-13 14:33:11 +02:00
Thomas Heartman
fa96ff1450
fix: display feature naming patterns in dialog ( #7837 )
...
Updates the dialog form template to include a `namingPattern` prop that
can be used to display the naming pattern of whatever the form is used
for.
Also updates the create feature dialog to display the naming pattern in
the current project.
The naming pattern component re-uses the pattern that we have in place
for feature naming patterns, but puts it in an expandable dialog
instead.
Screenies:
Naming pattern closed:
![image](https://github.com/user-attachments/assets/145e4268-1aa0-4c1b-8f08-97857447e2f5 )
![image](https://github.com/user-attachments/assets/1613c846-e7d4-41c8-a1c8-a66ab87b6e5f )
Naming pattern open:
![image](https://github.com/user-attachments/assets/1aa37162-500b-4b83-926f-07aa777e8017 )
2024-08-12 13:56:07 +02:00
Thomas Heartman
99f878d725
fix: don't always fetch all flags on project flag screen ( #7834 )
...
There's a bug where the UI will fetch all features every time you load a
project screen (including every time you filter the project results).
The reason is that the create flag dialog was rendered (just not open)
every time. To solve it, we instead wrap it in an extra component that
prevents all the fetching and setup from running when the dialog isn't
open.
Additionally, we'll lower the page size for the global fetch limit to 1,
so that we send less data.
2024-08-12 11:07:36 +02:00
Mateusz Kwasniewski
b65e593c23
chore: remove featureLifecycle and featureLifecycleMetrics flags ( #7808 )
2024-08-08 13:45:23 +02:00
Mateusz Kwasniewski
3fe385e127
chore: remove flagCreator flag ( #7807 )
2024-08-08 12:19:32 +02:00
Mateusz Kwasniewski
a01305040d
feat: archive project form ( #7797 )
2024-08-08 09:29:28 +02:00
Thomas Heartman
bb84ef21ad
fix: don't delete projects screen from history ( #7787 )
...
Fixes a bug in the navigation when you create a project. It used to be
that we'd replace the current entry in the browser history when we
took you to a separate form for it. However, now that we instead
use a dialog, we don't want to replace the history.
Before: if you created a project and navigated back, you'd be taken to
the page you were at BEFORE you went to the projects page, whether
that was in Unleash or otherwise.
Now you'll be taken back to the projects page.
2024-08-07 09:31:50 +02:00
Mateusz Kwasniewski
41c6d06093
fix: missing space in delete project message ( #7771 )
2024-08-06 14:11:37 +02:00
Thomas Heartman
dd71fe32bb
Update front end schemas for new event search ( #7758 )
...
Updates the orval spec for the new event search.
2024-08-05 12:48:01 +00:00