Skip to content

fix(comments): fetch existing file comments on component mount - #66123

Open
Jashan32 wants to merge 1 commit into
nextcloud:masterfrom
Jashan32:fix/comments-not-loaded-after-reload
Open

Jashan32 wants to merge 1 commit into
nextcloud:masterfrom
Jashan32:fix/comments-not-loaded-after-reload

Conversation

@Jashan32

Copy link
Copy Markdown

Assisted-by: Copilot:gpt-5.6

Summary

  • Comments appear immediately after being submitted.
  • After a browser reload, existing comments disappear from the UI.
  • The initial comments fetch was missing during component mounting.
  • Added this.getComments() to the mounted() lifecycle hook in CommentsApp.vue.
  • Corrected the debug logger reference, if included in the final diff.

Before:

Screencast.From.2026-11-01.00-41-32.mp4

After:

Screencast.From.2026-11-01.01-04-44.mp4

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Assisted-by: Copilot:gpt-5.6
Signed-off-by: jashan32 <jashandeep1849@gmail.com>
@Jashan32
Jashan32 requested a review from a team as a code owner October 31, 2026 19:35
@Jashan32
Jashan32 requested review from kristian-zendato, pringelmann and skjnldsv and removed request for a team October 31, 2026 19:35

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

[Bug]: File comments disappear after page reload

1 participant