Skip to content

Comments frontend: Useable UI - #10454

Open
carlobeltrame wants to merge 9 commits into
ecamp:develfrom
carlobeltrame:comments-frontend
Open

Comments frontend: Useable UI#10454
carlobeltrame wants to merge 9 commits into
ecamp:develfrom
carlobeltrame:comments-frontend

Conversation

@carlobeltrame

@carlobeltrame carlobeltrame commented Aug 1, 2026

Copy link
Copy Markdown
Member
Screenshot 2026-08-02 at 00-13-49 Local · eCamp v3

Implements the following points from #828 (comment):

  • Make UI for creating, reading and deleting comments useable
  • Enable feature toggle
  • Add a place to display orphan comments or comments on the camp itself, without activity reference

Some further steps are already planned out and ready for being implemented.

carlobeltrame and others added 5 commits August 1, 2026 15:50
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
For now, it's easier to not allow access to outsiders. We can introduce
this later if it's really needed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This is especially relevant in the story overview and in the new
comments panel.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
While loading collaborations, this helper is different from
`!isOutsider`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@carlobeltrame
carlobeltrame requested a review from a team August 1, 2026 22:19
@carlobeltrame carlobeltrame mentioned this pull request Aug 1, 2026
@carlobeltrame carlobeltrame added the deploy! Creates a feature branch deployment for this PR label Aug 1, 2026
Comment on lines -44 to -83
{
"_links": {
"activity": {
"href": "escaped_value"
},
"author": {
"href": "escaped_value"
},
"camp": {
"href": "escaped_value"
},
"self": {
"href": "escaped_value"
}
},
"createTime": "escaped_value",
"id": "escaped_value",
"orphanDescription": "escaped_value",
"textHtml": "escaped_value"
},
{
"_links": {
"activity": {
"href": "escaped_value"
},
"author": {
"href": "escaped_value"
},
"camp": {
"href": "escaped_value"
},
"self": {
"href": "escaped_value"
}
},
"createTime": "escaped_value",
"id": "escaped_value",
"orphanDescription": "escaped_value",
"textHtml": "escaped_value"
},

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prototype camp comment and public camp comment were previously visible and now aren't anymore.

@carlobeltrame
carlobeltrame temporarily deployed to feature-branch August 1, 2026 22:36 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

Feature branch deployment ready!

Name Link
😎 Deployment https://pr10454.ecamp3.ch/
🔑 Login test@example.com / test
🕒 Last deployed at Sun Aug 02 2026 10:41:35 GMT+0200
🔨 Latest commit 2e6f781ec56e912f1d61306ca049fc1357293933
🔍 Latest deploy log https://github.com/ecamp/ecamp3/actions/runs/30740153625/job/91476186162
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

carlobeltrame and others added 4 commits August 2, 2026 10:34
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@pmattmann pmattmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 🥳

  • I found one Bug:

    • go to Activity-View
    • create a Comment
    • navigate to Camp-Overview
      => Comment-Side-View is still visible - but unusable (not event [X] is working)
  • Second bug:

    • User-Menu (top right) is behind Comment-View
      When Comment-View is visible, User-Menu is not usable

An idea:
Can we add any indicator, that a activity has some comments.

Image

@pmattmann
pmattmann requested a review from a team August 2, 2026 14:15
@manuelmeister

Copy link
Copy Markdown
Member

Really nice, thx!

Some basic UI improvements:

  • visually distinguish between comment foreground and comment container background
  • choose a different color for the comment card background, to make it more clear what is printed content and what is discussion
  • add an active state for the comment toggle button (I'm not sure yet if it makes sense there)
  • remove the submit button (until dirty, or focus), as this takes away precious space to read the existing comments. We could "inline" the submit button, just like the popular chat interfaces.
  • add a fade to make it clear that there are more comments.
Bildschirmfoto 2026-08-02 um 16 31 52

Can we add any indicator, that a activity has some comments.

Cool idea! The question is, if we should show this popup bubble, if it's not possible to "dismiss" it. Some people hate these things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy! Creates a feature branch deployment for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants