feat(app-expo): show memoir chapter draft progress on list cards
Explain invite vs. generating state using MemoirState slots, surface remaining characters to the display gate, refresh memoir-state on pull, and sync i18n. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -16,6 +16,18 @@ export const FRAMEWORK_CHAPTER_KEYS = [
|
||||
|
||||
export type FrameworkChapterKey = (typeof FRAMEWORK_CHAPTER_KEYS)[number];
|
||||
|
||||
/** 与后端 `CHAPTER_ORDER` 一致(用于占位章节缺省 category) */
|
||||
export const CHAPTER_CATEGORY_BY_ORDER_INDEX = [
|
||||
'childhood',
|
||||
'education',
|
||||
'career_early',
|
||||
'career_achievement',
|
||||
'career_challenge',
|
||||
'family',
|
||||
'beliefs',
|
||||
'summary',
|
||||
] as const;
|
||||
|
||||
export function buildFrameworkChapterPlaceholders(
|
||||
tr: (key: string) => string,
|
||||
): ChapterViewModel[] {
|
||||
|
||||
Reference in New Issue
Block a user