1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00
unleash.unleash/frontend/src/component/menu/__tests__/__snapshots__/routes.test.tsx.snap
andreas-unleash ecd2693cfe
fix: insights navigation (#6473)
What it says on the tin

Also adds the beta badge

Closes #
[1-2152](https://linear.app/unleash/issue/1-2152/adjust-insights-placement-in-navigation)

<img width="902" alt="Screenshot 2024-03-08 at 16 14 59"
src="https://github.com/Unleash/unleash/assets/104830839/3e67cba3-fb0f-438c-9e53-e51d923a373e">

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-11 09:31:03 +01:00

439 lines
8.7 KiB
Plaintext

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`returns all baseRoutes 1`] = `
[
{
"component": [Function],
"isStandalone": true,
"menu": {},
"path": "/splash/:splashId",
"title": "Unleash",
"type": "protected",
},
{
"component": [Function],
"enterprise": false,
"flag": "executiveDashboard",
"menu": {
"mobile": true,
},
"path": "/insights",
"title": "Insights",
"type": "protected",
},
{
"component": {
"$$typeof": Symbol(react.lazy),
"_init": [Function],
"_payload": {
"_result": [Function],
"_status": -1,
},
},
"enterprise": true,
"menu": {},
"parent": "/projects",
"path": "/projects/create",
"title": "Create",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/archive",
"path": "/projects/:projectId/archived",
"title": ":projectId",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/projects/:projectId/features/:featureId/",
"path": "/projects/:projectId/features/:featureId/copy",
"title": "Copy",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/projects",
"path": "/projects/:projectId/features/:featureId/edit",
"title": "Edit feature",
"type": "protected",
},
{
"component": {
"$$typeof": Symbol(react.lazy),
"_init": [Function],
"_payload": {
"_result": [Function],
"_status": -1,
},
},
"menu": {},
"parent": "/projects",
"path": "/projects/:projectId/features/:featureId/*",
"title": "FeatureView",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/projects/:projectId/features",
"path": "/projects/:projectId/create-toggle",
"title": "Create feature toggle",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/features",
"path": "/projects/:projectId/features2/:featureId",
"title": ":featureId",
"type": "protected",
},
{
"component": {
"$$typeof": Symbol(react.lazy),
"_init": [Function],
"_payload": {
"_result": [Function],
"_status": -1,
},
},
"flag": "P",
"menu": {},
"parent": "/projects",
"path": "/projects/:projectId/*",
"title": ":projectId",
"type": "protected",
},
{
"component": [Function],
"menu": {
"mobile": true,
},
"path": "/projects",
"title": "Projects",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/features",
"path": "/features/:activeTab/:featureId",
"title": ":featureId",
"type": "protected",
},
{
"component": [Function],
"menu": {
"mobile": true,
},
"path": "/search",
"title": "Search",
"type": "protected",
},
{
"component": {
"$$typeof": Symbol(react.lazy),
"_init": [Function],
"_payload": {
"_result": [Function],
"_status": -1,
},
},
"hidden": false,
"menu": {
"mobile": true,
},
"path": "/playground",
"title": "Playground",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/applications",
"path": "/applications/:name/*",
"title": ":name",
"type": "protected",
},
{
"component": [Function],
"menu": {
"advanced": true,
"mobile": true,
},
"path": "/applications",
"title": "Applications",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/context",
"path": "/context/create",
"title": "Create",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/context",
"path": "/context/edit/:name",
"title": ":name",
"type": "protected",
},
{
"component": [Function],
"menu": {
"advanced": true,
"mobile": true,
},
"path": "/context",
"title": "Context fields",
"type": "protected",
},
{
"component": [Function],
"menu": {
"advanced": true,
"mobile": true,
},
"path": "/feature-toggle-type/*",
"title": "Feature toggle types",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/strategies",
"path": "/strategies/create",
"title": "Create",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/strategies",
"path": "/strategies/:name/edit",
"title": ":name",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/strategies",
"path": "/strategies/:name",
"title": ":name",
"type": "protected",
},
{
"component": [Function],
"menu": {
"advanced": true,
"mobile": true,
},
"path": "/strategies",
"title": "Strategy types",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/environments",
"path": "/environments/create",
"title": "Environments",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"path": "/environments/:id",
"title": "Edit",
"type": "protected",
},
{
"component": [Function],
"flag": "EEA",
"menu": {
"advanced": true,
"mobile": true,
},
"path": "/environments",
"title": "Environments",
"type": "protected",
},
{
"component": [Function],
"flag": "featureSearchFeedbackPosting",
"menu": {},
"path": "/feedback",
"title": "Feedback",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/tag-types",
"path": "/tag-types/create",
"title": "Create",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/tag-types",
"path": "/tag-types/edit/:name",
"title": ":name",
"type": "protected",
},
{
"component": [Function],
"menu": {
"advanced": true,
"mobile": true,
},
"path": "/tag-types",
"title": "Tag types",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/addons",
"path": "/addons/create/:providerId",
"title": "Create",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/addons",
"path": "/addons/edit/:addonId",
"title": "Edit",
"type": "protected",
},
{
"component": [Function],
"hidden": false,
"menu": {},
"path": "/addons",
"title": "Addons",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/integrations",
"path": "/integrations/create/:providerId",
"title": "Create",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/integrations",
"path": "/integrations/view/:providerId",
"title": "View",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"parent": "/integrations",
"path": "/integrations/edit/:addonId",
"title": "Edit",
"type": "protected",
},
{
"component": [Function],
"hidden": false,
"menu": {
"advanced": true,
"mobile": true,
},
"path": "/integrations",
"title": "Integrations",
"type": "protected",
},
{
"component": [Function],
"hidden": false,
"layout": "main",
"menu": {},
"path": "/segments/create",
"title": "Segments",
"type": "protected",
},
{
"component": [Function],
"hidden": false,
"layout": "main",
"menu": {},
"path": "/segments/edit/:segmentId",
"title": "Segments",
"type": "protected",
},
{
"component": [Function],
"hidden": false,
"menu": {
"advanced": true,
"mobile": true,
},
"path": "/segments",
"title": "Segments",
"type": "protected",
},
{
"component": [Function],
"menu": {
"adminSettings": true,
},
"path": "/history",
"title": "Event log",
"type": "protected",
},
{
"component": [Function],
"menu": {
"adminSettings": true,
},
"path": "/admin/logins",
"title": "Login history",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"path": "/archive",
"title": "Archived toggles",
"type": "protected",
},
{
"component": {
"$$typeof": Symbol(react.lazy),
"_init": [Function],
"_payload": {
"_result": [Function],
"_status": -1,
},
},
"hidden": false,
"menu": {},
"path": "/admin/*",
"title": "Admin",
"type": "protected",
},
{
"component": [Function],
"menu": {},
"path": "/profile/*",
"title": "Profile",
"type": "protected",
},
]
`;