This is a really exciting PR! Firstly the main event:
Note and Section Moving
Notes and sections can be moved between notebooks now! Well, the library has had the feature for a week or two but now it's in the main app!
In the note/section options modal, there's a new option to move the item to another notebook. The old way to do this was by manually editing the NPX files, which I think a total of only two people (myself included) have dared to do.
Notepad Explorer Quality-Of-Life
Right clicking on a notebook title, section title, and note title will bring up the options! No more scrolling to get to the cog (unless you want to)
Refactors
The entire notebook explorer part of the codebase has been refactored into the new way I'm wanting to structure code. The tl;dr is that having a "components" and "containers" directory provides no meaningfully useful separation and slows development down. The new approach is to keep containers alongside their components and to use ConnectedProps to make the container
the source of truth for all store-derived props.
I've also turned a few more things into functional components. I'm still not using hooks because I'm not a fan of that whole architectural approach.
This is a really exciting PR! Firstly the main event:
Note and Section Moving
Notes and sections can be moved between notebooks now! Well, the library has had the feature for a week or two but now it's in the main app!
In the note/section options modal, there's a new option to move the item to another notebook. The old way to do this was by manually editing the NPX files, which I think a total of only two people (myself included) have dared to do.
Notepad Explorer Quality-Of-Life
Refactors
The entire notebook explorer part of the codebase has been refactored into the new way I'm wanting to structure code. The tl;dr is that having a "components" and "containers" directory provides no meaningfully useful separation and slows development down. The new approach is to keep containers alongside their components and to use
ConnectedProps
to make the container the source of truth for all store-derived props.I've also turned a few more things into functional components. I'm still not using hooks because I'm not a fan of that whole architectural approach.