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

[FEATURE] Navigate to Import Sample Data Page without Refresh when New Home is Enabled #456

Closed
wanglam opened this issue Oct 21, 2024 · 1 comment
Labels
enhancement New feature or request untriaged

Comments

@wanglam
Copy link
Contributor

wanglam commented Oct 21, 2024

Is your feature request related to a problem?

When the new home page and workspace are enabled, there is no direct navigation to the import sample data page without causing a page refresh.

What solution would you like?

  1. Modify the CreateIndex component to check if the new home page and workspace are enabled.
  2. Add an onClick handler to the "Add Sample Data" link when the new home page and workspace are enabled.
  3. In the onClick handler, call application.navigateToApp with import_sample_data to navigate to the import sample data page.
  4. Ensure that the navigation happens without causing a page refresh.

What alternatives have you considered?

N/A

Do you have any additional context?

N/A

@andrross
Copy link
Member

Resolved by #457

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Search Project Board Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request untriaged
Projects
Archived in project
Development

No branches or pull requests

2 participants