vikunja/frontend
kolaente c0154aa421 fix(editor): make link prompt a sub-modal — Escape cancels it without closing the task dialog
Review point (#2950, comment 3444116036): when the surrounding task
<dialog> closed while the link prompt was open, the prompt was orphaned
and cleanup() never ran, leaking listeners and an unresolved promise.

Treat the prompt as a sub-modal of the task dialog: pressing Escape while
it is open now preventDefault()/stopPropagation()s the keydown so the
native modal <dialog> does not close on Escape, resolves the prompt with
'' (cancel) and runs cleanup() — only the prompt is dismissed, the task
dialog stays open. A one-shot 'cancel' listener on the enclosing dialog
backs this up in case the keydown handling is insufficient in some browser.

Tighten cleanup() so the prompt fully tears down regardless of how it
closes (Enter / Escape / click-outside): it now removes the scroll
listener, the document click listener and the dialog cancel listener, and
removes the element. handleClickOutside was hoisted so cleanup() can
remove it, closing the leaked-listener gap directly.

Adds an e2e asserting Escape cancels the prompt while the task dialog
stays open; the existing 'Enter creates the link' case still passes.
2026-06-19 21:34:01 +02:00
..
docs fix: markdown spelling 2025-06-10 12:10:42 +02:00
originalMedia chore: add missing eof newlines (#969) 2025-06-17 09:11:32 +00:00
public feat(time-tracking): add favicon indicator for active time tracking sessions (#2937) 2026-06-18 23:52:52 +02:00
scripts feat: add subsets for all supported languages 2025-08-17 23:11:30 +02:00
src fix(editor): make link prompt a sub-modal — Escape cancels it without closing the task dialog 2026-06-19 21:34:01 +02:00
tests fix(editor): make link prompt a sub-modal — Escape cancels it without closing the task dialog 2026-06-19 21:34:01 +02:00
.editorconfig chore(dev): insert final newline 2025-05-23 11:56:50 +02:00
.env.local.example chore: add missing eof newlines (#969) 2025-06-17 09:11:32 +00:00
.gitignore feat: use offical vite plugin for sentry (#873) 2026-03-03 12:30:49 +01:00
.npmrc chore(tests): remove Cypress, use Playwright exclusively (#1976) 2025-12-12 20:07:18 +00:00
.nvmrc chore(deps): update node.js to v24.13.0 2026-01-15 09:43:02 +01:00
.stylelintrc.json feat(frontend): upgrade Tailwind CSS from v3 to v4 2026-03-03 11:46:18 +01:00
CHANGELOG.md chore: add missing eof newlines (#969) 2025-06-17 09:11:32 +00:00
LICENSE fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
README.md docs(frontend): fix env file example name 2025-06-10 12:10:42 +02:00
cliff.toml chore: move frontend files 2024-02-07 14:56:56 +01:00
embed.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
env.config.d.ts feat(ts): improve module declarations (#957) 2025-06-16 22:32:40 +02:00
env.d.ts chore(tests): remove Cypress, use Playwright exclusively (#1976) 2025-12-12 20:07:18 +00:00
eslint.config.js refactor(frontend): replace for...in usages and forbid via lint rule 2026-04-15 11:44:47 +00:00
histoire.config.ts chore: add missing eof newlines (#969) 2025-06-17 09:11:32 +00:00
index.html fix: respect allow_icon_changes config on web and desktop 2026-06-01 09:40:37 +00:00
netlify.toml feat(dev): use proxy server in dev mode (#3069) 2025-03-09 13:40:57 +00:00
package.json chore(deps): update dev-dependencies to v4.62.2 2026-06-19 17:32:00 +00:00
playwright.config.ts feat: make sidebar resizable (#1965) 2025-12-12 10:46:46 +00:00
pnpm-lock.yaml chore(deps): update dev-dependencies to v4.62.2 2026-06-19 17:32:00 +00:00
tsconfig.app.json feat: use offical vite plugin for sentry (#873) 2026-03-03 12:30:49 +01:00
tsconfig.config.json chore(deps): replace dev-dependencies (#1990) 2025-12-16 08:51:06 +00:00
tsconfig.json fix(ts): align with create-vue setup 2024-06-19 14:05:41 +00:00
tsconfig.vitest.json chore: add missing eof newlines (#969) 2025-06-17 09:11:32 +00:00
vite.config.ts fix(frontend/vite): Configure vite dev proxy to handle frontend path 2026-04-20 14:28:23 +00:00

README.md

Web frontend for Vikunja

The todo app to organize your life.

License: AGPL-3.0-or-later Translation

This is the web frontend for Vikunja, written in Vue.js.

Take a look at our roadmap (hosted on Vikunja!) for a list of things we're currently working on!

For general information about the project, refer to the top-level readme of this repo.

Project setup

pnpm install

Development

Define backend server

You can develop the web front end against any accessible backend, including the demo at https://try.vikunja.io

In order to do so, you need to set the DEV_PROXY env variable. The recommended way to do so is to:

  • Copy .env.local.example as .env.local
  • Uncomment the DEV_PROXY line
  • Set the backend url you want to use

In the end, it should look like DEV_PROXY=https://try.vikunja.io if you work against the online demo backend.

Start dev server (compiles and hot-reloads)

pnpm run dev

Compiles and minifies for production

pnpm run build

Lints and fixes files

pnpm run lint

License

This project is licensed under the AGPL-3.0-or-later license. See the LICENSE file for details.