Tymoteusz Czech
2a6487e7e9
feat: show and hide environments ( #9323 )
...
- Button to show and hide environments
- Refactored hook storing state of hidden environments
- Changed the way flag is triggered for feature overview
- Visual updates for new page look
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2025-02-19 09:48:07 +00:00
Tymoteusz Czech
2ede2a6578
feat: new flag info box ( #9308 )
...
- updated spacing of elements
- modified header and "flag type"
- added "collaborators"
- refactored tags
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2025-02-18 10:30:52 +01:00
Nuno Góis
b4fde58fa0
chore: flag overview page redesign - environments ( #8683 )
...
https://linear.app/unleash/issue/2-2826/enabling-environment-via-feature-flag-environment-section-header
https://linear.app/unleash/issue/2-2825/feature-flag-list-bottom-left-to-be-a-nav-section
Follow-up to: https://github.com/Unleash/unleash/pull/8663
Implements most of the remaining work for our flag overview page
redesign.
Most of the code you see is a straight copy/paste from our older
existing components, with the slight improvement here and there.
Includes some improvements to our vertical tabs component to suit our
use case.
Also updates the Demo flow accordingly. I did some manual tests and it
seems to work decently in both scenarios, whether `flagOverviewRedesign`
is enabled or not. The demo needs some love but that's a story for a
different PR and a different time.
Once again, due to the duplicate file pattern, we should remember to
clean this up if we decide to remove the flag.
<img width="1086" alt="image"
src="https://github.com/user-attachments/assets/0c375e34-cbb5-4ac4-a764-39a36b6c6781 ">
2024-11-08 09:56:46 +00:00
Nuno Góis
314a4d7113
chore: new feature flag overview metadata panel ( #8663 )
...
https://linear.app/unleash/issue/2-2920/update-the-flag-overview-metadata-properties-to-match-the-new-design
Updates the feature flag overview metadata panel to match the new
design.
This redesign is behind a feature flag, so we opted to go with a
duplicate file approach. We should remember to clean this up if we
decide to remove the flag.

2024-11-06 10:41:39 +00:00
Mateusz Kwasniewski
95f5f7a20b
feat: Recent flags ( #7211 )
2024-05-29 16:01:52 +02:00
Mateusz Kwasniewski
20a9e1d725
refactor: remove unused components and rename new ( #6357 )
2024-02-27 12:22:47 +01:00
Mateusz Kwasniewski
c049374a25
chore: remove new strategy configuration flag ( #6335 )
2024-02-27 11:23:49 +01:00
Fredrik Strand Oseberg
ec670450fd
feat: initial setup ( #5583 )
...
This PR sets up the feature flag for the new strategy configuration and
duplicates the components for the new setup
2023-12-11 12:23:18 +01:00
Nuno Góis
4167a60588
feat: biome lint frontend ( #4903 )
...
Follows up on https://github.com/Unleash/unleash/pull/4853 to add Biome
to the frontend as well.

Added a few `biome-ignore` to speed up the process but we may want to
check and fix them in the future.
2023-10-02 13:25:46 +01:00
Mateusz Kwasniewski
2b9678266c
feat: Add dependency dialogue ( #4828 )
2023-09-26 09:38:13 +02:00
Mateusz Kwasniewski
b4742df8be
feat: UI stub for adding dependent features ( #4814 )
2023-09-22 11:26:45 +02:00
Nuno Góis
8729f082d2
refactor: remove variants per environment feature flag ( #3102 )
...
https://linear.app/unleash/issue/2-428/clean-up-feature-flag-once-were-done-with-the-migration
Cleans up the variants per environment feature flag due to GA.
2023-02-14 14:02:02 +00:00
sjaanus
2139d8342a
Allow hiding environments from the feature overview screen fix ( #2831 )
2023-01-06 11:32:26 +02:00
Mateusz Kwasniewski
674e36b40b
Styled components batch4.1 ( #2812 )
...
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2023-01-05 09:45:39 +01:00
sjaanus
88d649d239
Allow hiding environments from the feature overview screen ( #2727 )
2023-01-03 15:41:34 +02:00
Nuno Góis
3dca3d53f9
feat: improved feature overview sidepanel env toggles ( #2487 )
...
https://linear.app/unleash/issue/2-423/update-feature-toggle-overview-sidepanel
2022-11-22 08:50:31 +00:00
olav
d8143c6ff4
chore: update react-router to v6 ( #946 )
...
* refactor: fix child selector warnings
* refactor: update react-router-dom
* refactor: use BrowserRouter as in react-router docs
* refactor: replace Redirect with Navigate
* refactor: replace Switch with Routes
* refactor: replace useHistory with useNavigate
* refactor: replace useParams types with useRequiredPathParam
* refactor: replace NavLink activeStyle with callback
* refactor: fix matchPath arg order
* refactor: Remove unused link state
* refactor: delete broken snapshot test
* refactor: render 404 page without redirect
* refactor: normalize path parameter names
* refactor: fix Route component usage
2022-05-05 13:42:18 +02:00
olav
24c11332b5
chore: update MUI to v5 ( #923 )
...
* refactor: update mui packages
* refactor: run mui codemods
* refactor: format files after codemods
* refactor: fix broken types
* refactor: clean up theme
* refactor: fix broken tests
* refactor: replace @mui/styles with tss-react
* refactor: move breakpoints into classes for tss
* refactor: fix crash on missing feature description
* refactor: remove void classNames
* refactor: adjust styles to new defaults
* refactor: remove broken rollout slider e2e test
* refactor: fix duplicate e2e testid
* refactor: update makeStyles after rebase
* refactor: add missing snapshot after rebase
* refactor: fix TableCellSortable focus styles
* refactor: use 1.4 as the default line-height
* refactor: hide webkit search field icons
* refactor: fix select box label
* refactor: make AutocompleteBox smaller
* refactor: make heading smaller
* refactor: fix toast close icon color
* refactor: update snapshots
* refactor: add missing test event awaits
* refactor: fix default button line-height
2022-05-02 15:52:41 +02:00
olav
f7266cde10
fix: announce navigation to screen readers ( #911 )
...
* refactor: unify page titles
* refactor: update page title on navigation
* refactor: add AnnouncerContext to test contexts
* fix: announce navigation to screen readers
2022-04-27 09:14:44 +02:00
olav
baae88c7a5
feat: add new feature strategy create/edit pages ( #739 )
...
* refactor: add param helper hooks
* refactor: remove first add strategy link
* refactor: add more types to useStrategies
* refactor: port strategy utils to TS
* refactor: replace rollout strategy icon
* refactor: use a named export for useFeature
* refactor: add more types to useFeature
* refactor: adjust code box styles
* refactor: add missing PermissionButton variant prop
* refactor: add missing button icon label
* refactor: move common feature components
* refactor: fix StrategyConstraints error prop types
* refactor: fix GeneralStrategy prop types
* feat: add new feature strategy create/edit pages
* refactor: remove feature strategies page
* refactor: fix types in GeneralStrategy
* refactor: use ConstraintAccordion on the new pages
* refactor: use ConditionallyRender for remove button
* refactor: rename FeatureStrategyForm component
* refactor: use the Edit icon for feature strategies
* refactor: fix initial edit mode for new constraints
* refactor: add FeatureStrategyMenu to closed accordions
* refactor: allow editing multiple constraints
* refactor: show single-valued constraint value
* refactor: increase feature overview strategy width
* refactor: add remove button to feature overview strategies
* refactor: move createEmptyConstraint to own file
* refactor: disable submit button for invalid constraints
* refactor: fix nested paragraphs on the metrics page
* refactor: move create/edit feature strategy to modal
* refactor: always open new constraints in edit mode
* refactor: use a PermissionButton for the save button
* refactor: remvoe unsaved constraints on cancel
* refactor: clarify useConstraintsValidation logic
* refactor: remove unused strategy descriptions
* refactor: restore Rollout icon
* refactor: remove sidebar modal slide animation
* refactor: avoid constraint accordion toggle on edit/delete
* refactor: truncate long strategy names
* refactor: find the correct remove button
2022-03-09 14:59:24 +01:00
Fredrik Strand Oseberg
18287cdbd0
Fix/cleanup unused code ( #651 )
...
* fix: remove unused context code
* fix: refactor users
* fix: rename delete user
* fix: rename frontend
* fix: update feature view path
* fix: cleanup create feature
* fix: cleanup feature views
* fix: cleanup feature strategies
* fix: update paths
* fix: remove unused strategy components
* fix strategies link
* fix: update snapshots
* fix: import paths
* fix: add name to useEffect dependency
2022-02-04 10:36:08 +01:00