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

Table actions menu plus plugin hook #1066

Closed
simonw opened this issue Oct 30, 2020 · 3 comments
Closed

Table actions menu plus plugin hook #1066

simonw opened this issue Oct 30, 2020 · 3 comments
Labels
Milestone

Comments

@simonw
Copy link
Owner

simonw commented Oct 30, 2020

For the table actions: attaching it to a cog icon next to the table name could make sense.

data__faa-wildlife-strikes__26_rows_where_where_AIRPORT____OIL_RIG__sorted_by_rowid_and_Fix_table_name_in_spatialite_example_command_by_jsfenfen_·_Pull_Request__1022_·_simonw_datasette

This is the column action icon at twice the size, color #666.
Originally posted by @simonw in #690 (comment)

@simonw simonw added the plugins label Oct 30, 2020
@simonw simonw added this to the 0.51 milestone Oct 30, 2020
@simonw
Copy link
Owner Author

simonw commented Oct 30, 2020

This will use a very similar implementation to the navigation menu in #1064 - similar plugin hook and I'll use a <details><summary> to implement it.

@simonw simonw closed this as completed in 2f7731e Oct 30, 2020
@simonw
Copy link
Owner Author

simonw commented Oct 30, 2020

The cog only appears if at least one table action has been registered by a plugin. It looks like this:

table-actions

@simonw
Copy link
Owner Author

simonw commented Oct 30, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant