Add the CREATE RECIPES tab to the web app

The phone's RecipeCreateModal becomes a rail tab with the same rows, seeding
from the look on screen and clamping the same way. SAVE RECIPE applies the new
look, lists it under RECIPES and, when signed in, stores it on the account; a
guest's copy stays in memory and goes away with the page. Signed-in users can
also export the recipe as the app's encrypted .recipe file (shared/utils
/recipeShare.ts vendored byte-identical from the RN project).
This commit is contained in:
2026-09-17 18:56:17 +07:00
parent f2e5e9abc9
commit d31d945827
9 changed files with 514 additions and 12 deletions
+9
View File
@@ -32,6 +32,15 @@ export const en: Dict = {
'tab.wb': 'WB',
'tab.fx': 'FX',
'tab.frame': 'FRAME',
'tab.create': 'CREATE RECIPES',
'create.title': 'CREATE RECIPES',
'create.save': 'SAVE RECIPE',
'create.export': 'EXPORT .RECIPE FILE',
'create.guestHint':
'Guest: the recipe stays in RECIPES until you close the page. Log in to save it to your account and export it.',
'create.userHint':
'Saved to your account. Export the .recipe file to share it — encrypted exactly like the app’s.',
'sec.filmSims': 'PHOTO STYLE',
'sec.recipes': 'RECIPES',
+9
View File
@@ -35,6 +35,15 @@ export const vi = {
'tab.wb': 'WB',
'tab.fx': 'FX',
'tab.frame': 'FRAME',
'tab.create': 'CREATE RECIPES',
'create.title': 'TẠO CÔNG THỨC',
'create.save': 'LƯU CÔNG THỨC',
'create.export': 'XUẤT TỆP .RECIPE',
'create.guestHint':
'Khách: công thức chỉ nằm trong RECIPES tới khi đóng trang. Đăng nhập để lưu vào tài khoản và xuất tệp.',
'create.userHint':
'Đã lưu vào tài khoản. Xuất tệp .recipe để chia sẻ — tệp được mã hóa đúng như trên app.',
'sec.filmSims': 'PHOTO STYLE',
'sec.recipes': 'RECIPES',