The "Jump to" menu, activated by hitting / or through the application menu, can now be extended by plugins.
- New "Jump to..." menu item, always visible, for triggering the previously undocumented
/menu. (#2725) - The
/jump-to search interface now covers databases, views, canned queries and plugin-provided items in addition to tables. The endpoint backing it has been renamed from/-/tablesto/-/jump. - New jump_items_sql(datasette, actor, request) plugin hook, allowing plugins to contribute additional items to the jump-to menu by returning SQL.
JumpSQLqueries run against Datasette's internal database by default, or can target another database using the optionaldatabase=argument. datasette.jump.JumpSQL.menu_item()is a shortcut for adding individual jump menu items that are not backed by resources in the internal catalog.- New makeJumpSections() JavaScript plugin hook, allowing plugins to add custom blank-state sections to the jump-to menu before the user has typed a query.
- Debug menu links now appear in the jump-to menu instead of the top-right app menu, with descriptions for each debug item.
- Dropped Janus as a dependency, previously used to manage the write queue. This should not have any impact on plugin developers or end-users. (#1752)
- Fixed a bug where stale tables and other related resources were not removed from
catalog_*tables when a database was removed. (#2723) - New documented datasette.fixtures.populate_fixture_database(conn) helper for creating the fixture database tables used by Datasette's own tests, intended for plugin test suites.
- Keyboard accessibility and ARIA roles for actions menus, thanks pintaste. (#2727)