clients/apps/desktop/src
Addison Beck 3b97093338
fix(desktop): persist zoom state across vault locks (#17217)
* fix(desktop): persist zoom state across vault locks

Replace role-based zoom menu items with custom click handlers to fix
zoom persistence issue where keyboard shortcuts (Ctrl+/-/0, Cmd+/-/0)
weren't saving zoom changes after vault lock.

Changes:
- Add custom click handlers for zoomIn/zoomOut/resetZoom menu items
- Add WindowMain.saveZoomFactor() method for immediate persistence
- Pass WindowMain dependency to ViewMenu constructor
- Update zoom-changed event comment to clarify coverage
- Maintain existing mouse wheel zoom persistence via zoom-changed event

Fixes: PM-791
Fixes: https://github.com/bitwarden/clients/issues/4675

* chore: update to macos-15 runners

* review: downgrade macos build runner to 14

* review: align step with min zoom level

* cleanup from merge
2025-11-14 11:54:08 -05:00
..
app [CL-672] update mobile design of dialog (#14828) 2025-11-13 21:59:03 -05:00
auth [PM-26984] Use medium instead of semibold or bold (#17188) 2025-11-04 15:27:13 -05:00
autofill Fix Desktop app tokio thread panic autofill service on unsupported platforms (#17218) 2025-11-07 09:27:17 -07:00
billing/app/accounts Billing - Prefer signal & change detection (#16944) 2025-10-23 15:02:01 -05:00
images Update font to inter feature branch (#16782) 2025-11-03 15:17:07 -05:00
key-management [PM-26056] Consolidated session timeout component (#16988) 2025-11-11 08:15:36 -06:00
locales Autosync the updated translations (#17377) 2025-11-14 12:44:13 +01:00
main fix(desktop): persist zoom state across vault locks (#17217) 2025-11-14 11:54:08 -05:00
models/native-messaging [PM-17666] Move Encstring to KM ownership (#15457) 2025-07-16 11:15:24 -04:00
platform [PM-26984] Use medium instead of semibold or bold (#17192) 2025-11-04 16:18:53 +01:00
scss [PM-26984] Use medium instead of semibold or bold, and for headings (#17184) 2025-11-10 17:11:35 -05:00
services [PM-23713] premium badge interaction (#16911) 2025-11-03 10:16:01 -06:00
types [PM-26340] Enable linux biometrics v2 (#16661) 2025-10-31 22:47:17 +01:00
vault/app/vault cipher.id now defaults to an empty string rather than null/undefined - use bang to transform into a boolean (#17137) 2025-10-30 15:44:49 -05:00
entry.ts [PM-13361] Fix DDG backwards compat (#11804) 2024-10-31 18:03:24 +01:00
global.d.ts chore(dev): Switch to using build constant for isDev check 2025-09-05 19:12:21 -04:00
index.html [PM-11766] Introduce SDK client (#10974) 2024-10-07 13:20:50 +02:00
main.ts [PM-3162] Use system notification for update alert (#15606) 2025-10-19 20:41:44 -04:00
package-lock.json Bumped Desktop client to 2025.11.1 2025-11-13 21:48:27 +00:00
package.json Bumped Desktop client to 2025.11.1 2025-11-13 21:48:27 +00:00
preload.ts [PM-24748][PM-24072] Chromium importer (#16100) 2025-09-04 11:21:57 +02:00
utils.spec.ts [SM-329] Merge libs/electron into desktop (#3989) 2022-12-02 12:45:09 +01:00
utils.ts [PM-27847] Enable biometric IPC on mac dmg (#16247) 2025-11-12 15:00:46 +00:00