Skip to content

Conversation

@pmattmann
Copy link
Member

@pmattmann pmattmann commented Aug 11, 2025

Fixes #6218

  • API
  • Frontend-Functionality
  • Frontend beauty @manuelmeister can you help me?
  • UnitTests

@BacLuc BacLuc added the deploy! Creates a feature branch deployment for this PR label Aug 11, 2025
@BacLuc BacLuc temporarily deployed to feature-branch August 11, 2025 21:14 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented Aug 11, 2025

💥 Feature branch deployment failed

Name Link
🕒 Last attempted at Fri Oct 03 2025 21:43:59 GMT+0200
🔨 Latest commit 4d527d76cc1c61c01fd2aa395af4e48c0a661001
🔍 Latest deploy log https://github.com/ecamp/ecamp3/actions/runs/18230958174/job/51917553325

@pmattmann pmattmann requested a review from a team August 14, 2025 16:24
Copy link
Member

@carlobeltrame carlobeltrame left a comment

Choose a reason for hiding this comment

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

Guests can have material items assigned to them, but can never toggle the checkboxes. Is that the way we want it to work?

Also, the flag is still missing in the excel export. Please implement :)

:layout-mode="layoutMode"
:material-item-collection="materialItemCollection"
:disabled="disabled"
:done-checklist-disabled="true"
Copy link
Member

@carlobeltrame carlobeltrame Aug 16, 2025

Choose a reason for hiding this comment

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

IMO, the disabled state of the checkbox is not clearly recognizable, and in the current form I find the checkbox in the activity detail confusing. It's a checkbox which looks normal but I can't click it. If we insist on keeping it in the activity detail, I'd vote to display it as an icon instead of a checkbox (e.g. a checkmark icon if done, and no icon otherwise), to make it clear that it cannot be interacted with.
Also, maybe we could hide the column if none of the items have the flag set? To avoid it wasting space and being confusing at the same time?

</template>

<template #[`item.done`]="{ item }">
<api-checkbox
Copy link
Member

Choose a reason for hiding this comment

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

It should at the very least be vertically centered in the table row


<template #[`item.done`]="{ item }">
<api-checkbox
:disabled="layoutMode || doneChecklistDisabled || disabled"
Copy link
Member

Choose a reason for hiding this comment

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

Nice that you considered layoutMode, but in the activity detail and category detail view, doneChecklistDisabled is always set, isn't it?

@manuelmeister manuelmeister self-requested a review September 2, 2025 20:49
@pmattmann pmattmann changed the title MaterialItem Done-Checkbox, API + Frontend (draft) MaterialItem Done-Checkbox, API Oct 3, 2025
@pmattmann pmattmann added this pull request to the merge queue Oct 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 3, 2025
@carlobeltrame carlobeltrame added this pull request to the merge queue Oct 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 3, 2025
@pmattmann pmattmann removed the deploy! Creates a feature branch deployment for this PR label Oct 3, 2025
@pmattmann pmattmann force-pushed the feature/checklist-item-done-checkbox branch from 4d527d7 to 5cd593c Compare October 3, 2025 20:53
@pmattmann pmattmann force-pushed the feature/checklist-item-done-checkbox branch from dcae7b2 to a872bad Compare October 3, 2025 22:09
@pmattmann pmattmann added this pull request to the merge queue Oct 4, 2025
Merged via the queue into ecamp:devel with commit a330841 Oct 4, 2025
115 of 125 checks passed
@pmattmann pmattmann deleted the feature/checklist-item-done-checkbox branch October 4, 2025 07:00
This was referenced Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Material List with In-App Item Tracking

4 participants