Skip to content

Conversation

AntoLC
Copy link
Collaborator

@AntoLC AntoLC commented Sep 2, 2025

Comment Feature

The comment feature is a powerful tool that allows users to engage in discussions, share their thoughts, and provide feedback on various topics.

Key Features

  • Interactive Discussions: Users can respond to each other's comments, creating a dynamic and engaging conversation.

  • Real-time Updates: Comments appear instantly, keeping the conversation up-to-date and relevant.

  • User Interaction: Users can like or react to comments, showing appreciation and encouraging further discussion.

Demo

Comments.-.Docs.1.webm

@AntoLC AntoLC self-assigned this Sep 2, 2025
@AntoLC AntoLC added frontend wip feature add a new feature labels Sep 2, 2025
@AntoLC AntoLC changed the base branch from main to feat/comments September 2, 2025 16:08
@AntoLC AntoLC changed the base branch from feat/comments to main September 2, 2025 16:09
@AntoLC AntoLC changed the title Feat/comments frontend ✨(frontend) Comments ! Sep 3, 2025
@AntoLC AntoLC force-pushed the feat/comments-frontend branch 5 times, most recently from 1d7a236 to fe926fc Compare September 12, 2025 15:52
@lunika lunika mentioned this pull request Sep 16, 2025
3 tasks
@AntoLC AntoLC linked an issue Sep 18, 2025 that may be closed by this pull request
@AntoLC AntoLC force-pushed the feat/comments-frontend branch 3 times, most recently from d0b3691 to 5c5bda3 Compare September 22, 2025 09:54
Copy link

github-actions bot commented Sep 22, 2025

Size Change: +52.7 kB (+1.44%)

Total Size: 3.71 MB

Filename Size Change
apps/impress/out/_next/static/a709a6bf/_buildManifest.js 0 B -864 B (removed) 🏆
apps/impress/out/_next/static/chunks/1245.js 0 B -520 kB (removed) 🏆
apps/impress/out/_next/static/chunks/8495.js 54.6 kB +2.69 kB (+5.18%) 🔍
apps/impress/out/_next/static/chunks/framework.js 107 kB +49 kB (+85.03%) 🆘
apps/impress/out/_next/static/chunks/pages/_app.js 415 kB +886 B (+0.21%)
apps/impress/out/_next/static/css/3152bba33325959c.css 0 B -25.2 kB (removed) 🏆
apps/impress/out/_next/static/a4e9c603/_buildManifest.js 864 B +864 B (new file) 🆕
apps/impress/out/_next/static/chunks/1774.js 520 kB +520 kB (new file) 🆕
apps/impress/out/_next/static/css/eb2eef9acbb2c36e.css 25.2 kB +25.2 kB (new file) 🆕

compressed-size-action

@lunika lunika force-pushed the feat/comments-frontend branch 2 times, most recently from 1e618a0 to f51df8b Compare September 23, 2025 07:08
@lunika lunika marked this pull request as ready for review September 23, 2025 07:08
@AntoLC AntoLC force-pushed the feat/comments-frontend branch from f51df8b to eb93470 Compare September 29, 2025 12:42
@AntoLC AntoLC added backend and removed wip labels Sep 29, 2025
@AntoLC AntoLC changed the title ✨(frontend) Comments ! ✨Comments ! Sep 29, 2025
@AntoLC AntoLC force-pushed the feat/comments-frontend branch 5 times, most recently from 804d204 to 66109d9 Compare September 30, 2025 08:50
@AntoLC AntoLC force-pushed the feat/comments-frontend branch from 2a2f7a2 to c2698a3 Compare October 1, 2025 17:07
lunika and others added 4 commits October 1, 2025 19:09
To allow a user to comment a document we added a new role: commentator.
Commentator is higher than reader but lower than editor.
In order to store the comments on a document, we created a new model
Comment. User is nullable because anonymous users can comment a Document
is this one is public with a link_role commentator.
This commit add the CRUD part to manage comment lifeycle. Permissions
are relying on the Document and Comment abilities. Comment viewset
depends on the Document route and is added to the
document_related_router. Dedicated serializer and permission are
created.
In order to use comment we also have to implement a thread and reactions
API. A thread has multiple comments and comments can have multiple
reactions.
@AntoLC AntoLC force-pushed the feat/comments-frontend branch 2 times, most recently from ea52d6c to 64f6016 Compare October 1, 2025 20:09
AntoLC added 6 commits October 2, 2025 11:01
Implemented the comments feature for the document
editor.
We are now able to add, view, and manage comments
within the document editor interface.
We extracted the UserAvatar component from the
doc-share feature and integrated it into
the users feature. It will be used in the
thread comments feature as well.
A circular dependency was introduced in the previous
commit.
This commit resolves the circular dependency by
refactoring the code to remove the circular reference.
Replace the default comment toolbar button with
a custom one to follow the design system.
On smaller screens, the markdown button in the
toolbar was not every time visible.
We fix this issue.
@AntoLC AntoLC force-pushed the feat/comments-frontend branch from 1d8b7a5 to 68594f5 Compare October 2, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨Comments on text editor
2 participants