-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show richer zap reactions #547 #557
base: dev
Are you sure you want to change the base?
Conversation
|
793b457
to
99a3400
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Give the pills a little margin (probably px-2 py-1, or maybe just p-1)
- Only show a single date for each group of reactions/zaps/reposts
- Use text-sm to make the description text the same size as the date
54cc4cd
to
a2635d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, let's just remove the date entirely since we already have the day showing above.
</div> | ||
<NoteReducer shouldAwait shouldSort {events} depth={1} bind:items let:event let:getContext> | ||
<slot {event} context={getContext(event)}> | ||
<div>Missing child component</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for an error, just use a self-closing slot tag
In the notification tab:
If there is more than one zap, show all zap activity and aggregate similar messages (many are boilerplate) into chips containing the message and aggregated people's avatar.
Same thing for reactions.
If it is a one person action, show the zap amount and content as well, but also the date of the event
Most of the logic happens in the NoteActivity component, it handles reactions and interactions and differ quite a bit from NoteMeta.