A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
feat(web): group hidden sections in the write outline (#3614)
Diyo Anggara Pradipa Putrae87e4dabd617
diff --git a/apps/web/locales/af-ZA.po b/apps/web/locales/af-ZA.poindex a7ed19ab2..fa57be5e4 100644--- a/apps/web/locales/af-ZA.po+++ b/apps/web/locales/af-ZA.po@@ -5292,6 +5292,10 @@ msgstr "Versteek"msgid "Hidden from New roles"msgstr "Versteek uit Nuwe poste"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Versteekte afdelings behou hul inhoud, maar word nie gedruk of gedeel nie. Velde stoor soos jy tik."diff --git a/apps/web/locales/am-ET.po b/apps/web/locales/am-ET.poindex 7b379eab1..759af0c15 100644--- a/apps/web/locales/am-ET.po+++ b/apps/web/locales/am-ET.po@@ -5292,6 +5292,10 @@ msgstr "ተደብቆ"msgid "Hidden from New roles"msgstr "ከአዲስ የሥራ መደቦች ተደብቋል"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "የተደበቁ ክፍሎች ይዘታቸውን ያስቀምጣሉ ነገር ግን አይታተሙም ወይም አይጋሩም። በሚተይቡበት ጊዜ መስኮች ይቀመጣሉ።"diff --git a/apps/web/locales/ar-SA.po b/apps/web/locales/ar-SA.poindex b9c99dd22..1edbcc734 100644--- a/apps/web/locales/ar-SA.po+++ b/apps/web/locales/ar-SA.po@@ -5292,6 +5292,10 @@ msgstr "مخفي"msgid "Hidden from New roles"msgstr "مخفية من الوظائف الجديدة"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "تحتفظ الأقسام المخفية بمحتواها ولكن لا تتم طباعتها أو مشاركتها. يتم حفظ الحقول أثناء الكتابة."diff --git a/apps/web/locales/az-AZ.po b/apps/web/locales/az-AZ.poindex 5f48013d0..564f8311c 100644--- a/apps/web/locales/az-AZ.po+++ b/apps/web/locales/az-AZ.po@@ -5292,6 +5292,10 @@ msgstr "Gizli"msgid "Hidden from New roles"msgstr "Yeni vəzifələrdən gizlədildi"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Gizli bölmələr məzmununu saxlayır, lakin çap edilmir və paylaşılmır. Siz yazdığınız zaman sahələr yadda saxlanılır."diff --git a/apps/web/locales/bg-BG.po b/apps/web/locales/bg-BG.poindex 830b7a705..a3b932183 100644--- a/apps/web/locales/bg-BG.po+++ b/apps/web/locales/bg-BG.po@@ -5292,6 +5292,10 @@ msgstr "Скрито"msgid "Hidden from New roles"msgstr "Скрито от Нови позиции"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Скритите раздели запазват съдържанието си, но не се отпечатват или споделят. Полетата се запазват, докато пишете."diff --git a/apps/web/locales/bn-BD.po b/apps/web/locales/bn-BD.poindex 09309c61a..3f31a48a2 100644--- a/apps/web/locales/bn-BD.po+++ b/apps/web/locales/bn-BD.po@@ -5292,6 +5292,10 @@ msgstr "লুকানো"msgid "Hidden from New roles"msgstr "নতুন পদ থেকে লুকানো হয়েছে"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "লুকানো বিভাগগুলি তাদের সামগ্রী রাখে কিন্তু মুদ্রিত বা ভাগ করা হয় না। আপনি টাইপ করার সাথে সাথে ক্ষেত্রগুলি সংরক্ষণ করে।"diff --git a/apps/web/locales/ca-ES.po b/apps/web/locales/ca-ES.poindex 1d4ff1e28..dab85907e 100644--- a/apps/web/locales/ca-ES.po+++ b/apps/web/locales/ca-ES.po@@ -5292,6 +5292,10 @@ msgstr "Ocult"msgid "Hidden from New roles"msgstr "Amagat de Llocs nous"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Les seccions amagades conserven el seu contingut però no s'imprimeixen ni es comparteixen. Els camps es desen mentre escriviu."diff --git a/apps/web/locales/cs-CZ.po b/apps/web/locales/cs-CZ.poindex 34393e108..539403518 100644--- a/apps/web/locales/cs-CZ.po+++ b/apps/web/locales/cs-CZ.po@@ -5292,6 +5292,10 @@ msgstr "Skryto"msgid "Hidden from New roles"msgstr "Skryto z Nových pozic"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Skryté sekce si uchovávají svůj obsah, ale nejsou tištěny ani sdíleny. Pole se ukládají při psaní."diff --git a/apps/web/locales/da-DK.po b/apps/web/locales/da-DK.poindex 17cba09df..1f8884062 100644--- a/apps/web/locales/da-DK.po+++ b/apps/web/locales/da-DK.po@@ -5292,6 +5292,10 @@ msgstr "Skjult"msgid "Hidden from New roles"msgstr "Skjult fra Nye stillinger"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Skjulte sektioner beholder deres indhold, men bliver ikke udskrevet eller delt. Felter gemmes, mens du skriver."diff --git a/apps/web/locales/de-DE.po b/apps/web/locales/de-DE.poindex 869cb272f..c756a2c9e 100644--- a/apps/web/locales/de-DE.po+++ b/apps/web/locales/de-DE.po@@ -5292,6 +5292,10 @@ msgstr "Versteckt"msgid "Hidden from New roles"msgstr "Aus „Neue Stellen“ ausgeblendet"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Ausgeblendete Abschnitte behalten ihren Inhalt, werden jedoch nicht gedruckt oder geteilt. Felder werden während der Eingabe gespeichert."diff --git a/apps/web/locales/el-GR.po b/apps/web/locales/el-GR.poindex 1e3f9f513..37b482ffc 100644--- a/apps/web/locales/el-GR.po+++ b/apps/web/locales/el-GR.po@@ -5292,6 +5292,10 @@ msgstr "Κρυφό"msgid "Hidden from New roles"msgstr "Κρυφό από τις Νέες θέσεις"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Οι κρυφές ενότητες διατηρούν το περιεχόμενό τους αλλά δεν εκτυπώνονται ή κοινοποιούνται. Τα πεδία αποθηκεύονται καθώς πληκτρολογείτε."diff --git a/apps/web/locales/en-GB.po b/apps/web/locales/en-GB.poindex 3913ee29f..8f9c1ef62 100644--- a/apps/web/locales/en-GB.po+++ b/apps/web/locales/en-GB.po@@ -5292,6 +5292,10 @@ msgstr "Hidden"msgid "Hidden from New roles"msgstr "Hidden from New roles"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Hidden sections keep their content but aren't printed or shared. Fields save as you type."diff --git a/apps/web/locales/en-US.po b/apps/web/locales/en-US.poindex 6cb2c1047..ca409db54 100644--- a/apps/web/locales/en-US.po+++ b/apps/web/locales/en-US.po@@ -5287,6 +5287,10 @@ msgstr "Hidden"msgid "Hidden from New roles"msgstr "Hidden from New roles"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr "Hidden sections"+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Hidden sections keep their content but aren't printed or shared. Fields save as you type."diff --git a/apps/web/locales/es-ES.po b/apps/web/locales/es-ES.poindex d6cae0831..5d4fc04a1 100644--- a/apps/web/locales/es-ES.po+++ b/apps/web/locales/es-ES.po@@ -5292,6 +5292,10 @@ msgstr "Oculto"msgid "Hidden from New roles"msgstr "Oculto en Puestos nuevos"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Las secciones ocultas mantienen su contenido pero no se imprimen ni se comparten. Los campos se guardan a medida que escribe."diff --git a/apps/web/locales/fa-IR.po b/apps/web/locales/fa-IR.poindex b4de0bcae..b53b19302 100644--- a/apps/web/locales/fa-IR.po+++ b/apps/web/locales/fa-IR.po@@ -5292,6 +5292,10 @@ msgstr "پنهان"msgid "Hidden from New roles"msgstr "از «موقعیتهای جدید» پنهان شد"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "بخش های مخفی محتوای خود را حفظ می کنند اما چاپ یا به اشتراک گذاشته نمی شوند. فیلدها با تایپ شما ذخیره می شوند."diff --git a/apps/web/locales/fi-FI.po b/apps/web/locales/fi-FI.poindex 3e825ccab..eb638dffd 100644--- a/apps/web/locales/fi-FI.po+++ b/apps/web/locales/fi-FI.po@@ -5292,6 +5292,10 @@ msgstr "Piilossa"msgid "Hidden from New roles"msgstr "Piilotettu uusista työpaikoista"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Piilotetut osiot säilyttävät sisältönsä, mutta niitä ei tulosteta tai jaeta. Kentät tallennetaan kirjoittaessasi."diff --git a/apps/web/locales/fr-FR.po b/apps/web/locales/fr-FR.poindex bfd30968c..e104af0c9 100644--- a/apps/web/locales/fr-FR.po+++ b/apps/web/locales/fr-FR.po@@ -5292,6 +5292,10 @@ msgstr "Masqué"msgid "Hidden from New roles"msgstr "Masqué des nouveaux postes"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Les sections masquées conservent leur contenu mais ne sont ni imprimées ni partagées. Les champs sont enregistrés au fur et à mesure que vous tapez."diff --git a/apps/web/locales/he-IL.po b/apps/web/locales/he-IL.poindex e7044329d..7d07621d9 100644--- a/apps/web/locales/he-IL.po+++ b/apps/web/locales/he-IL.po@@ -5292,6 +5292,10 @@ msgstr "מוסתר"msgid "Hidden from New roles"msgstr "הוסתר מ\"תפקידים חדשים\""+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "קטעים מוסתרים שומרים על התוכן שלהם אך אינם מודפסים או משותפים. שדות נשמרים תוך כדי הקלדה."diff --git a/apps/web/locales/hi-IN.po b/apps/web/locales/hi-IN.poindex 78288f132..dca52e5df 100644--- a/apps/web/locales/hi-IN.po+++ b/apps/web/locales/hi-IN.po@@ -5292,6 +5292,10 @@ msgstr "छुपा हुआ"msgid "Hidden from New roles"msgstr "\"नए पद\" से छिपाया गया"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "छिपे हुए अनुभाग अपनी सामग्री रखते हैं लेकिन मुद्रित या साझा नहीं किए जाते हैं। जैसे ही आप टाइप करते हैं फ़ील्ड सहेजे जाते हैं।"diff --git a/apps/web/locales/hu-HU.po b/apps/web/locales/hu-HU.poindex 39ce16054..dafb098d2 100644--- a/apps/web/locales/hu-HU.po+++ b/apps/web/locales/hu-HU.po@@ -5292,6 +5292,10 @@ msgstr "Rejtett"msgid "Hidden from New roles"msgstr "Elrejtve az Új pozíciók közül"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "A rejtett szakaszok megtartják a tartalmukat, de nem nyomtatják ki vagy osztják meg őket. A mezők mentése gépelés közben történik."diff --git a/apps/web/locales/id-ID.po b/apps/web/locales/id-ID.poindex 0a8ff819c..0483285c8 100644--- a/apps/web/locales/id-ID.po+++ b/apps/web/locales/id-ID.po@@ -5292,6 +5292,10 @@ msgstr "Tersembunyi"msgid "Hidden from New roles"msgstr "Disembunyikan dari Posisi baru"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Bagian tersembunyi menyimpan kontennya tetapi tidak dicetak atau dibagikan. Bidang disimpan saat Anda mengetik."diff --git a/apps/web/locales/it-IT.po b/apps/web/locales/it-IT.poindex cef92d26c..23a15e168 100644--- a/apps/web/locales/it-IT.po+++ b/apps/web/locales/it-IT.po@@ -5292,6 +5292,10 @@ msgstr "Nascosto"msgid "Hidden from New roles"msgstr "Nascosto da Nuovi ruoli"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Le sezioni nascoste mantengono il loro contenuto ma non vengono stampate o condivise. I campi vengono salvati durante la digitazione."diff --git a/apps/web/locales/ja-JP.po b/apps/web/locales/ja-JP.poindex 430592a00..d5cda6180 100644--- a/apps/web/locales/ja-JP.po+++ b/apps/web/locales/ja-JP.po@@ -5292,6 +5292,10 @@ msgstr "非表示"msgid "Hidden from New roles"msgstr "「新しい求人」から非表示にしました"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "非表示セクションにはコンテンツが保持されますが、印刷または共有されません。入力するとフィールドが保存されます。"diff --git a/apps/web/locales/km-KH.po b/apps/web/locales/km-KH.poindex 65d22d64f..4b21da13e 100644--- a/apps/web/locales/km-KH.po+++ b/apps/web/locales/km-KH.po@@ -5292,6 +5292,10 @@ msgstr "លាក់"msgid "Hidden from New roles"msgstr "បានលាក់ពី “តួនាទីថ្មី”"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "ផ្នែកដែលបានលាក់ទុកមាតិការបស់ពួកគេ ប៉ុន្តែមិនត្រូវបានបោះពុម្ព ឬចែករំលែកទេ។ វាលរក្សាទុកនៅពេលអ្នកវាយ។"diff --git a/apps/web/locales/kn-IN.po b/apps/web/locales/kn-IN.poindex a194b8723..e90209705 100644--- a/apps/web/locales/kn-IN.po+++ b/apps/web/locales/kn-IN.po@@ -5292,6 +5292,10 @@ msgstr "ಮರೆಮಾಡಲಾಗಿದೆ"msgid "Hidden from New roles"msgstr "“ಹೊಸ ಹುದ್ದೆಗಳು” ಇಂದ ಮರೆಮಾಡಲಾಗಿದೆ"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "ಮರೆಮಾಡಿದ ವಿಭಾಗಗಳು ತಮ್ಮ ವಿಷಯವನ್ನು ಇರಿಸುತ್ತವೆ ಆದರೆ ಮುದ್ರಿಸಲಾಗುವುದಿಲ್ಲ ಅಥವಾ ಹಂಚಿಕೊಳ್ಳಲಾಗುವುದಿಲ್ಲ. ನೀವು ಟೈಪ್ ಮಾಡಿದಂತೆ ಕ್ಷೇತ್ರಗಳನ್ನು ಉಳಿಸಿ."diff --git a/apps/web/locales/ko-KR.po b/apps/web/locales/ko-KR.poindex 27766e465..28c9556ce 100644--- a/apps/web/locales/ko-KR.po+++ b/apps/web/locales/ko-KR.po@@ -5292,6 +5292,10 @@ msgstr "숨김"msgid "Hidden from New roles"msgstr "새 직무에서 숨김"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "숨겨진 섹션은 콘텐츠를 유지하지만 인쇄되거나 공유되지는 않습니다. 입력하는 동안 필드가 저장됩니다."diff --git a/apps/web/locales/lt-LT.po b/apps/web/locales/lt-LT.poindex 3f92532d8..5faea704b 100644--- a/apps/web/locales/lt-LT.po+++ b/apps/web/locales/lt-LT.po@@ -5292,6 +5292,10 @@ msgstr "Paslėptas"msgid "Hidden from New roles"msgstr "Paslėpta iš naujų pozicijų"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Paslėptų skilčių turinys išsaugomas, bet nėra spausdinamas ar bendrinamas. Laukai išsaugomi vedant tekstą."diff --git a/apps/web/locales/lv-LV.po b/apps/web/locales/lv-LV.poindex fc0c95146..1be365050 100644--- a/apps/web/locales/lv-LV.po+++ b/apps/web/locales/lv-LV.po@@ -5292,6 +5292,10 @@ msgstr "Slēpts"msgid "Hidden from New roles"msgstr "Paslēpts no jaunajām vakancēm"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Slēptajās sadaļās tiek saglabāts saturs, taču tās netiek drukātas vai kopīgotas. Lauki tiek saglabāti rakstīšanas laikā."diff --git a/apps/web/locales/ml-IN.po b/apps/web/locales/ml-IN.poindex e295fc85e..d7c09ffc4 100644--- a/apps/web/locales/ml-IN.po+++ b/apps/web/locales/ml-IN.po@@ -5292,6 +5292,10 @@ msgstr "മറഞ്ഞത്"msgid "Hidden from New roles"msgstr "പുതിയ റോളുകളിൽ നിന്ന് മറച്ചു"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "മറഞ്ഞിരിക്കുന്ന വിഭാഗങ്ങൾ അവയുടെ ഉള്ളടക്കം സൂക്ഷിക്കുന്നു, പക്ഷേ അവ അച്ചടിക്കുകയോ പങ്കിടുകയോ ചെയ്യുന്നില്ല. നിങ്ങൾ ടൈപ്പ് ചെയ്യുമ്പോൾ ഫീൽഡുകൾ സംരക്ഷിക്കുക."diff --git a/apps/web/locales/mr-IN.po b/apps/web/locales/mr-IN.poindex 26abb2e7a..d2ba6c03e 100644--- a/apps/web/locales/mr-IN.po+++ b/apps/web/locales/mr-IN.po@@ -5292,6 +5292,10 @@ msgstr "लपवलेले"msgid "Hidden from New roles"msgstr "नवीन भूमिकांमधून लपवले"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "लपलेले विभाग त्यांची सामग्री ठेवतात परंतु मुद्रित किंवा सामायिक केलेले नाहीत. तुम्ही टाइप करता तसे फील्ड सेव्ह होतात."diff --git a/apps/web/locales/ms-MY.po b/apps/web/locales/ms-MY.poindex 7d8ea4cf4..d20f6df78 100644--- a/apps/web/locales/ms-MY.po+++ b/apps/web/locales/ms-MY.po@@ -5292,6 +5292,10 @@ msgstr "Tersembunyi"msgid "Hidden from New roles"msgstr "Disembunyikan daripada Peranan baharu"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Bahagian tersembunyi menyimpan kandungannya tetapi tidak dicetak atau dikongsi. Medan disimpan semasa anda menaip."diff --git a/apps/web/locales/ne-NP.po b/apps/web/locales/ne-NP.poindex 9357b7a5c..5ff6ecaee 100644--- a/apps/web/locales/ne-NP.po+++ b/apps/web/locales/ne-NP.po@@ -5292,6 +5292,10 @@ msgstr "लुकाइएको"msgid "Hidden from New roles"msgstr "नयाँ भूमिकाहरूबाट लुकाइयो"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "लुकेका खण्डहरूले तिनीहरूको सामग्री राख्छन् तर छापिएका वा साझेदारी गरिएका छैनन्। तपाईंले टाइप गर्दा क्षेत्रहरू बचत गर्नुहोस्।"diff --git a/apps/web/locales/nl-NL.po b/apps/web/locales/nl-NL.poindex 7373e300d..3c4dda245 100644--- a/apps/web/locales/nl-NL.po+++ b/apps/web/locales/nl-NL.po@@ -5292,6 +5292,10 @@ msgstr "Verborgen"msgid "Hidden from New roles"msgstr "Verborgen uit Nieuwe functies"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Verborgen secties behouden hun inhoud, maar worden niet afgedrukt of gedeeld. Velden worden opgeslagen terwijl u typt."diff --git a/apps/web/locales/no-NO.po b/apps/web/locales/no-NO.poindex 182fbacea..d9704caba 100644--- a/apps/web/locales/no-NO.po+++ b/apps/web/locales/no-NO.po@@ -5292,6 +5292,10 @@ msgstr "Skjult"msgid "Hidden from New roles"msgstr "Skjult fra Nye roller"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Skjulte deler beholder innholdet, men blir ikke skrevet ut eller delt. Felt lagres mens du skriver."diff --git a/apps/web/locales/or-IN.po b/apps/web/locales/or-IN.poindex 820179327..a4c0b64ab 100644--- a/apps/web/locales/or-IN.po+++ b/apps/web/locales/or-IN.po@@ -5292,6 +5292,10 @@ msgstr "ଲୁଚାଇଦିଆଯାଇଛି"msgid "Hidden from New roles"msgstr "ନୂଆ ଭୂମିକାରୁ ଲୁଚାଯାଇଛି"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "ଲୁକ୍କାୟିତ ବିଭାଗଗୁଡିକ ସେମାନଙ୍କର ବିଷୟବସ୍ତୁ ରଖନ୍ତି କିନ୍ତୁ ମୁଦ୍ରିତ କିମ୍ବା ଅଂଶୀଦାର ହୋଇନଥାଏ | ଆପଣ ଟାଇପ୍ କଲାବେଳେ ଫିଲ୍ଡଗୁଡିକ ସେଭ୍ କରନ୍ତୁ |"diff --git a/apps/web/locales/pl-PL.po b/apps/web/locales/pl-PL.poindex 99870b9a6..64cd84991 100644--- a/apps/web/locales/pl-PL.po+++ b/apps/web/locales/pl-PL.po@@ -5292,6 +5292,10 @@ msgstr "Ukryty"msgid "Hidden from New roles"msgstr "Ukryte w Nowych stanowiskach"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Ukryte sekcje zachowują swoją zawartość, ale nie są drukowane ani udostępniane. Pola zapisują się w trakcie pisania."diff --git a/apps/web/locales/pt-BR.po b/apps/web/locales/pt-BR.poindex 34d4747f6..4d28a37e0 100644--- a/apps/web/locales/pt-BR.po+++ b/apps/web/locales/pt-BR.po@@ -5292,6 +5292,10 @@ msgstr "Oculto"msgid "Hidden from New roles"msgstr "Oculta de Novas vagas"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "As seções ocultas mantêm seu conteúdo, mas não são impressas ou compartilhadas. Os campos são salvos conforme você digita."diff --git a/apps/web/locales/pt-PT.po b/apps/web/locales/pt-PT.poindex 7672726dd..639720a3d 100644--- a/apps/web/locales/pt-PT.po+++ b/apps/web/locales/pt-PT.po@@ -5292,6 +5292,10 @@ msgstr "Oculto"msgid "Hidden from New roles"msgstr "Oculta de Novas vagas"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "As secções ocultas mantêm o seu conteúdo, mas não são impressas nem partilhadas. Os campos são guardados à medida que digita."diff --git a/apps/web/locales/ro-RO.po b/apps/web/locales/ro-RO.poindex 277e299aa..5efa86ee3 100644--- a/apps/web/locales/ro-RO.po+++ b/apps/web/locales/ro-RO.po@@ -5292,6 +5292,10 @@ msgstr "Ascuns"msgid "Hidden from New roles"msgstr "Ascuns din Posturi noi"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Secțiunile ascunse își păstrează conținutul, dar nu sunt tipărite sau partajate. Câmpurile se salvează pe măsură ce tastați."diff --git a/apps/web/locales/ru-RU.po b/apps/web/locales/ru-RU.poindex 16638f84e..f0d9edbab 100644--- a/apps/web/locales/ru-RU.po+++ b/apps/web/locales/ru-RU.po@@ -5292,6 +5292,10 @@ msgstr "Скрытый"msgid "Hidden from New roles"msgstr "Скрыто из новых вакансий"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Скрытые разделы сохраняют свое содержимое, но не распечатываются и не публикуются. Поля сохраняются по мере ввода."diff --git a/apps/web/locales/sk-SK.po b/apps/web/locales/sk-SK.poindex c83775001..730315ca9 100644--- a/apps/web/locales/sk-SK.po+++ b/apps/web/locales/sk-SK.po@@ -5292,6 +5292,10 @@ msgstr "Skryté"msgid "Hidden from New roles"msgstr "Skryté z nových pozícií"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Skryté sekcie si zachovávajú svoj obsah, ale nie sú vytlačené ani zdieľané. Polia sa ukladajú počas písania."diff --git a/apps/web/locales/sl-SI.po b/apps/web/locales/sl-SI.poindex c8b0f6ff8..cb3ce0b96 100644--- a/apps/web/locales/sl-SI.po+++ b/apps/web/locales/sl-SI.po@@ -5292,6 +5292,10 @@ msgstr "Skrito"msgid "Hidden from New roles"msgstr "Skrito iz Novih vlog"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Skriti razdelki ohranijo svojo vsebino, vendar niso natisnjeni ali deljeni. Polja se shranjujejo med tipkanjem."diff --git a/apps/web/locales/sq-AL.po b/apps/web/locales/sq-AL.poindex 3e2612c50..2890f8b86 100644--- a/apps/web/locales/sq-AL.po+++ b/apps/web/locales/sq-AL.po@@ -5292,6 +5292,10 @@ msgstr "E fshehur"msgid "Hidden from New roles"msgstr "U fsheh nga Role të reja"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Seksionet e fshehura ruajnë përmbajtjen e tyre, por nuk printohen ose ndahen. Fushat ruhen ndërsa shkruani."diff --git a/apps/web/locales/sr-SP.po b/apps/web/locales/sr-SP.poindex 9aa18f7ba..ce849b1c8 100644--- a/apps/web/locales/sr-SP.po+++ b/apps/web/locales/sr-SP.po@@ -5292,6 +5292,10 @@ msgstr "Сакривено"msgid "Hidden from New roles"msgstr "Сакривено из Нових улога"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Скривени одељци задржавају свој садржај, али се не штампају нити деле. Поља се чувају док куцате."diff --git a/apps/web/locales/sv-SE.po b/apps/web/locales/sv-SE.poindex 55ce756b3..47a157e5f 100644--- a/apps/web/locales/sv-SE.po+++ b/apps/web/locales/sv-SE.po@@ -5292,6 +5292,10 @@ msgstr "Dolt"msgid "Hidden from New roles"msgstr "Dold från Nya roller"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Dolda avsnitt behåller sitt innehåll men skrivs eller delas inte. Fält sparas medan du skriver."diff --git a/apps/web/locales/ta-IN.po b/apps/web/locales/ta-IN.poindex e82c68573..9c35c451f 100644--- a/apps/web/locales/ta-IN.po+++ b/apps/web/locales/ta-IN.po@@ -5292,6 +5292,10 @@ msgstr "மறைக்கப்பட்டது"msgid "Hidden from New roles"msgstr "புதிய பதவிகளிலிருந்து மறைக்கப்பட்டது"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "மறைக்கப்பட்ட பிரிவுகள் அவற்றின் உள்ளடக்கத்தை வைத்திருக்கின்றன, ஆனால் அவை அச்சிடப்படவில்லை அல்லது பகிரப்படவில்லை. நீங்கள் தட்டச்சு செய்யும் போது புலங்கள் சேமிக்கப்படும்."diff --git a/apps/web/locales/te-IN.po b/apps/web/locales/te-IN.poindex 2a07f14c0..ce3ec4d83 100644--- a/apps/web/locales/te-IN.po+++ b/apps/web/locales/te-IN.po@@ -5292,6 +5292,10 @@ msgstr "హిడెన్"msgid "Hidden from New roles"msgstr "కొత్త పదవుల నుండి దాచబడింది"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "దాచబడిన విభాగాలు వాటి కంటెంట్ను ఉంచుతాయి కానీ ముద్రించబడవు లేదా భాగస్వామ్యం చేయబడవు. మీరు టైప్ చేసేటప్పుడు ఫీల్డ్లు సేవ్ చేయబడతాయి."diff --git a/apps/web/locales/th-TH.po b/apps/web/locales/th-TH.poindex 0d85605eb..9b09d28e7 100644--- a/apps/web/locales/th-TH.po+++ b/apps/web/locales/th-TH.po@@ -5292,6 +5292,10 @@ msgstr "ซ่อนไว้"msgid "Hidden from New roles"msgstr "ซ่อนจากตำแหน่งงานใหม่แล้ว"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "ส่วนที่ซ่อนจะเก็บเนื้อหาไว้แต่ไม่ได้พิมพ์หรือแชร์ ช่องจะบันทึกขณะที่คุณพิมพ์"diff --git a/apps/web/locales/tr-TR.po b/apps/web/locales/tr-TR.poindex a654bfd02..55a91adba 100644--- a/apps/web/locales/tr-TR.po+++ b/apps/web/locales/tr-TR.po@@ -5292,6 +5292,10 @@ msgstr "Gizli"msgid "Hidden from New roles"msgstr "Yeni pozisyonlardan gizlendi"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Gizli bölümler içeriklerini korur ancak yazdırılmaz veya paylaşılmaz. Siz yazdıkça alanlar kaydedilir."diff --git a/apps/web/locales/uk-UA.po b/apps/web/locales/uk-UA.poindex 8ae605338..1ef0215d0 100644--- a/apps/web/locales/uk-UA.po+++ b/apps/web/locales/uk-UA.po@@ -5292,6 +5292,10 @@ msgstr "Приховано"msgid "Hidden from New roles"msgstr "Приховано з нових вакансій"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Приховані розділи зберігають свій вміст, але не друкують і не надають спільного доступу. Поля зберігаються під час введення."diff --git a/apps/web/locales/uz-UZ.po b/apps/web/locales/uz-UZ.poindex a795cbfe8..dcb6eec8e 100644--- a/apps/web/locales/uz-UZ.po+++ b/apps/web/locales/uz-UZ.po@@ -5292,6 +5292,10 @@ msgstr "Yashirilgan"msgid "Hidden from New roles"msgstr "Yangi vakansiyalardan yashirildi"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Yashirin bo'limlar o'z mazmunini saqlaydi, lekin chop etilmaydi yoki ulashilmaydi. Siz kiritganingizda maydonlar saqlanadi."diff --git a/apps/web/locales/vi-VN.po b/apps/web/locales/vi-VN.poindex f8d9cb4c7..4a64d97db 100644--- a/apps/web/locales/vi-VN.po+++ b/apps/web/locales/vi-VN.po@@ -5292,6 +5292,10 @@ msgstr "Ẩn"msgid "Hidden from New roles"msgstr "Đã ẩn khỏi Vị trí mới"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "Các phần ẩn giữ lại nội dung của chúng nhưng không được in hoặc chia sẻ. Các trường lưu khi bạn nhập."diff --git a/apps/web/locales/zh-CN.po b/apps/web/locales/zh-CN.poindex 963e9697c..ac4835b4a 100644--- a/apps/web/locales/zh-CN.po+++ b/apps/web/locales/zh-CN.po@@ -5292,6 +5292,10 @@ msgstr "不展示"msgid "Hidden from New roles"msgstr "已从新职位中隐藏"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "隐藏部分保留其内容,但不会打印或共享。字段在您键入时保存。"diff --git a/apps/web/locales/zh-TW.po b/apps/web/locales/zh-TW.poindex 8761d8a7b..ba87d2da1 100644--- a/apps/web/locales/zh-TW.po+++ b/apps/web/locales/zh-TW.po@@ -5292,6 +5292,10 @@ msgstr "隱藏"msgid "Hidden from New roles"msgstr "已從新職缺中隱藏"+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr "隱藏部分保留其內容,但不會列印或分享。欄位在您鍵入時儲存。"diff --git a/apps/web/locales/zu-ZA.po b/apps/web/locales/zu-ZA.poindex 8e760e066..15cee988c 100644--- a/apps/web/locales/zu-ZA.po+++ b/apps/web/locales/zu-ZA.po@@ -5287,6 +5287,10 @@ msgstr ""msgid "Hidden from New roles"msgstr ""+#: src/features/resume/editor/write/outline.tsx+msgid "Hidden sections"+msgstr ""+#: src/features/resume/editor/write/write-panel.tsxmsgid "Hidden sections keep their content but aren't printed or shared. Fields save as you type."msgstr ""diff --git a/apps/web/src/features/resume/editor/write/model.test.ts b/apps/web/src/features/resume/editor/write/model.test.tsindex 434e5d23b..dc32cd39f 100644--- a/apps/web/src/features/resume/editor/write/model.test.ts+++ b/apps/web/src/features/resume/editor/write/model.test.ts@@ -3,7 +3,7 @@ import { describe, expect, it } from "vitest";import { produce } from "immer";import { customSectionItemDefinitionByType } from "@reactive-resume/schema/resume/data";import { defaultResumeData } from "@reactive-resume/schema/resume/default";-import { CUSTOM_SECTION_TYPES, createEntry, moveSection } from "./model";+import { CUSTOM_SECTION_TYPES, createEntry, getOutlineRows, isSectionHidden, moveSection } from "./model";const resume = (edit?: (data: ResumeData) => void) => {const data = structuredClone(defaultResumeData);@@ -56,3 +56,26 @@ describe("outline", () => {});});});++describe("hidden sections", () => {+ it("marks hidden sections in the outline instead of dropping them", () => {+ const data = resume((draft) => withEntries(draft, "experience", "education"));+ data.sections.experience.hidden = true;++ const rows = getOutlineRows(data);+ expect(rows.find((row) => row.id === "experience")).toMatchObject({ hidden: true });+ expect(rows.find((row) => row.id === "education")).toMatchObject({ hidden: false });+ });++ it("reads the hidden flag of every kind of section", () => {+ const data = resume((draft) => withEntries(draft, "experience"));+ expect(isSectionHidden(data, "summary")).toBe(false);+ expect(isSectionHidden(data, "experience")).toBe(false);+ expect(isSectionHidden(data, "missing")).toBe(false);++ data.summary.hidden = true;+ data.sections.experience.hidden = true;+ expect(isSectionHidden(data, "summary")).toBe(true);+ expect(isSectionHidden(data, "experience")).toBe(true);+ });+});diff --git a/apps/web/src/features/resume/editor/write/model.ts b/apps/web/src/features/resume/editor/write/model.tsindex 442f73efb..07d33132f 100644--- a/apps/web/src/features/resume/editor/write/model.ts+++ b/apps/web/src/features/resume/editor/write/model.ts@@ -73,6 +73,12 @@ export function getSectionObject(data: Data, section: WriteSection): SectionObjereturn data.customSections.find((custom) => custom.id === section.id);}+/** Whether a section is hidden from the page: its content is kept, but it isn't printed. */+export function isSectionHidden(data: Data, id: string): boolean {+ const section = resolveSection(data, id);+ return section ? (getSectionObject(data, section)?.hidden ?? false) : false;+}+export function findEntry(data: Data, sectionId: string, entryId: string): Entry | undefined {const section = resolveSection(data, sectionId);return section ? getEntries(data, section).find((entry) => entry.id === entryId) : undefined;@@ -234,12 +240,13 @@ export function isSectionInUse(data: Data, id: string, recentlyAdded: ReadonlySetype LayoutColumn = "main" | "sidebar";-/** A row of the outline, in print order, with where it sits in the layout. */-export type OutlineRow = { id: string; page: number; column: LayoutColumn };+/** A row of the outline, in print order, with where it sits in the layout and whether it prints. */+export type OutlineRow = { id: string; page: number; column: LayoutColumn; hidden: boolean };/*** The outline lists the sections in use in print order: page by page, the main column and then the sidebar.- * Sections in use that no page places (rare) are listed last, as the last page's main column.+ * Sections in use that no page places (rare) are listed last, as the last page's main column. Hidden sections are+ * listed too (marked as hidden) so the outline can offer to restore them.*/export function getOutlineRows(data: Data, recentlyAdded?: ReadonlySet<string>): OutlineRow[] {const rows: OutlineRow[] = [];@@ -249,7 +256,9 @@ export function getOutlineRows(data: Data, recentlyAdded?: ReadonlySet<string>):for (const column of ["main", "sidebar"] as const) {for (const id of page[column]) {placed.add(id);- if (isSectionInUse(data, id, recentlyAdded)) rows.push({ id, page: pageIndex, column });+ if (isSectionInUse(data, id, recentlyAdded)) {+ rows.push({ id, page: pageIndex, column, hidden: isSectionHidden(data, id) });+ }}}});@@ -257,7 +266,9 @@ export function getOutlineRows(data: Data, recentlyAdded?: ReadonlySet<string>):const lastPage = Math.max(0, data.metadata.layout.pages.length - 1);const candidates = ["summary", ...BUILTIN_SECTION_TYPES, ...data.customSections.map((section) => section.id)];for (const id of candidates) {- if (!placed.has(id) && isSectionInUse(data, id, recentlyAdded)) rows.push({ id, page: lastPage, column: "main" });+ if (!placed.has(id) && isSectionInUse(data, id, recentlyAdded)) {+ rows.push({ id, page: lastPage, column: "main", hidden: isSectionHidden(data, id) });+ }}return rows;@@ -277,7 +288,7 @@ function removeFromLayout(draft: WritableDraft<ResumeData>, id: string) {export function moveSection(draft: WritableDraft<ResumeData>,id: string,- target: OutlineRow,+ target: Pick<OutlineRow, "id" | "page" | "column">,direction: "up" | "down",) {if (id === target.id) return;diff --git a/apps/web/src/features/resume/editor/write/outline.tsx b/apps/web/src/features/resume/editor/write/outline.tsxindex 80babf300..fcf4ab1b9 100644--- a/apps/web/src/features/resume/editor/write/outline.tsx+++ b/apps/web/src/features/resume/editor/write/outline.tsx@@ -35,13 +35,13 @@ const ADD_LABELS: Record<CustomSectionType, MessageDescriptor> = {"cover-letter": msg`Add cover letter`,};-const rowKey = (row: OutlineRow) => `${row.id}\u0000${row.page}\u0000${row.column}`;+const rowKey = (row: OutlineRow) => `${row.id}\u0000${row.page}\u0000${row.column}\u0000${row.hidden ? 1 : 0}`;function parseRows(key: string): OutlineRow[] {if (!key) return [];return key.split("\u0001").map((part) => {- const [id = "", page = "0", column = "main"] = part.split("\u0000");- return { id, page: Number(page), column: column as OutlineRow["column"] };+ const [id = "", page = "0", column = "main", hidden = "0"] = part.split("\u0000");+ return { id, page: Number(page), column: column as OutlineRow["column"], hidden: hidden === "1" };});}@@ -56,8 +56,9 @@ function useSortSensors() {type OutlineProps = { locked: boolean; page: PageSettings };/**- * The outline: sections in use, in print order. Dragging a row (or ⌥↑ / ⌥↓ on its title) reorders the- * layout; a divider marks each new page and, on two-column pages, where the sidebar starts.+ * The outline: sections in use, in print order. Hidden sections are kept out of that flow, in a group at the+ * end, so they can be found and restored without reordering them. Dragging a row (or ⌥↑ / ⌥↓ on its title)+ * reorders the layout; a divider marks each new page and, on two-column pages, where the sidebar starts.*/export function Outline({ locked, page }: OutlineProps) {const added = useEditorStore((state) => state.addedSections);@@ -65,7 +66,9 @@ export function Outline({ locked, page }: OutlineProps) {getOutlineRows(resume.data, new Set(added)).map(rowKey).join("\u0001"),);const rows = useMemo(() => parseRows(key), [key]);- const multiPage = rows.some((row) => row.page > 0);+ const activeRows = useMemo(() => rows.filter((row) => !row.hidden), [rows]);+ const hiddenRows = useMemo(() => rows.filter((row) => row.hidden), [rows]);+ const multiPage = activeRows.some((row) => row.page > 0);const updateResumeData = useUpdateResumeData();const sensors = useSortSensors();@@ -76,17 +79,17 @@ export function Outline({ locked, page }: OutlineProps) {const onDragEnd = ({ active, over }: DragEndEvent) => {if (!over || active.id === over.id) return;- const from = rows.findIndex((row) => row.id === active.id);- const to = rows.findIndex((row) => row.id === over.id);- move(String(active.id), rows[to], from < to ? "down" : "up");+ const from = activeRows.findIndex((row) => row.id === active.id);+ const to = activeRows.findIndex((row) => row.id === over.id);+ move(String(active.id), activeRows[to], from < to ? "down" : "up");};return (<DndContext sensors={sensors} collisionDetection={closestCenter} onDragEnd={onDragEnd}>- <SortableContext items={rows.map((row) => row.id)} strategy={verticalListSortingStrategy}>+ <SortableContext items={activeRows.map((row) => row.id)} strategy={verticalListSortingStrategy}><div className="grid gap-0.5">- {rows.map((row, index) => {- const previous = rows[index - 1];+ {activeRows.map((row, index) => {+ const previous = activeRows[index - 1];const newPage = multiPage && row.page !== previous?.page;const sidebarStarts = row.column === "sidebar" && (previous?.column !== "sidebar" || newPage);@@ -98,13 +101,24 @@ export function Outline({ locked, page }: OutlineProps) {sectionId={row.id}locked={locked}page={page}- onMove={(direction) => move(row.id, rows[direction === "up" ? index - 1 : index + 1], direction)}+ onMove={(direction) =>+ move(row.id, activeRows[direction === "up" ? index - 1 : index + 1], direction)+ }/></Fragment>);})}</div></SortableContext>++ {hiddenRows.length > 0 && (+ <div className="grid gap-0.5">+ <Divider label={<Trans>Hidden sections</Trans>} />+ {hiddenRows.map((row) => (+ <OutlineSection key={row.id} sectionId={row.id} locked={locked} page={page} />+ ))}+ </div>+ )}</DndContext>);}@@ -128,7 +142,7 @@ type OutlineSectionProps = {sectionId: string;locked: boolean;page: PageSettings;- onMove: (direction: "up" | "down") => void;+ onMove?: ((direction: "up" | "down") => void) | undefined;};function OutlineSection({ sectionId, locked, page, onMove }: OutlineSectionProps) {diff --git a/apps/web/src/features/resume/editor/write/section-row.tsx b/apps/web/src/features/resume/editor/write/section-row.tsxindex 2ecbb069a..dc0fdfafb 100644--- a/apps/web/src/features/resume/editor/write/section-row.tsx+++ b/apps/web/src/features/resume/editor/write/section-row.tsx@@ -47,8 +47,8 @@ export function useSectionTitle(section: WriteSection) {type SectionRowProps = {section: WriteSection;locked: boolean;- /** ⌥↑ / ⌥↓ on the focused title. */- onMove: (direction: "up" | "down") => void;+ /** ⌥↑ / ⌥↓ on the focused title. Hidden sections sit outside the print order, so they have none. */+ onMove?: ((direction: "up" | "down") => void) | undefined;children: ReactNode;};@@ -68,7 +68,7 @@ export function SectionRow({ section, locked, onMove, children }: SectionRowPropconst updateResumeData = useUpdateResumeData();const { setNodeRef, transform, transition, isDragging, attributes, listeners } = useSortable({id: section.id,- disabled: locked,+ disabled: locked || hidden,transition: DRAG_SETTLE,});@@ -84,7 +84,7 @@ export function SectionRow({ section, locked, onMove, children }: SectionRowPropconst onTitleKeyDown = (event: KeyboardEvent<HTMLButtonElement>) => {if (!event.altKey || (event.key !== "ArrowUp" && event.key !== "ArrowDown")) return;event.preventDefault();- onMove(event.key === "ArrowUp" ? "up" : "down");+ onMove?.(event.key === "ArrowUp" ? "up" : "down");};return (@@ -102,8 +102,11 @@ export function SectionRow({ section, locked, onMove, children }: SectionRowProp<buttontype="button"aria-label={t`Reorder ${title}`}- disabled={locked}- className="flex h-11 w-7 shrink-0 cursor-grab items-center justify-center text-ink-3 active:cursor-grabbing disabled:cursor-default"+ disabled={locked || hidden}+ className={cn(+ "flex h-11 w-7 shrink-0 cursor-grab items-center justify-center text-ink-3 active:cursor-grabbing disabled:cursor-default",+ hidden && "opacity-40",+ )}{...attributes}{...listeners}>@@ -168,7 +171,7 @@ export function SectionRow({ section, locked, onMove, children }: SectionRowProp);}-type SectionMenuProps = { section: WriteSection; title: string; onMove: (direction: "up" | "down") => void };+type SectionMenuProps = Pick<SectionRowProps, "section" | "onMove"> & { title: string };/** Everything else a section can do: add, sort, heading, rename, icon, layout and reset or delete. */function SectionMenu({ section, title, onMove }: SectionMenuProps) {@@ -277,14 +280,18 @@ function SectionMenu({ section, title, onMove }: SectionMenuProps) {<Trans>Sort by date</Trans></DropdownMenuItem>)}- <DropdownMenuItem onClick={() => onMove("up")}>- <Icon name="arrow-up" />- <Trans>Move up</Trans>- </DropdownMenuItem>- <DropdownMenuItem onClick={() => onMove("down")}>- <Icon name="arrow-down" />- <Trans>Move down</Trans>- </DropdownMenuItem>+ {onMove && (+ <>+ <DropdownMenuItem onClick={() => onMove("up")}>+ <Icon name="arrow-up" />+ <Trans>Move up</Trans>+ </DropdownMenuItem>+ <DropdownMenuItem onClick={() => onMove("down")}>+ <Icon name="arrow-down" />+ <Trans>Move down</Trans>+ </DropdownMenuItem>+ </>+ )}<DropdownMenuItem onClick={rename}><Icon name="pencil-simple" /><Trans>Rename…</Trans>diff --git a/docs/guides/managing-sections.mdx b/docs/guides/managing-sections.mdxindex c909e724d..a9f892506 100644--- a/docs/guides/managing-sections.mdx+++ b/docs/guides/managing-sections.mdx@@ -7,7 +7,7 @@ A section is one block of your resume, such as Experience, Education or Skills.## Where your sections live-Open a resume and select **Write** in the editor bar. Below the Basics card is the **Sections · print order** list. It shows every section that has content, in the order it prints: page by page, and within each page the main column first, then the sidebar.+Open a resume and select **Write** in the editor bar. Below the Basics card is the **Sections · print order** list. It shows every section that has content, in the order it prints: page by page, and within each page the main column first, then the sidebar. Sections you've hidden from the page are kept together in a **Hidden sections** group at the end of the list.<Frame caption="The Sections · print order list with page and sidebar dividers"><img@@ -75,7 +75,7 @@ Use a custom section when none of the built-in names fits, or when you want a se## Hide or show a section-Select the **eye** icon on a section's row. A hidden section's title is struck through in the list and it disappears from the page, but its content stays in the resume. Hidden sections aren't printed, downloaded or shared. Select the eye again to bring the section back.+Select the **eye** icon on a section's row. The section moves to a **Hidden sections** group at the end of the list: its title is struck through and its drag handle is dimmed. Its content stays in the resume, but it isn't printed, downloaded or shared. Select the eye again to bring the section back; it returns to its usual place in the print order.To hide a single entry instead of the whole section, use **Hide from page** in the entry's menu. See [Editing entries](/guides/editing-entries#hide-an-entry-from-the-page).@@ -87,6 +87,8 @@ The list order is the print order, so moving a row moves the section on the page- Select the section's title and press <kbd>⌥ Option</kbd> + <kbd>↑</kbd> or <kbd>↓</kbd> (<kbd>Alt</kbd> + <kbd>↑</kbd> or <kbd>↓</kbd> on Windows and Linux).- Open the **⋯** menu and select **Move up** or **Move down**.+Hidden sections keep their place and can't be moved until you show them again.+Moving a section past a divider moves it onto that page or column. For example, dragging a section below the **Sidebar** divider puts it in the sidebar. To change the columns, sidebar width or number of pages themselves, see [Arranging the layout](/guides/arranging-the-layout).## Section options