mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Action menu descriptions
* Refactor tests to extract get_actions_links() helper * Table, database and query action menu items now support optional descriptions Closes #2294
This commit is contained in:
parent
c6e8a4a76c
commit
090dff542b
7 changed files with 59 additions and 35 deletions
|
|
@ -406,6 +406,7 @@ def query_actions(datasette, database, query_name, sql):
|
|||
}
|
||||
),
|
||||
"label": "Explain this query",
|
||||
"description": "Runs a SQLite explain",
|
||||
},
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue