fix: peek de Library nu comme local-workspace - iframe pleine (v7.50.2)
.peek-body gardait padding:16px 20px + overflow-y:auto (heritage de l'ancien peek a rendu HTML) : l'iframe etait amochee (519x816 mesures contre 559x848 en local-workspace) avec bande grise autour du document + double scrollbar. Corps nu (padding:0, overflow:hidden) : l'editeur remplit le panneau, exactement comme le peek de /local-workspace. Mesure Playwright (cookie de session forge, les 14 boutons Open de Library) : embed OK partout, bases hydratees, aucun jeton « Loading database... ». Test: test_library_peek_body_has_no_inset_padding. Suite 1266/0 (-n auto) + ruff 0. Bump VERSION/main.py 7.50.2, CHANGELOG, WORKLOAD, OpenAPI.
This commit is contained in:
@@ -1,5 +1,22 @@
|
||||
# Changelog - FlowDeck
|
||||
|
||||
## v7.50.2 (2026-10-06) — Peek de Library : nu comme local-workspace (plus de bande ni double scrollbar)
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Le document ouvert par le bouton « Open » de Library n'occupait pas le
|
||||
panneau** — `.peek-body` gardait un `padding:16px 20px` + `overflow-y:auto`
|
||||
(héritage de l'ancien peek à rendu HTML) : l'iframe était amochée
|
||||
(519×816 mesurés contre 559×848 en local-workspace) avec une bande grise
|
||||
autour du document et une double scrollbar. Corps nu (`padding:0`,
|
||||
`overflow:hidden`) : l'éditeur remplit le panneau, exactement comme le peek
|
||||
« parfait » de /local-workspace (mesuré Playwright, cookie de session forgé).
|
||||
|
||||
### Tests
|
||||
|
||||
- `test_library_peek_body_has_no_inset_padding`. Suite 1266 passed / 0 failed
|
||||
(-n auto) + ruff 0.
|
||||
|
||||
## v7.50.1 (2026-10-06) — Peek des bases : le contenu se rend enfin + tableau pleine largeur
|
||||
|
||||
### Fixed
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# WORKLOAD — FlowDeck Notion Clone
|
||||
|
||||
> **Début**: 2026-07-08 | **Version**: v7.50.1 (peek des bases : hydratation FlowDeckDB + Open de ligne, tableau pleine largeur) | **Statut**: EN COURS 🔄
|
||||
> **Début**: 2026-07-08 | **Version**: v7.50.2 (peek de Library nu — iframe pleine, comme local-workspace) | **Statut**: EN COURS 🔄
|
||||
> **Cible**: parité Notion + intégration forge · **Follow-ups v7.3 livrés**: sidebar teamspaces, notif `page.updated`, charts `number` + dashboards multi-DB, unfurl forge, UI Settings → Audit — voir `ROADMAP.md § v7.3.0`
|
||||
|
||||
## Avancement Global
|
||||
|
||||
+1
-1
@@ -185,7 +185,7 @@ async def lifespan(_app: FastAPI):
|
||||
|
||||
app = FastAPI(
|
||||
title="FlowDeck",
|
||||
version="7.50.1",
|
||||
version="7.50.2",
|
||||
docs_url="/docs",
|
||||
redoc_url="/redoc",
|
||||
lifespan=lifespan,
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
.peek-header button{background:transparent;border:none;color:var(--text-secondary);cursor:pointer;padding:6px;border-radius:4px;font-size:13px;display:flex;align-items:center;}
|
||||
.peek-header button:hover{background:var(--bg-hover);color:var(--text-primary);}
|
||||
.peek-header button svg{width:15px;height:15px;}
|
||||
.peek-body{flex:1;overflow-y:auto;padding:16px 20px;}
|
||||
.peek-body{flex:1;overflow:hidden;padding:0;}
|
||||
.peek-body .peek-empty{text-align:center;padding:60px 20px;color:var(--text-dim);}
|
||||
.peek-loading{text-align:center;padding:40px;color:var(--text-dim);}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"openapi": "3.1.0",
|
||||
"info": {
|
||||
"title": "FlowDeck",
|
||||
"version": "7.50.1"
|
||||
"version": "7.50.2"
|
||||
},
|
||||
"paths": {
|
||||
"/auth/register": {
|
||||
|
||||
@@ -1396,6 +1396,18 @@ def test_library_peek_loads_the_embed_editor_only():
|
||||
assert "frame.src = '/pages/' + item.id + '?embed=1'" in body
|
||||
|
||||
|
||||
def test_library_peek_body_has_no_inset_padding():
|
||||
"""Le corps du peek de Library est nu (padding 0, overflow hidden) :
|
||||
l'iframe doit remplir le panneau comme dans local-workspace, sans double
|
||||
scrollbar ni bande grise autour du document."""
|
||||
from pathlib import Path
|
||||
|
||||
html = Path("app/templates/library.html").read_text(encoding="utf-8")
|
||||
rule = html.split(".peek-body{")[1].split("}")[0]
|
||||
assert "padding:0" in rule
|
||||
assert "overflow-y:auto" not in rule
|
||||
|
||||
|
||||
def test_every_side_peek_loads_the_embed_editor_only():
|
||||
"""Library, My Tasks, bases et workspace local : le peek ne montre QUE le
|
||||
document éditable (`?embed=1`), jamais l'habillage pleine page."""
|
||||
|
||||
Reference in New Issue
Block a user