Skip to content
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

General Comment Enhancements #104

Open
Atulin opened this issue Sep 10, 2024 · 0 comments
Open

General Comment Enhancements #104

Atulin opened this issue Sep 10, 2024 · 0 comments

Comments

@Atulin
Copy link
Collaborator

Atulin commented Sep 10, 2024

Notifications

Subscribing to arbitrary threads is a bit too much, methinks. It's just the post/chapter/profile owner who should be notified of new comments on their stuff. Temporarily removed all notifications from new comments (52eaa9c) until a better solution for that can be found.

Complexity

Comments are hella complex, perhaps something can be simplified? See #60

Vue

It's... a mess. Non-compiled Vue 2 components that take server-side rendered page as a template, causing a ton of false warnings in the IDE and a generally miserable experience. The same is true for other places where Vue is used this way, but it sticks out here the most, since comments are so complex.

Perhaps we could consider moving to Lit, and compiling the whole thing all nice and proper-like? Perhaps the comment box can just be a separate, embedded Vue app?

Atulin added a commit that referenced this issue Sep 10, 2024
- Now a single handler for all comments instead of four separate ones
- Now discernible by an enum, not by strings
- Removed edit count and last edited date from comment entity. That data isn't necessary for display and can be trivially procured from the list of revisions
- Disallowed Markdown headings in comments
- JS code now uses generated paths properly
- Removed notifications from comments, see #104
@Atulin Atulin mentioned this issue Sep 10, 2024
26 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant