Skip to content

docs: delete a to-do, PostgreSQL since 3.7, Backup & Restore without duplicate guides - #114

Merged
marcelfolaron merged 2 commits into
masterfrom
docs/small-fixes
Nov 23, 2026
Merged

marcelfolaron merged 2 commits into
masterfrom
docs/small-fixes

Conversation

@gloriafolaron

Copy link
Copy Markdown
Contributor

Three small fixes, each checked against Leantime 3.15.3.

How do I delete a to-do? (using-leantime/task-management.md)

  • New section: ⋮ menu (on the card or at the top of the to-do) → Delete To-Do → Yes, delete! It can't be undone, and it needs the Editor role or higher (tickets.delete is granted to editor+).
  • When time is logged on the to-do: Leantime refuses with "Task has timesheets attached, delete all timesheets first or consider archiving the task" (Tickets::canDelete()). The section explains both ways out: delete the time entries, or move the to-do to Archived.
  • Tested on a 3.15.3 test server: the dialog shows "Are you sure you would like to delete this To-Do?", and with a time entry it shows the message above. The test entry was removed afterwards.

PostgreSQL since 3.7, not 3.6

frequently-asked-questions.md and system-requirements.md said 3.6. The PostgreSQL settings first appear in config/sample.env in v3.7.0; v3.6.2 has none.

Backup & Restore without the duplicate guides (installation/backup-restore.md)

  • "Server Migration" duplicated Move Leantime to a new server, and "Pre-Upgrade Checklist" duplicated Upgrade Leantime (before-you-upgrade and rollback). Both are now short sections pointing to those guides (−95 lines).
  • The migration section linked to the installation overview, so the new pointer keeps that link. Otherwise installation-types.md would have no inbound links.

Checks

On the #63 build:

🤖 Generated with Claude Code

https://claude.ai/code/session_01FGYRyhyPHQyrtvsu5aawzi

…7, backup page points to the move and upgrade guides

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FGYRyhyPHQyrtvsu5aawzi

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The documentation contains conflicting PostgreSQL minimum versions, omits essential migration constraints, and does not clarify who can remove other users’ time entries before deleting a to-do.

3 open issues
What changed in this PR

This documentation update explains to-do deletion, corrects PostgreSQL support dates, and directs readers to the dedicated migration and upgrade guides.

Changes:

  • Adds deletion steps, role requirements, and options for to-dos with logged time.
  • Changes PostgreSQL support from Leantime 3.6 to 3.7 in two requirement listings.
  • Replaces duplicate migration and pre-upgrade instructions with links to existing guides.
File Description
using-leantime/​task-management.md Documents to-do deletion and handling attached time entries.
installation/​system-requirements.md Updates the database table to PostgreSQL support since 3.7.
installation/​frequently-asked-questions.md Updates the PostgreSQL support version to 3.7.
installation/​backup-restore.md Replaces duplicated procedures with migration and upgrade guide links.

Review effort: Balanced

Comment thread installation/backup-restore.md Resolved
Comment thread installation/system-requirements.md Resolved
Comment thread using-leantime/task-management.md Resolved
…ere, who deletes others' time

- Backup & Restore: the short migration section keeps the two rules from the
  old guide: same Leantime version on both servers, and don't run /install
  on the new server (it sets up an empty database).
- System requirements intro and the features FAQ also say PostgreSQL from 3.7.
- Deleting a to-do with time logged: other people's entries can only be
  deleted by them or by a Company Manager+ from All Timesheets
  (Timesheets::deleteTime needs timesheets.manage for another user's entry).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@marcelfolaron

Copy link
Copy Markdown
Contributor

Pushed 458a0a9 for the three Copilot threads (replied and resolved): the migration section keeps "same version" and "don't run /install"; the System requirements intro and features.md say PostgreSQL from 3.7; and the delete-a-to-do section says who can delete other people's time entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants