Repository navigation
Put places in the admin, every language editable by hand - #178
Merged
Merged
Conversation
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
marked this pull request as ready for review
September 30, 2026 12:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.