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

Right click for context menu in Data Catalog #213

Closed
tconbeer opened this issue Sep 11, 2023 · 1 comment · Fixed by #657
Closed

Right click for context menu in Data Catalog #213

tconbeer opened this issue Sep 11, 2023 · 1 comment · Fixed by #657
Labels
adapter v2 enhancement New feature or request

Comments

@tconbeer
Copy link
Owner

Could include:

(Database and Schema)

  • Insert name in editor
  • Set editor context (USE)
  • Export database
  • Drop database/schema (confirm)

(Tables + Views):

  • Insert name in editor
  • Insert columns in editor
  • View definition (ddl in modal)
  • Show schema (describe)
  • Preview data
  • Drop table (confirm)
@tconbeer tconbeer added the enhancement New feature or request label Sep 11, 2023
@tconbeer
Copy link
Owner Author

tconbeer commented Jan 8, 2024

In a multi-adapter world, these options probably need to be defined by the adapter (probably on the CatalogItem itself). On right-click, Harlequin would get a list of ContextMenuOptions from the CatalogItem and build an OptionList... then on selecting an item from the OptionList Harlequin would invoke a callback defined by the ContextMenuOption, maybe passing the CatalogItem as an argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adapter v2 enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant