memos icon indicating copy to clipboard operation
memos copied to clipboard

Improvements to comments feature (button, sorting)

Open flyingcakes85 opened this issue 7 months ago • 2 comments

Pre-submission Checklist

  • [x] I have searched existing issues and confirmed this feature has not been requested
  • [x] This is a feature request, not a bug report or question

Feature Area

User Interface (UI)

Problem or Use Case

  1. If a memo has no existing comments, the comment button on top right is not shown on it. Adding comment on such a memo requires user to copy the url and paste in a new tab. This is a cumbersome process, especially on mobile devices.
  2. On the memo page, the sorting of comments can include a chronological option (in addition to the current default of reverse chronological).

Proposed Solution

  1. Memos already have a comment button shown on hover if they have existing comments. The source code could be updated to have that button visible irrespective of the number of comments.
  2. Sorting could be implemented client side and should be fairly straightforward.

I'm proposing this solution based on my limited programming experience and I do not have knowledge of how Memos source code is structured.

Alternatives Considered

No response

Additional Context

No response

Contribution

  • [ ] I'm willing to submit a pull request for this feature

flyingcakes85 avatar Apr 14 '26 10:04 flyingcakes85

Why

Previously, users had to navigate to the memo detail page to write a comment. This improvement allows users to comment directly from the homepage, improving the user experience.

Changes

  • Modified MemoView.tsx: Show comment preview section for logged-in users
  • Modified MemoCommentListView.tsx: Added inline comment editor and "Write a comment" button

demonstratation

Image

jin225298 avatar Apr 16 '26 08:04 jin225298

The comments button not showing up unless comments exist: this is a bug, not a feature request, and should be treated as such (with the higher priority that goes along with that.)
I just set up and started using memos, and have never seen a comments button (this explains why.) being able to comment is a huge feature, that is essentially unavailable for those that aren't "in the know"

DarkRanger935 avatar May 15 '26 15:05 DarkRanger935