docs: Bring all documentation up to date for v2.10.1
- architecture/: overview, technology stack, auth (OIDC + built-in IndieAuth), syndication (POSSE) rewritten; new database.md, deployment.md and indieweb-protocols.md; legacy stack marked historical - decisions/: reconstructed ADR-060 and ADR-063; 31 status corrections (superseded auth ADRs, proposed -> accepted); INDEX rebuilt - design/: reconstructed the v1.6.0 documents the webmention code cites; reports for 18 v2 releases without a design folder; INDEX rebuilt - projectplan/: BACKLOG rewritten (shipped items removed, open issues from the reviews added); RELEASE.md for v2.0.0-v2.10.1; INDEX - standards/: development setup (uv, tests, DEV_MODE), testing (CI test stage), git and release flow, versioning, coding standards, cookies - README, CLAUDE.md, .env.example (every setting the code reads, with defaults) brought up to date - 137 broken links repaired (old absolute paths, moved files); stale ADR references in code comments corrected (comments only) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fa551de197
commit
0716984958
143 files changed
+6222
-8660
No files matched your search
@@ -0,0 +1,30 @@
|
||||
# v2.6.4: Tags keep the order they were entered in
|
||||
|
||||
> Reconstructed on 2026-11-03 from the changelog and git history. Commit `4b56f7c`.
|
||||
|
||||
## Summary
|
||||
|
||||
The first tag is the note's main tag (the Threads topic; Bluesky keeps the
|
||||
first tags when space runs out), but crossposts used the alphabetically
|
||||
first, and the editor and Micropub reordered tags alphabetically on save.
|
||||
|
||||
## Changes
|
||||
|
||||
- `starpunk/tags.py`: `add_tags_to_note()` already rewrites `note_tags` in
|
||||
entry order on every save, so `note_tags.id` records the order.
|
||||
`get_note_tags(note_id, entered_order=False)` reads it back when asked;
|
||||
the default stays alphabetical.
|
||||
- `entered_order=True` is used by `starpunk/syndication.py` (Threads topic,
|
||||
Bluesky hashtags), `starpunk/routes/admin.py` (editor) and
|
||||
`starpunk/micropub.py` (`q=source`, and updates that add/delete
|
||||
categories).
|
||||
- Public pages still list tags alphabetically.
|
||||
|
||||
## Tests
|
||||
|
||||
`tests/test_tag_order.py` (5 tests: default vs entered order, public page
|
||||
alphabetical, editor round trip, Micropub source/update, crossposts).
|
||||
|
||||
## Notes
|
||||
|
||||
No migration: the order comes from existing row ids.
|
||||
Reference in new issue
Block a user