issues
search
ArchangeLillith
/
knitters-fren
A knitting pattern website for myself and others
MIT License
0
stars
0
forks
source link
Finish of admin panel (for now)
#101
Closed
ArchangeLillith
closed
2 months ago
ArchangeLillith
commented
2 months ago
Additions
Added modal functionality.
PDF integrations, pulling from S3.
Expanded the AdminPanel with most desired features for now.
Added backend support for handling CRUD operations for:
Comments
Authors
Searches
Implemented ban user functionality.
Added comment functionality (read/write); update/delete still in progress.
Added middleware for author verification.
Added logging functionality visible to admins; currently enabled on a select few routes.
Integrated author functionality; every pattern now has an associated author.
Enhanced styling across the application.
Added the
paid
property to patterns and an icon to indicate paid patterns, including a tooltip that explains its meaning.
Deletions
Removed all Toast notifications; unable to get them working.
Refactors
Broke down large views into smaller, reusable components.
Reorganized the file system: components for specific pages are now grouped into their own folders within the larger components directory.
Cleaned up type definitions.
Improved login and registration logic in the authentication flow.
Autofocus added on the login input field; need to add the same for search functionality.
Search by author is now functional.
Refactored
base
(fetch abstraction) to handle errors more cleanly.
Cleaned up various service implementations.
Removed state types from all views and exported them from the types utility for cleaner TSX files.
Refactored pattern fetches to automatically include associated tags and return them in a structured object.
Extracted some reusable functions into a utility module.
Consolidated most page states into a single state object rather than multiple single states.
Additions
paid
property to patterns and an icon to indicate paid patterns, including a tooltip that explains its meaning.Deletions
Refactors
base
(fetch abstraction) to handle errors more cleanly.