oficina / mapa Public

feat/sidebar-kebab

Paul asked how to delete a page, then: "Maybe not a right click on sidebar pages, but maybe a hover kebab menu?"

Each page row in Pinned and Recently edited gets a ⋯ beside its link (never inside it), named "More actions for <title>" (Luna). It shows on hover, on focus, and on a touch screen on the page on screen's row only. It is a <details> in estilo's group, so it works with scripts off; chrome.js gives Esc and outside-click; mapa.js moves focus in and adds ↑/↓.

The rows come from pageVerbs, the source the bar's Page menu uses (the bar now uses the same order, Delete… set apart). Delete… goes to the confirm page; Pin/Unpin come back to the screen you were on. No ⋯ in the rail; below 800px the Menu sheet has no page rows, so none there.

Build note 88 in the level-up spec. Fable reviewed: no High or Medium after 56e58c0. Gates in internal/mapatest/sidebarmorebrowser_test.go.

Human

Hover ⋯ on sidebar page rows: Rename…, Pin/Unpin, Make team page…, History, Delete… (confirm page).

Commits 3
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity