1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/component
Nuno Góis 8e46bda8e1
chore: fix admin routes should respect plan data (#9828)
https://linear.app/unleash/issue/2-2852/sidebar-bug-with-enterprisepro-only-route-constraints

Fixes an issue where admin routes didn't respect plan data if their flag
was enabled.

First noticed here:
https://github.com/Unleash/unleash/pull/8469#discussion_r1804361222

Issue was that only `adminRoutes` respected plan data. `mainNavRoutes`
and `primaryRoutes` did not follow the same filtering logic.

We can probably clean this up even further in the future, but didn't
want to extend the PR too much.

Also adds tests to validate the intended behavior.
2025-04-24 15:44:06 +01:00
..
admin chore: fix admin routes should respect plan data (#9828) 2025-04-24 15:44:06 +01:00
application
archive
banners feat: only admin can fetch license (#9697) 2025-04-03 16:26:36 +02:00
changeRequest feat: change requests, use new accordion list not legacy (#9825) 2025-04-23 17:37:54 +03:00
commandBar feat: command bar admin menu improvements (#9689) 2025-04-03 10:23:45 +02:00
common Feat: update variants placement (#9832) 2025-04-24 16:01:35 +02:00
context
demo chore: remove demo plans dialog (#9816) 2025-04-23 08:55:49 +01:00
environments
events
feature Feat: update variants placement (#9832) 2025-04-24 16:01:35 +02:00
featureTypes
feedback
feedbackNew
filter feat: adjust filter UI (#9720) 2025-04-08 14:32:30 +02:00
insights feat: adjust filter UI (#9720) 2025-04-08 14:32:30 +02:00
integrations chore: add terraform to integrations (#9827) 2025-04-23 16:11:18 +01:00
layout chore: fix admin routes should respect plan data (#9828) 2025-04-24 15:44:06 +01:00
loginHistory
maintenance
menu chore: remove disable notifications UI (#9814) 2025-04-22 15:03:15 +02:00
onboarding
personalDashboard Fix(1-3564)/hide project owner if system (#9686) 2025-04-03 10:43:58 +02:00
playground/Playground Feat: update variants placement (#9832) 2025-04-24 16:01:35 +02:00
project Feat: update variants placement (#9832) 2025-04-24 16:01:35 +02:00
providers fix: remove custom refresh interval for UnleashClient 2025-04-10 09:56:40 +02:00
releases Feat: update variants placement (#9832) 2025-04-24 16:01:35 +02:00
segments feat: move away from old accordion list, create/edit segment (#9820) 2025-04-23 15:02:13 +03:00
signals
splash
strategies
tags
user feat: redirect logic refactor (#9734) 2025-04-17 12:07:08 +02:00
App.tsx feat: redirect logic refactor (#9734) 2025-04-17 12:07:08 +02:00
InitialRedirect.tsx feat: futureproofing last viewed page redirect (#9794) 2025-04-17 17:40:04 +02:00