Files
RenewCMS/docs/design/screens/localization-review-reference.md
T

4.5 KiB

Localization: source reference and review (release 2)

Board: RenewCMS Screens Localization. Frame: LocaleFrame. Data: locale-fixtures.js (single fixture source), tables in locale-spec.js. UI copy says "article", never "story". No revision numbers, IDs or HTTP status names in user-facing text.

L6 Source reference (release 2) (release 2)

Route: /article/{id}/edit?ref=:sourceId API: proposed: GET /v1/article/{id} (read-only fetch of the reference)

Release 2. The temporary reference (?ref=, dashed outline, "Temporary reference") and the tracked review source (solid "Tracked source" badge in the review banner) are separate: changing the reference never changes the tracked source. Show source reference is in the editor header (desktop, icon-only at 1024) and the overflow sheet (mobile). Each pane scrolls independently. dir and lang go on the title and body of the editing pane and of the reference, never on the app shell.

ID State Trigger Selector Sizes Fixture
loc.l6.split Side by side Show source reference LocaleFrame{s:{v:"src",x:"split"}} 1440, 1024, 390 Journal
loc.l6.closed Reference hidden Hide source reference; button returns LocaleFrame{s:{v:"src",x:"closed"}} 1440, 390 Journal
loc.l6.reopen Reopened Scroll positions kept LocaleFrame{s:{v:"src",x:"reopen"}} 1440, 390 Journal
loc.l6.changeRef Change reference Menu; tracked source stays English LocaleFrame{s:{v:"src",x:"changeRef"}} 1440, 390 Journal
loc.l6.narrow Narrow desktop (1024) True 1024 frame LocaleFrame{s:{v:"src",x:"narrow"}} 1024, 390 Journal
loc.l6.long Long content Both panes scroll independently LocaleFrame{s:{v:"src",x:"long"}} 1440, 390 Journal
loc.l6.rtl Arabic editing, English reference dir=rtl on the Arabic title and body only LocaleFrame{s:{v:"src",x:"rtl"}} 1440, 390 Journal
loc.l6.arRef French editing, Arabic reference dir=rtl on the reference pane only LocaleFrame{s:{v:"src",x:"arRef"}} 1440, 390 Journal
loc.l6.mobileEdit Mobile: editing Segment LocaleFrame{s:{v:"src",x:"mobileEdit"}} 1440, 390 Journal
loc.l6.mobileSrc Mobile: source Segment LocaleFrame{s:{v:"src",x:"mobileSrc"}} 1440, 390 Journal
loc.l6.mobileClosed Mobile: closed Show source reference in the bottom bar or sheet LocaleFrame{s:{v:"src",x:"mobileClosed"}} 1440, 390 Journal
loc.l6.unavail Reference unavailable Deleted or unreadable LocaleFrame{s:{v:"src",x:"unavail"}} 1440, 390 Journal

L9 Freshness and review (release 2) (release 2)

Route: editor banner · list badge API: proposed: POST /v1/article/{id}/review { source_article_id, source_revision, translation_revision } (internal fields; never shown)

Release 2. Publication (solid badge) and freshness (outlined badge with refresh icon) are separate. Labels: No version, Draft, Needs review, Reviewed. A copied draft starts as Needs review. The dialog shows "Changed fields: Title, Body", the source version with its date and the translation version with its date. No revision numbers appear in the UI.

ID State Trigger Selector Sizes Fixture
loc.l9.warn Source updated English changed after review LocaleFrame{s:{v:"fr",x:"warn"}} 1440, 390 Journal
loc.l9.pub Published, needs review Still online LocaleFrame{s:{v:"fr",x:"pub"}} 1440, 390 Journal
loc.l9.review Mark reviewed Confirm with changed fields and dates LocaleFrame{s:{v:"fr",x:"review"}} 1440, 390 Journal
loc.review.changed Source changed again During the review LocaleFrame{s:{v:"fr",x:"changed"}} 1440, 390 Journal
loc.l9.changedTr Translation changed Saved by someone else while confirming LocaleFrame{s:{v:"fr",x:"changedTr"}} 1440, 390 Journal
loc.l9.replace Choose tracked source Cycle prevented LocaleFrame{s:{v:"fr",x:"replace"}} 1440, 390 Journal
loc.src.inaccessible Source unavailable (access) History kept LocaleFrame{s:{v:"fr",x:"inaccessible"}} 1440, 390 Journal
loc.src.deleted Source deleted Choose a new source LocaleFrame{s:{v:"fr",x:"gone"}} 1440, 390 Journal
loc.l9.done Reviewed Toast LocaleFrame{s:{v:"fr",x:"done"}} 1440, 390 Journal
loc.l9.fail Review failed Toast LocaleFrame{s:{v:"fr",x:"fail"}} 1440, 390 Journal
loc.l9.frReview Published and needs review in the list French tab, Needs review: 2 versions LocaleFrame{s:{v:"li",x:"frReview"}} 1440, 1024, 390 Journal