fix: side peek des bases repasse en vanilla JS + largeur 1100px standard (v7.49.0)
- Panneau peek: les bindings Alpine (x-data absent du conteneur) rendaient loovverture et le redimensionnement inoperants -> cblage direct sur le document. - Helper unique window.fdWirePeekResize (app.js): pointer capture, 300px-90vw, clic=fermer, largeur persiste fd_peek_width partagee entre les 4 peeks. - database-table-container margin:0 (tableau colle a gauche, marge Library). - .lib-container remonte dans app.css (trash etait pleine largeur), .db-index 1100px. - ObsiGate verifie sans code: creation .xlsx OK (openpyxl, #186).
This commit is contained in:
@@ -1123,11 +1123,15 @@ def test_dashboard_collection_table_data_and_row_create(client):
|
||||
|
||||
|
||||
def test_dashboard_workspace_select_and_breadcrumb(client):
|
||||
# select : cookie positionné + shape
|
||||
r = client.post("/api/workspaces/1/select")
|
||||
# v7.46.0 : le select exige la session ET un workspace existant
|
||||
# (avant : 200 + cookie sur un id inexistant, et 200 en anonyme).
|
||||
ws_id = client.post("/api/workspaces", json={"name": "Smoke WS"}).json()["id"]
|
||||
r = client.post(f"/api/workspaces/{ws_id}/select")
|
||||
assert r.status_code == 200
|
||||
assert r.json() == {"status": "ok", "workspace_id": 1}
|
||||
assert r.json() == {"status": "ok", "workspace_id": ws_id}
|
||||
assert "flowdeck_workspace" in r.headers.get("set-cookie", "")
|
||||
# un workspace inexistant est refusé (404), pas de cookie fantôme
|
||||
assert client.post("/api/workspaces/999999/select").status_code == 404
|
||||
# breadcrumb d'un dossier inexistant → liste (shape)
|
||||
b = client.get("/api/local-workspace/breadcrumb", params={"folder": 999999})
|
||||
assert b.status_code == 200
|
||||
|
||||
Reference in New Issue
Block a user