Skip to content

Feature/dataset creation navigation options#29

Open
Praise-creator wants to merge 4 commits intomasterfrom
feature/dataset-creation-navigation-options
Open

Feature/dataset creation navigation options#29
Praise-creator wants to merge 4 commits intomasterfrom
feature/dataset-creation-navigation-options

Conversation

@Praise-creator
Copy link
Owner

SUMMARY

Motivation
Users are forced to navigate to chart creation after creating a dataset, even when they just want to organize datasets or create them for later use. This adds unnecessary friction.

Changes
Converted single "Create" button to a split button with dropdown menu

Primary button: "Create dataset and create chart" → navigates to chart creation (preserves existing behavior)

Dropdown option: "Create dataset" → navigates back to dataset list

Updated onsave function to accept navigatetochart parameter for routing logic

Updated test selectors to match new button labels

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Kapture 2025-11-17 at 01 32 15

After
Kapture 2025-11-17 at 03 55 06

TESTING INSTRUCTIONS

Manual Testing:

  1. Navigate to the Add Dataset page
  2. Select a database and table
  3. Verify the create button shows as a dropdown with an arrow indicator
  4. Click the main button area and confirm navigation to chart creation page
  5. Repeat steps 2-3, then click the dropdown arrow
  6. Select "Create dataset only" from the dropdown menu
  7. Verify you are redirected to /tablemodelview/list/ (the dataset list page)
  8. Confirm the dataset was created successfully in the dataset list

ADDITIONAL INFORMATION

… place below "Sort Query By" in aggregation mode
- Add 'Enable Zoom' checkbox control in Chart Options
- Implement ECharts dataZoom with slider and inside types
- Support mouse wheel zoom and click-drag pan interactions
- Adjust grid bottom padding when zoom is enabled
- Default zoom to disabled for backward compatibility
…avigation

- Convert create button to ButtonGroup with dropdown menu
- Add 'Create dataset' option that navigates to dataset list
- Maintain 'Create dataset and create chart' as default behavior
- Update tests to reflect new button text and structure
- Follows existing Superset patterns using ButtonGroup and Dropdown components"
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.

Issue #20 - [FEATURE] Add option to create dataset without automatically creating a chart

1 participant