diff --git a/BUILD_NOTES.md b/BUILD_NOTES.md index 8aad9dd..8b51db2 100644 --- a/BUILD_NOTES.md +++ b/BUILD_NOTES.md @@ -1,5 +1,9 @@ # formDAM build notes +## v1.33.0 (2026-11-30) · long right-click menus stay in the window and show a more-below hint + +A right-click menu, or any menu opened at a point or under a toolbar button, is at most three quarters of the window tall, never starts above the window top, and scrolls the rest; a fade and a small pill at its bottom show while rows remain below. Before, a menu taller than the window started above it and its first rows could not be reached. It still opens at the pointer. This release also carries everything merged since 1.32.4: audio, Form projects, documents, 3D models and design resources in the library, clean PDF copies, referenced originals moving into the vault, plain-copy cleanup and the third-party notices. Detail in `frontend/HASHOUT_LOG.md`. + ## v1.32.4 (2026-11-27) · the Linux AppImage is built 1.32.3 still shipped the deb alone. Its AppImage step looked for the engine's missing libraries before the step ran, found none, and so changed nothing; the library only goes missing once the AppImage tool has moved a file that needs it. `setup/build_linux_app` now shows the tool every library folder of the engine. A full Linux build of this script made the AppImage, and the engine inside it passes its self-check. Nothing in the app, the engine or the macOS and Windows builds changed from 1.32.0. Detail in `src-tauri/HASHOUT_LOG.md`. diff --git a/README.md b/README.md index 5969213..b2cb0e2 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@
-
+
diff --git a/frontend/HASHOUT_LOG.md b/frontend/HASHOUT_LOG.md
index d0be390..b9c6178 100644
--- a/frontend/HASHOUT_LOG.md
+++ b/frontend/HASHOUT_LOG.md
@@ -1,5 +1,27 @@
# frontend HASHOUT_LOG · formDAM
current: v1.27.7 · 2026-10-25
+### ui/contextmenu.ts · menus opened at a point keep to the window, take a cap and show the more-below hint
+- refers-to: contextmenu.ts MENU_SHARE, MENU_PAD, menuCap, MORE_SVG, openContextMenu (list, more, showMore, placement, resize dismiss); styles/app.css .ctx-menu, @property --menu-more, .ctx-menu-list, .ctx-menu-more, .has-more, .no-fade
+- kind: fix
+- logged: v1.33.0 · 2026-11-30
+
+FORM-MENU-OVERLAP-FIX guide 1.2.0, section 3b (group D: formDAM has no in-window menu bar, so the floor is the window top, 4 px). Every right-click menu, and every menu opened at a point or under a toolbar button (Sort, Quick filters, album and output actions, share), goes through openContextMenu, so the one routine carries the fix. Before, there was no cap: a menu taller than the window was placed at innerHeight - h - 8, which went negative, so its top rows sat above the window and could not be reached. Callers that pass rect.top - 230 or rect.top - 160 could also place a menu above the window. Now the card gets an inline max-height of menuCap(4) = min(75% of innerHeight, innerHeight - 8) while still visibility: hidden, then its left and top are clamped to at least 4 px; the pointer-corner placement (at the point, slid left or up to stay inside) is unchanged. The rows moved into .ctx-menu-list, which scrolls and carries the mask; the card keeps the glass and adds overflow: hidden. The pill (.ctx-menu-more) uses --glass-bg, --glass-border and --text-muted. showMore(true) sets has-more under no-fade before the first paint, so a long menu opens with the hint and never fades it in; the list's scroll runs showMore(). The menu now also closes on window resize, so its cap follows the window. Nothing outside this file reads the menu's children or scrollTop.
+
+Removed lines:
+
+```ts
+ const menu = h("div", { class: "ctx-menu pop-surface" });
+ menu.append(h("div", { class: "ctx-sep" }));
+ menu.append(item);
+ menu.style.left = `${Math.min(x, window.innerWidth - rect.width - 8)}px`;
+ menu.style.top = `${Math.min(y, window.innerHeight - rect.height - 8)}px`;
+```
+
+```css
+ display: flex; flex-direction: column; gap: 1px;
+```
+
+The 1 px row gap moved to .ctx-menu-list. The filter popover in the library top bar (.menu in library.ts, 12 rows, placed by CSS under its button) was left as it is: it is not opened at a point.
### ui/components/plaincopies.ts · Settings > Vault: plain copies of protected items
- refers-to: plaincopies.ts (new) plainCopiesPanel, confirmMove; settings.ts vault pane; styles/app.css .plain-copies, .plain-copy, .plain-copy-path
- kind: feature
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index 8cb3b13..daa0711 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "formdam-frontend",
- "version": "1.32.4",
+ "version": "1.33.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "formdam-frontend",
- "version": "1.32.4",
+ "version": "1.33.0",
"dependencies": {
"lottie-web": "5.12.2"
},
diff --git a/frontend/package.json b/frontend/package.json
index e8c9913..ea2856e 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -1,7 +1,7 @@
{
"name": "formdam-frontend",
"private": true,
- "version": "1.32.4",
+ "version": "1.33.0",
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/frontend/src/styles/app.css b/frontend/src/styles/app.css
index 32a6da8..31696a4 100644
--- a/frontend/src/styles/app.css
+++ b/frontend/src/styles/app.css
@@ -512,8 +512,16 @@ html.route-collections .content > .view { transform: translateZ(0); }
.ctx-menu {
position: fixed; z-index: var(--z-popover); min-width: 200px; padding: 5px;
- display: flex; flex-direction: column; gap: 1px;
-}
+ display: flex; flex-direction: column; overflow: hidden;
+}
+@property --menu-more { syntax: '