writedown
writedown copied to clipboard
public accessible post
This PR fixes issue #102. Added an icon that will display which post is publicly accessible.
https://github.com/NayamAmarshe/writedown/assets/80680671/16999605-c066-4147-8e6f-a604319523c9
Summary by CodeRabbit
-
New Features
- Introduced a custom hook
useMounted
to track component mount status.
- Introduced a custom hook
-
Enhancements
- Simplified note data management by consolidating multiple state atoms into a single
selectedNote
object. - Updated UI components to reflect changes in state management using
selectedNote
properties.
- Simplified note data management by consolidating multiple state atoms into a single
-
Bug Fixes
- Fixed issues related to toggling public viewing and saving notes.
- Corrected file download filenames to use the note's title.
-
Chores
- Modified Firebase script in
package.json
to stop certain ports before starting emulators.
- Modified Firebase script in