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

chore(web-console): Improvements for Tables section #340

Merged
merged 32 commits into from
Oct 23, 2024

Conversation

insmac
Copy link
Contributor

@insmac insmac commented Oct 10, 2024

This PR changes Tables listing UI in a few ways:

  • Ditch the Settings icon (and button) with menu, introduce two new actions instead:
    a) Select button to go into table selection mode
    b) Toggle between auto refresh (detault) and manual table refresh mode. This is useful for debugging or local development - when auto refresh is disabled, only a browser tab refresh will update table listing and autocomplete provider.
  • Introduce table selection mode. When Select button in the top right is clicked, each table can be selected separately to perform actions on them. For now the only available one is "copy schema to clipboard". There is also "select all" button in the bottom left.
  • Move all table-related errors (show column from table, copy schema to clipboard) to the Notification log. This is especially critical if table auto refresh is disabled, as some tables might not exist already.
  • Handle errors in Copy schema to clipboard without breaking the application.

Screen recording:

Screen.Recording.2024-10-21.at.13.52.44.mov

@insmac insmac marked this pull request as ready for review October 21, 2024 12:43
@bluestreak01 bluestreak01 merged commit 62d218b into main Oct 23, 2024
3 checks passed
@bluestreak01 bluestreak01 deleted the web-console/table-queries-error-support branch October 23, 2024 12:14
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.

2 participants