-
Notifications
You must be signed in to change notification settings - Fork 62
MaterialItem Done-Checkbox, API #7956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MaterialItem Done-Checkbox, API #7956
Conversation
💥 Feature branch deployment failed
|
carlobeltrame
left a comment
There was a problem hiding this 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" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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?
4d527d7 to
5cd593c
Compare
dcae7b2 to
a872bad
Compare
Fixes #6218