As a user, I want to see the log of each reputation.
As a developer, I want to display everything relevant and related to the log.
Additional Tasks
1 unique rep by a commenter on each profile page.
The owner of the profile page cannot make a reputation of itself. (client-side and server-side protection).
Display information (no reps) if a profile page has no reputation.
Make toast popup reusable.
Features
Log button on click opens a modal displaying relevant log information and details.
Displays no reps if the profile does not have any.
Created a Log.tsx component which will be displayed once the modal is open.
Changes
Adjust schema to fit with one-to-one relationship and enable log object.
cToast.tsx toast popup is reusable now in the root component folder.
Children components of rep page may have cToast export path change.
Included log and profile objects in the getReps.tsx payload in profile-data.ts.
Type-safe log object in types.ts.
Known issues or Bugs
Couldn't implement the task for unique rep, restricting owners from making a rep of themselves. I am looking to carry this task over to a new user story involving the implementation of a rich text editor for the log form. I'm looking to revamp or finalize the UI as well.
Overview
Completed Basic Log modal.
38
User Stories
Additional Tasks
Features
Log.tsx
component which will be displayed once the modal is open.Changes
cToast.tsx
toast popup is reusable now in the root component folder.rep
page may havecToast
export path change.log
andprofile
objects in thegetReps.tsx
payload inprofile-data.ts
.log
object intypes.ts
.Known issues or Bugs
Couldn't implement the task for unique rep, restricting owners from making a rep of themselves. I am looking to carry this task over to a new user story involving the implementation of a rich text editor for the log form. I'm looking to revamp or finalize the UI as well.
Snapshots
Log Modal
A profile page with no reputation.
Let me know if there's anything I missed.