writedown icon indicating copy to clipboard operation
writedown copied to clipboard

public accessible post

Open A-ryan-Kalra opened this issue 1 month ago • 3 comments

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.
  • 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.
  • 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.

A-ryan-Kalra avatar May 07 '24 21:05 A-ryan-Kalra