Unify app, database, table, and column menus (#2984)

* Redesign app, action, and column menus
* Remove legacy menus and use shared menus throughout pattern examples
This commit is contained in:
Simon Willison 2026-10-05 11:14:19 -07:00 • committed by GitHub
commit 7deb302aea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 1109 additions and 439 deletions

View file

@ -944,6 +944,7 @@ def test_debug_context_includes_extra_template_vars():
"/fixtures/-/query?sql=select+1",
"/-/api",
"/-/patterns",
"/-/patterns/menus",
],
)
@pytest.mark.parametrize("use_prefix", (True, False))
@ -1232,7 +1233,13 @@ async def test_alternate_url_json(ds_client, path, expected):
@pytest.mark.asyncio
@pytest.mark.parametrize(
"path",
("/-/patterns", "/-/messages", "/-/allow-debug", "/fixtures.db"),
(
"/-/patterns",
"/-/patterns/menus",
"/-/messages",
"/-/allow-debug",
"/fixtures.db",
),
)
async def test_no_alternate_url_json(ds_client, path):
response = await ds_client.get(path)