[PR #224] [MERGED] Restructure root folder #677

Closed
opened 2026-03-03 00:22:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BoostIO/BoostNote-App/pull/224
Author: @ButteryCrumpet
Created: 12/24/2019
Status: Merged
Merged: 12/25/2019
Merged by: @kazup01

Base: masterHead: restructure-root-folder


📝 Commits (9)

  • 24a877d moved 'All Notes' under Storage name nav
  • df27e2b move notes in / to default
  • c8ca966 disallow root (/) folder creation
  • 17d0e11 create /default folder on createStorage
  • 9116120 new note on right-click on folder
  • f47c5d2 createNote only on folder NoteLists
  • 5cd98e4 fixed wrong storageId on sync bug
  • f484210 adjust tests for removed / folder and added /default folder
  • cd3773d Merge branch 'master' into restructure-root-folder

📊 Changes

10 files changed (+73 additions, -56 deletions)

View changed files

📝 src/components/NotePage/NoteList/NoteList.tsx (+2 -2)
📝 src/components/NotePage/NotePage.tsx (+3 -1)
📝 src/components/SideNavigator/FolderListFragment.tsx (+6 -12)
📝 src/components/SideNavigator/SideNavigator.tsx (+3 -0)
📝 src/lib/db/NoteDb.spec.ts (+13 -14)
📝 src/lib/db/NoteDb.ts (+28 -10)
📝 src/lib/db/store.spec.ts (+5 -5)
📝 src/lib/db/store.ts (+8 -2)
📝 src/lib/db/utils.spec.ts (+1 -8)
📝 src/lib/db/utils.ts (+4 -2)

📄 Description

  • Users can see all notes among all folders from Storage name nav
  • Delete the current root folder (All Notes) Root folder no longer exists, cannot be created.
  • Create a default folder called "Default" automatically when storage is created
  • Migrate notes in "All Notes" to "Default"
  • Hide new note button other than UI that users choose the folder
  • New note on right-click on the folder
  • Users can not create note if there is no folder
  • Fixed bug where synced notes would not update their storageId

note-app-new-note-ctx
note-app-no-notecreate


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BoostIO/BoostNote-App/pull/224 **Author:** [@ButteryCrumpet](https://github.com/ButteryCrumpet) **Created:** 12/24/2019 **Status:** ✅ Merged **Merged:** 12/25/2019 **Merged by:** [@kazup01](https://github.com/kazup01) **Base:** `master` ← **Head:** `restructure-root-folder` --- ### 📝 Commits (9) - [`24a877d`](https://github.com/BoostIO/BoostNote-App/commit/24a877d17e6f8e5de86cf500efd18a86a207bbfb) moved 'All Notes' under Storage name nav - [`df27e2b`](https://github.com/BoostIO/BoostNote-App/commit/df27e2bf308ab527edaaaf17af37921f0235d300) move notes in / to default - [`c8ca966`](https://github.com/BoostIO/BoostNote-App/commit/c8ca966db9bfbf469739cd70f5a2db9ace16a253) disallow root (/) folder creation - [`17d0e11`](https://github.com/BoostIO/BoostNote-App/commit/17d0e11fee4be33e31a55b1f06e04c88f98a295c) create /default folder on createStorage - [`9116120`](https://github.com/BoostIO/BoostNote-App/commit/911612005039946069eea93ba6f9d6b681874054) new note on right-click on folder - [`f47c5d2`](https://github.com/BoostIO/BoostNote-App/commit/f47c5d2b703a4906e5f4005991c3e5dcf3fab5f9) createNote only on folder NoteLists - [`5cd98e4`](https://github.com/BoostIO/BoostNote-App/commit/5cd98e4c97c8b28637328f4741f4225ea78b0ef2) fixed wrong storageId on sync bug - [`f484210`](https://github.com/BoostIO/BoostNote-App/commit/f484210bc8e091cf728b84c6dde4d3f30a176947) adjust tests for removed / folder and added /default folder - [`cd3773d`](https://github.com/BoostIO/BoostNote-App/commit/cd3773d4b564959b17582f603c96f9ea25715fe4) Merge branch 'master' into restructure-root-folder ### 📊 Changes **10 files changed** (+73 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `src/components/NotePage/NoteList/NoteList.tsx` (+2 -2) 📝 `src/components/NotePage/NotePage.tsx` (+3 -1) 📝 `src/components/SideNavigator/FolderListFragment.tsx` (+6 -12) 📝 `src/components/SideNavigator/SideNavigator.tsx` (+3 -0) 📝 `src/lib/db/NoteDb.spec.ts` (+13 -14) 📝 `src/lib/db/NoteDb.ts` (+28 -10) 📝 `src/lib/db/store.spec.ts` (+5 -5) 📝 `src/lib/db/store.ts` (+8 -2) 📝 `src/lib/db/utils.spec.ts` (+1 -8) 📝 `src/lib/db/utils.ts` (+4 -2) </details> ### 📄 Description - Users can see all notes among all folders from Storage name nav - Delete the current root folder (All Notes) Root folder no longer exists, cannot be created. - Create a default folder called "Default" automatically when storage is created - Migrate notes in "All Notes" to "Default" - Hide new note button other than UI that users choose the folder - New note on right-click on the folder - Users can not create note if there is no folder - Fixed bug where synced notes would not update their storageId ![note-app-new-note-ctx](https://user-images.githubusercontent.com/19530989/71403032-d9798080-2671-11ea-94ad-304729586d96.png) ![note-app-no-notecreate](https://user-images.githubusercontent.com/19530989/71403033-d9798080-2671-11ea-8f13-6d37cc594af1.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:22:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#677
No description provided.