Neither bucket mode radio matches the none mode a view has before it
becomes a kanban view, so both stayed unselected. A single watcher
normalizes the mode for kanban views, on load as well as when the kind
changes.
Multiline quick add previously created each line with its own request
plus client-side index guessing — parallel creates raced and persisted
scrambled task order. All input now goes through the atomic bulk
endpoint (single lines too, per review), so the server assigns indexes
and positions in input order. This drops the defaultPosition prop and
ProjectList's firstNewPosition.
Created tasks are emitted once as a batch: per-task emits made
non-position-sorted lists reload per task and forced consumers'
insert order into AddTask. Relations run serialized through runWrites,
and a relation failure toasts instead of restoring input for tasks that
already exist. Creation failure restores the original input string.
E2E waits pinned to the old v1 create request follow the flow to the
bulk endpoint.
Fixes#3288
createNewTasksBulk builds full task payloads from quick add magic
titles (extracted from createNewTask so both paths share it) and hands
them to the service in one call. Label application failures toast and
continue — the tasks already exist server-side, failing the whole
action would invite duplicate resubmits.
runWrites moves to helpers/ so components can use the write-serializing
util without importing the store module.
bulkCreate posts to /api/v2/projects/{id}/tasks/bulk: tasks grouped per
project, chunked at the endpoint's 100-task limit, requests strictly
sequential (server assigns indexes at insert time and concurrent bulk
writes fail under write contention), batches of one project posted last
chunk first because the server places each batch on top of every view.
Returns slots aligned 1:1 with the input plus the first error, so
partial progress survives a failed batch.
The payload is an explicit allowlist — the v2 schema rejects unknown
properties, so sending the full processModel output 422s. Response
shape is guarded and the error is translated via the message module
(direct i18n.global.t in the service trips vue-i18n's type
instantiation limit).
The desktop branch of doRefresh() returned before the Web Locks section,
so the main window and the quick entry window could both POST the same
single-use OAuth refresh token on startup. The server rotates it on first
use, so the losing window got a 401 and logged the user out.
Move the desktop branch inside the lock and adopt the JWT another window
already fetched when the stored refresh token changed while queued.
Fixes https://github.com/go-vikunja/vikunja/issues/3275
ProjectInfo re-permits the target attribute via ADD_ATTR, so a link in a
project description could open a page that keeps a live window.opener
handle to the Vikunja tab and navigate it elsewhere.
Force rel via an afterSanitizeAttributes hook rather than allowing it
through ADD_ATTR, so a description supplying its own rel cannot drop
noopener.