UX - Avoid opening member by clicking the checkbox closes #233 #250

Open
moritz wants to merge 2 commits from feature/223_member_checkbox into main
Owner

Description of the implemented changes

The changes were:

  • Bugfixing
  • New Feature
  • Breaking Change
  • Refactoring

What has been changed?

Definition of Done

Code Quality

  • No new technical depths
  • Linting passed
  • Documentation is added were needed

Accessibility

  • New elements are properly defined with html-tags
  • Colour contrast follows WCAG criteria
  • Aria labels are added when needed
  • Everything is accessible by keyboard
  • Tab-Order is comprehensible
  • All interactive elements have a visible focus

Testing

  • Tests for new code are written
  • All tests pass
  • axe-core dev tools show no critical or major issues

Additional Notes

## Description of the implemented changes The changes were: - [x] Bugfixing - [ ] New Feature - [ ] Breaking Change - [ ] Refactoring <!--- Describe the goal of the PR in a few words --> ## What has been changed? <!--- List the things you changed --> ## Definition of Done ### Code Quality - [x] No new technical depths - [x] Linting passed - [ ] Documentation is added were needed ### Accessibility - [ ] New elements are properly defined with html-tags - [ ] Colour contrast follows WCAG criteria - [ ] Aria labels are added when needed - [ ] Everything is accessible by keyboard - [ ] Tab-Order is comprehensible - [ ] All interactive elements have a visible focus ### Testing - [x] Tests for new code are written - [x] All tests pass - [x] axe-core dev tools show no critical or major issues ## Additional Notes <!--- Add any additional information for the reviewers here -->
moritz self-assigned this 2025-12-03 14:36:07 +01:00
moritz added 2 commits 2025-12-03 14:36:08 +01:00
- Add col_click slot attribute to table component that overrides row_click
- Clicking anywhere in the checkbox column now toggles the checkbox
- Clicking other columns still navigates to member details

Closes #223
requested review from rafael 2025-12-03 16:37:58 +01:00
rafael reviewed 2025-12-03 16:43:12 +01:00
@ -396,0 +396,4 @@
(col[:col_click] && col[:col_click].(@row_item.(row))) ||
(@row_click && @row_click.(row))
}
class={(col[:col_click] || @row_click) && "hover:cursor-pointer"}
Collaborator

Seems like this is a tiny bit off at the moment - there's a small area below the checkbox where the cursor changes from the "pointer" image to the normal cursor, which is a bit confusing

Seems like this is a tiny bit off at the moment - there's a small area below the checkbox where the cursor changes from the "pointer" image to the normal cursor, which is a bit confusing
rafael reviewed 2025-12-03 16:44:45 +01:00
rafael reviewed 2025-12-03 16:47:06 +01:00
rafael reviewed 2025-12-03 16:47:22 +01:00
This pull request has changes conflicting with the target branch.
  • lib/mv_web/components/core_components.ex
  • priv/gettext/de/LC_MESSAGES/default.po
  • priv/gettext/default.pot
  • priv/gettext/en/LC_MESSAGES/default.po
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/223_member_checkbox:feature/223_member_checkbox
git checkout feature/223_member_checkbox

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff feature/223_member_checkbox
git checkout feature/223_member_checkbox
git rebase main
git checkout main
git merge --ff-only feature/223_member_checkbox
git checkout feature/223_member_checkbox
git rebase main
git checkout main
git merge --no-ff feature/223_member_checkbox
git checkout main
git merge --squash feature/223_member_checkbox
git checkout main
git merge --ff-only feature/223_member_checkbox
git checkout main
git merge feature/223_member_checkbox
git push origin main
Sign in to join this conversation.
No description provided.