- Refactor all routes to constant files in an object
- Disable Login / Signup button after pressing using react-query
- Switch
error-listfrom anidto aclass - Migrate Note textarea to use
useRenderGraphQLErrorList - Find a way to refactor CSS into more concise way
- Fix initial loading of Notes not showing
- Go through CSS codebase to ensure font sizes are set to rem and not to em
- Query SpecialSomeoneForUser and Notes fire up when changing tabs. Should not happen
- Call REST endpoint to get Special Someone's Name
- Reuse as much as possible date picker between [slug].tsx and Notes.tsx
- Put a "refresh" button in
/ss/[slug]route - Show toast message in
/ss/[slug]after pressing refresh button but no new notes were found - Show toast message in admin section after creating new notes
- Implement Delete Note
- Implement Zod for form validation
- Fix "No New Notes" at this time warning. Showing up even when there are new notes
- Refactor project structure to make better sense
- Extract UserEndpoint.cs into separate classes
- Look for opportunities to introduce a IDateTimeProvider and remove concrete implementations of DateTime
- Refactor exceptions to use Result Pattern with NuGet ErrorOr or OneOf
- Replace Special Someone UniqueId with ID Generator + Base62
- Create REST endpoint to get Special Someone's Name
- Encrypt notes
- Re-organize RestEndpoints. Separate folders, append Request to models that need it
- Implement rate limiter in
special-someone-name/{identifier}route. NoteQueries.cs, SpecialSomeoneName.cs - Implement some sort of captcha for spam user account creation
- Implement Delete Note
https://webdesign.tutsplus.com/create-a-sticky-note-effect-in-5-easy-steps-with-css3-and-html5--net-13934t https://www.npmjs.com/package/randomcolor https://css-tricks.com/re-pleasing-color-palettes/ https://tanstack.com/query/latest/docs/framework/react/guides/window-focus-refetching https://nextjs.org/docs/pages/api-reference/next-cli https://dev.to/oluwadareseyi/deploying-to-your-local-ip-address-with-nextjs-1hoi
just use the queryClient directly