[PR #748] [MERGED] Fix bug for renaming folders in file system database #875

Closed
opened 2026-03-03 00:23:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BoostIO/BoostNote-App/pull/748
Author: @Komediruzecki
Created: 12/28/2020
Status: Merged
Merged: 12/31/2020
Merged by: @Rokt33r

Base: masterHead: bugfix/rename-folder-regexp-escapes


📝 Commits (1)

  • b2a64f8 Fix bug for renaming folders in file system database

📊 Changes

2 files changed (+10 additions, -5 deletions)

View changed files

📝 src/lib/db/FSNoteDb.ts (+9 -4)
📝 src/lib/string.ts (+1 -1)

📄 Description

Fix bug for renaming folders in file system database (#747)

  • Add escape for "[" character in regex escape characters
  • Update FSNoteDb to use the regex escapes while renaming folder

Todo:

  • After operation is finished/failed, it would be nice to show user a push message/notification of the successfuly/failed rename/removal

Test

  • In electron Linux App (dev)
  • In electron Linux App production version (appImage)

🔄 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/748 **Author:** [@Komediruzecki](https://github.com/Komediruzecki) **Created:** 12/28/2020 **Status:** ✅ Merged **Merged:** 12/31/2020 **Merged by:** [@Rokt33r](https://github.com/Rokt33r) **Base:** `master` ← **Head:** `bugfix/rename-folder-regexp-escapes` --- ### 📝 Commits (1) - [`b2a64f8`](https://github.com/BoostIO/BoostNote-App/commit/b2a64f876a6e1e2690d03447305b582320f677ae) Fix bug for renaming folders in file system database ### 📊 Changes **2 files changed** (+10 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/db/FSNoteDb.ts` (+9 -4) 📝 `src/lib/string.ts` (+1 -1) </details> ### 📄 Description **Fix bug for renaming folders in file system database** (#747) - Add escape for "[" character in regex escape characters - Update FSNoteDb to use the regex escapes while renaming folder Todo: - [ ] After operation is finished/failed, it would be nice to show user a push message/notification of the successfuly/failed rename/removal Test - In electron Linux App (dev) - In electron Linux App production version (appImage) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:23:36 +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#875
No description provided.