Altinn / Altinn/app-frontend-react
Allow Opening a Row by Clicking Anywhere on the Row
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 33
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
### Description
I propose a change in the interaction model for opening rows in repeating groups (table-like components).
**Current Behavior**
- A row can only be opened by clicking the “Edit” button.
This requires precise targeting, which can slow down users, especially when working with many rows.
**Proposed Change**
- Make the entire row clickable to open it, not just the “Edit” button.
- Keep the “Edit” button as a secondary, explicit way to open the row for users who prefer it.
**Benefits**
- Improves usability by making row interactions faster and more intuitive.
- Reduces the need for precise clicking, which is helpful for users on touch devices or with motor impairments.
- Aligns with common UX patterns where clicking a row expands or opens its details.
### Additional Information
_No response_
Contributor guide
Research direction
Locate the repeating-group row rendering and the existing Edit button interaction in the frontend. Verify how row clicks and interactive controls are handled, then confirm that clicking anywhere on a row opens it while the Edit button remains available as an explicit alternative.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100