-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enterprise Search] Support active nav links that have both subnav & non-subnav child routes #103036
[Enterprise Search] Support active nav links that have both subnav & non-subnav child routes #103036
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ export const CREDENTIALS_PATH = '/credentials'; | |
export const ROLE_MAPPINGS_PATH = '/role_mappings'; | ||
|
||
export const ENGINES_PATH = '/engines'; | ||
export const ENGINE_CREATION_PATH = '/engine_creation'; | ||
export const ENGINE_CREATION_PATH = `${ENGINES_PATH}/new`; // This is safe from conflicting with an :engineName path because new is a reserved name | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [AS] |
||
export const ENGINE_PATH = `${ENGINES_PATH}/:engineName`; | ||
|
||
export const ENGINE_ANALYTICS_PATH = `${ENGINE_PATH}/analytics`; | ||
|
@@ -39,7 +39,7 @@ export const ENGINE_REINDEX_JOB_PATH = `${ENGINE_SCHEMA_PATH}/reindex_job/:reind | |
export const ENGINE_CRAWLER_PATH = `${ENGINE_PATH}/crawler`; | ||
export const ENGINE_CRAWLER_DOMAIN_PATH = `${ENGINE_CRAWLER_PATH}/domains/:domainId`; | ||
|
||
export const META_ENGINE_CREATION_PATH = '/meta_engine_creation'; | ||
export const META_ENGINE_CREATION_PATH = `${ENGINES_PATH}/new_meta_engine`; // This is safe from conflicting with an :engineName path because engine names cannot have underscores | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [AS] This is not the same route as the old standalone UI - I think it was I'm not 100% sold on |
||
export const META_ENGINE_SOURCE_ENGINES_PATH = `${ENGINE_PATH}/engines`; | ||
|
||
export const ENGINE_RELEVANCE_TUNING_PATH = `${ENGINE_PATH}/relevance_tuning`; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking about DRYing out an importable mock for
shared/layout/generateNavLink
at some point since a few different nav files use it, but might save that for the final page template PR