Skip to content

feat: improve import from WordPress and database UX with stepped flow#1284

Open
HardeepAsrani wants to merge 2 commits intodevelopmentfrom
feat/issue-518
Open

feat: improve import from WordPress and database UX with stepped flow#1284
HardeepAsrani wants to merge 2 commits intodevelopmentfrom
feat/issue-518

Conversation

@HardeepAsrani
Copy link
Member

Summary

  • Rename "Create Filter"/"Create Query" buttons to "1. Choose Data Source"
  • Add "2. Set Sync Schedule" accordion toggle (always visible, animated chevron)
  • Move schedule selector under step-2 toggle for cleaner stepped UX

@rodica-andronache I had implemented your suggestion but the UX was not looking the best with buttons so I've made some changes. Let me know what you feel or should I revert to the ones suggested in the issue.

Pro PR: https://github.com/Codeinwp/visualizer-pro/pull/572

Will affect visual aspect of the product

YES/NO

Screenshots

Test instructions

  • Make sure the options work as before with the new UI.

Check before Pull Request is ready:

Closes https://github.com/Codeinwp/visualizer-pro/issues/518.

- Rename "Create Filter"/"Create Query" buttons to "1. Choose Data Source"
- Add "2. Set Sync Schedule" accordion toggle (always visible, animated chevron)
- Move schedule selector under step-2 toggle for cleaner stepped UX
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Mar 17, 2026
@pirate-bot
Copy link
Contributor

pirate-bot commented Mar 17, 2026

Plugin build for e41d7d6 is ready 🛎️!

do_action( 'visualizer_chart_schedules_spl', 'db', $chart_id, 1 );
$is_db_source = 'visualizer_source_query' === $source_of_chart;
$hours = get_post_meta( $chart_id, Visualizer_Plugin::CF_DB_SCHEDULE, true );
$bttn_label = $is_db_source ? __( '1. Modify Data Source', 'visualizer' ) : __( '1. Choose Data Source', 'visualizer' );
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think it can work to put 1. and 2. as a prefix for those strings? This is to prevent changing the string in case of a re-order.

@rodica-andronache
Copy link
Contributor

@HardeepAsrani can we also maybe close the "Set Sync Schedule" dropdown when the user clicks on the "Save schedule" button, as right now, the button acts like nothing is saving when clicking on it?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants