Commit Graph

25 Commits

Author SHA1 Message Date
Claude 01fff665c6 fix(frontend): focus quick actions input after modal opens
The Modal mounts the <dialog> via v-if and calls showModal() in a
follow-up flush, so v-focus runs while the dialog is still closed and
its focus() call is dropped. The existing rAF retry was gated on
quick-add mode, leaving Ctrl+K in the regular app with no focused
input. Run the retry whenever the quick actions become active and keep
the command pre-selection scoped to quick-add mode.
2026-04-30 14:06:07 +00:00
kolaente 11ffb530be feat(a11y): add accessible names to icon-only buttons
Adds aria-label to sidebar toggle, mobile overlay, banner close,
modal close, quick actions close, task detail close, and dropdown
trigger buttons. Adds triggerLabel prop to Dropdown component.

Fixes WCAG 4.1.2 (Name, Role, Value).
2026-04-21 11:44:36 +00:00
kolaente cef03cb2a0 refactor: replace Modal div-based implementation with native dialog element
Replace the custom div-based Modal with the native HTML <dialog> element
using showModal()/close() API. Uses CSS opacity transitions with a
data-closing attribute for Firefox-compatible close animations, Teleport
to body, and focus save/restore. Updates E2E test selectors and fixes
QuickAddOverlay selectors for the new dialog structure.
2026-04-01 22:27:13 +00:00
kolaente c8349df8b6 feat(desktop): open task in main window with Ctrl/Cmd+Enter
When creating a task via quick entry, pressing Ctrl+Enter (or
Cmd+Enter on macOS) creates the task and opens it in the main
Vikunja window. Adds show-main-window IPC to bring the main
window to focus.
2026-04-01 21:38:38 +00:00
kolaente 8dc96d61bd feat(frontend): adapt QuickActions for quick-add mode behavior 2026-04-01 21:38:38 +00:00
kolaente ff4e84a800 feat(frontend): add QuickAddOverlay component for quick-entry window 2026-04-01 21:38:38 +00:00
kolaente 44d01a0f82 refactor: rename parseTaskText module to quickAddMagic
Rename the frontend parsing module from `parseTaskText` to `quickAddMagic`
for clarity. The module handles much more than text parsing — it's the
core of the quick add magic feature. This rename makes its purpose
immediately obvious and aligns with how the feature is referenced
throughout the UI and documentation.

No logic changes — only directory/file renames and import updates.
2026-03-25 09:38:41 +00:00
kolaente 63319e19ad fix: style issues 2025-08-06 10:55:23 +02:00
kolaente 0159ddc313 feat: replace top with logical properties 2025-08-03 15:05:48 +02:00
kolaente 16f7fa087a fix: convert all css properties to logical 2025-08-03 15:05:48 +02:00
kolaente 786f3ea321
fix(quick actions): quote label when it contains spaces (#1013)
fix(frontend): quote label search with spaces
2025-06-25 15:46:59 +02:00
Dominik Pschenitschni bb9dc03351
fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
kolaente 3e7c2966ab
fix(quick actions): always allow creating a new project or task, regardless of context
Resolves https://community.vikunja.io/t/ui-hotkeys-shortcuts/1096/29
2025-03-31 18:13:58 +02:00
kolaente 0e75011c11
fix(quick actions): add close button on mobile 2025-03-09 12:16:30 +01:00
kolaente 23303488da
fix(quick actions): do not space between elements on mobile 2025-03-09 12:10:27 +01:00
kolaente dc3930cfa7
fix(quick actions): use default project when creating a new task via quick add magic without specifying a project
Resolves https://community.vikunja.io/t/keyboard-navigation/3098/2
2025-01-21 14:49:34 +01:00
kolaente f6bfe2f13c
fix(quick actions): show saved filters in search results
This fixes a bug where saved filters would not show up in quick actions search results. It was caused by explicitely only searching for projects.
During the debugging of this, I've discovered the search parameter is ignored when searching for filters.

Resolves https://community.vikunja.io/t/virtual-projects-a-k-a-saved-filters-do-not-show-up-in-search-bar-results/3180/4
2025-01-21 11:07:28 +01:00
Dominik Pschenitschni f36115871c feat: camelcase global components 2024-06-19 14:02:14 +00:00
Dominik Pschenitschni a3c3e39e93
feat(components): align component name casing SingleTaskInlineReadonly 2024-06-17 13:50:15 +02:00
Dominik Pschenitschni 0d86fced92
feat(components): align component name casing QuickAddMagic 2024-06-17 13:41:40 +02:00
Dominik Pschenitschni 57f1be3e7e
feat(components): align component name casing Label 2024-06-17 13:41:39 +02:00
Dominik Pschenitschni 21980a4383
feat(components): align component name casing QuickActions 2024-06-17 13:41:37 +02:00
kolaente 1de39b1cd1
fix(quick actions): do not allow creating a task when the current project is a saved filter
Resolves https://community.vikunja.io/t/creating-task-on-saved-filter-page-doesnt-save/2127
2024-03-13 18:16:18 +01:00
kolaente e097721817
fix(tasks): use correct filter query when filtering 2024-03-11 16:39:27 +01:00
kolaente fc4676315d
chore: move frontend files 2024-02-07 14:56:56 +01:00