Skip to content

Put places in the admin, every language editable by hand - #178

Merged
misabegovic merged 1 commit into
mainfrom
ccr-331a6442-nf8lzj
Sep 30, 2026
Merged

misabegovic merged 1 commit into
mainfrom
ccr-331a6442-nf8lzj

Conversation

@misabegovic

@misabegovic misabegovic commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Curators can now look after places in the admin: search and filter them, archive and restore them, upload photos, and edit the name, description and history in all 16 languages, one tab per language. Only admins delete, and a place travellers have visited still cannot be deleted.

A translation changed by hand is now marked as a person's edit, so a later AI retranslation can ask before overwriting it. Translations are saved together with the place, so a place the mine check refuses leaves nothing half-saved, and an empty language on the form stays empty instead of showing the English text.

This is slice 3 of wiki/initiatives/avo-admin-and-roles.md; the translation choices are recorded under sources/conversations.

Avo resource for places with search, city, status and photo filters,
Archive and Restore actions, photo uploads and a tab per language. The
per-language accessors now read and write exactly one language, are
staged and saved with the place (a mine-refused place leaves its
translations untouched), and a change made in the admin is marked with
human_edited_at so a later retranslation can ask before overwriting it.
AdminResource (formerly AdminPolicyGate) records the admin user as
Current.editor.

Brain: operator's answers on translations; Avo initiative slice 3 done.
@misabegovic
misabegovic marked this pull request as ready for review September 30, 2026 12:40
@misabegovic
misabegovic merged commit ee3025d into main Sep 30, 2026
1 check passed
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