maggch 3f4bdf2a25 fix: use local variable for position to avoid cross-view contamination
When creating a task, calculateNewPositionForTask is called in a loop
for each view. Previously it wrote the calculated position back to the
shared *Task struct (t.Position), causing subsequent views to skip
their own position calculation and reuse the first view's value.
This resulted in new tasks appearing in the middle of other views
instead of at the top.

Use a local variable instead of mutating t.Position so each view
calculates its position independently.

Ref: https://github.com/go-vikunja/vikunja/issues/2329

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-02 10:52:36 +08:00
2025-06-26 12:32:04 +02:00
2025-05-23 11:56:50 +02:00
2025-06-17 09:11:32 +00:00
2025-12-20 19:13:51 +01:00
2026-02-25 12:15:28 +01:00
2026-02-25 12:15:28 +01:00
2026-02-25 13:49:21 +01:00

Build Status License: AGPL-3.0-or-later Install Docker Pulls Swagger Docs Go Report Card

Vikunja

The Todo-app to organize your life.

If Vikunja is useful to you, please consider buying me a coffee, sponsoring me on GitHub or buying a sticker pack. I'm also offering a hosted version of Vikunja if you want a hassle-free solution for yourself or your team.

Table of contents

Security Reports

If you find any security-related issues you don't want to disclose publicly, please use the contact information on our website.

Features

See the features page on our website for a more exhaustive list or try it on try.vikunja.io!

Docs

All docs can be found on the Vikunja home page.

Roadmap

See the roadmap (hosted on Vikunja!) for more!

Contributing

Please check out the contribution guidelines on the website.

License

Most of this repository is licensed under AGPL3.0orlater. The contents of desktop/ are licensed under GPL3.0orlater.

Unsplash Images

Background images from Unsplash are distributed under the Unsplash License. The license requires giving credit to the photographer and Unsplash. See Unsplashs terms for more information.

Description
No description provided
Readme AGPL-3.0 1.2 GiB
Latest
2026-04-09 13:43:41 -05:00
Languages
Go 64.8%
TypeScript 16.8%
Vue 16.5%
SCSS 0.7%
JavaScript 0.6%
Other 0.5%