Skip to content
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

feat: Add catalog/explorer dropdown to anvil portal header (#2796) #2805

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

frano-m
Copy link
Collaborator

@frano-m frano-m commented Aug 2, 2023

Closes #2796.

@@ -48,7 +48,7 @@ const config: SiteConfig = {
label: "Explorer",
}),
target: ANCHOR_TARGET.BLANK,
url: `${EXPLORER_URL}/datasets`,
url: `${EXPLORER_URL}/explore/datasets`,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed PROD explore URL for next.

import { EnvironmentUrl } from "./environment/environment-url.model";
import { getCurrentEnvironment } from "./environment/environment.service";

const PROD_ENV = ["ANVIL-PROD", "MASTER", "PROD"];
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NoopDog the PROD_ENV array of potential PROD environments is an attempt to catch all possible PROD env that require the explore URL to point to PROD....

@frano-m frano-m merged commit fe840e7 into main Nov 15, 2023
1 check passed
@frano-m frano-m deleted the fran/2796-header branch November 15, 2023 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Catalog/Explorer dropdown to AnVIL Portal Header
2 participants