Skip to content

Commit 2f8f70d

Browse files
committed
Rename General Notes to Root/Files across the application
1 parent 7d2196f commit 2f8f70d

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/app/dashboard/manage/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ export default function ManageStructurePage() {
399399
}}
400400
onClick={() => setSelectedFolder(null)}
401401
>
402-
<span>General Notes / All</span>
402+
<span>Files / All</span>
403403
</li>
404404
{folders.map(f => (
405405
<li key={f.id} style={{
@@ -423,7 +423,7 @@ export default function ManageStructurePage() {
423423
<div className="card">
424424
<div style={{ display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: "1rem", borderBottom: "1px solid var(--border)", paddingBottom: "0.5rem" }}>
425425
<h3>
426-
{selectedFolder ? `Notes in ${selectedFolder.name}` : 'General Notes'}
426+
{selectedFolder ? `Notes in ${selectedFolder.name}` : 'Files'}
427427
</h3>
428428
{selectedFolder && (
429429
<div style={{ display: "flex", gap: "0.5rem" }}>

src/components/dashboard/CreateFolderModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default function CreateFolderModal({
8585
</label>
8686
<div style={{ padding: "0.75rem", background: "rgba(34, 197, 94, 0.1)", border: "1px solid rgba(34, 197, 94, 0.2)", borderRadius: "6px", fontSize: "0.9rem", color: "var(--success)", fontWeight: 600, display: 'flex', alignItems: 'center', gap: '0.5rem' }}>
8787
<Folder size={16} />
88-
{currentLocationName || "Home (General Notes)"}
88+
{currentLocationName || "Home (Files)"}
8989
</div>
9090
</div>
9191

src/components/dashboard/MoveItemsModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default function MoveItemsModal({ isOpen, onClose, onMove, itemCount }: M
106106
disabled={!selectedSub}
107107
>
108108
<Home size={18} />
109-
<span>General Notes (No Folder)</span>
109+
<span>Main Directory (No Folder)</span>
110110
</button>
111111
{folders.map(folder => (
112112
<button

src/components/dashboard/MyNotes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ export default function MyNotes() {
629629
isOpen={isCreateModalOpen}
630630
onClose={() => setIsCreateModalOpen(false)}
631631
onCreate={handleCreateFolder}
632-
currentLocationName={currentFolder ? currentFolder.name : "Home (General Notes)"}
632+
currentLocationName={currentFolder ? currentFolder.name : "Home (Files)"}
633633
availableFiles={visibleNotes}
634634
availableFolders={visibleFolders}
635635
/>

src/components/dashboard/UploadFlow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,13 +372,13 @@ export default function UploadFlow() {
372372
className={styles.select}
373373
style={{ width: "100%", background: "var(--surface)", color: "var(--text-main)" }}
374374
>
375-
<option value="">General Notes (Root)</option>
375+
<option value="">Files (Root)</option>
376376
{folders.map(f => <option key={f.id} value={f.id}>{f.name}</option>)}
377377
</select>
378378
<p style={{ fontSize: "0.8rem", color: "var(--text-muted)", marginTop: "0.5rem" }}>
379379
{selectedFolder
380380
? "Files will be uploaded into this folder."
381-
: "Files will be uploaded to 'General Notes' unless they are inside a folder you drag-and-drop."}
381+
: "Files will be uploaded to the root directory unless they are inside a folder you drag-and-drop."}
382382
</p>
383383
</div>
384384

0 commit comments

Comments
 (0)