Skip to content

Document repositioning to-do lists#415

Merged
jeremy merged 1 commit into
masterfrom
reposition-to-do-lists
Jul 23, 2026
Merged

Document repositioning to-do lists#415
jeremy merged 1 commit into
masterfrom
reposition-to-do-lists

Conversation

@jeremy

@jeremy jeremy commented Jul 23, 2026

Copy link
Copy Markdown
Member

You can reorder a to-do list within its to-do set. This documents the existing API endpoint for it.

What the docs now say

  • Flat route: PUT /todosets/todolists/2/position.json with a top-level position (greater than or equal to one). A successful call returns 204 No Content.
  • Position counts incomplete lists only. Completed lists are not counted, so a position of 1 moves the list above all other incomplete lists.
  • The project-scoped route PUT /buckets/1/todosets/todolists/2/position.json remains available as a legacy form.

Documentation-only; no API changes.


Synced from bc3 doc/api/ by script/api/sync_to_bc3_api — not a hand-edit.

Copilot AI review requested due to automatic review settings July 23, 2026 00:20

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.

Pull request overview

Documents the API endpoint for repositioning a to-do list within its to-do set, including the flat route semantics and the legacy project-scoped form.

Changes:

  • Adds a new “Reposition a to-do list” endpoint section documenting PUT /todosets/todolists/:id/position.json and its 204 No Content behavior.
  • Clarifies that position is 1-based and counts only incomplete to-do lists.
  • Adds the legacy project-scoped route mapping to the new section.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sections/todolists.md

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7385114cbb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread sections/todolists.md
@jeremy
jeremy merged commit 724696f into master Jul 23, 2026
1 check passed
@jeremy
jeremy deleted the reposition-to-do-lists branch July 23, 2026 02:09
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.

2 participants