mirror of
https://github.com/simonw/datasette.git
synced 2026-10-08 02:17:01 +02:00
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:
parent
cec5e6b2ef
commit
7deb302aea
14 changed files with 1109 additions and 439 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue