Skip to content

Add edit action to routine list items - #1351

Open
charugupta-dev wants to merge 1 commit into
wger-project:masterfrom
charugupta-dev:fix/1275-routine-list-edit-action
Open

Add edit action to routine list items#1351
charugupta-dev wants to merge 1 commit into
wger-project:masterfrom
charugupta-dev:fix/1275-routine-list-edit-action

Conversation

@charugupta-dev

Copy link
Copy Markdown
Contributor

Description

This PR resolves #1275 by adding a direct edit action button to each routine card in the routines list screen.

Changes Made

  • Added an IconButton with Icons.edit immediately to the left of the VerticalDivider in RoutinesList.
  • Tapping the edit button navigates directly to RoutineEditScreen with the corresponding routine ID.
  • Ensured the edit button is properly enabled when the routine is accessible/hydrated and disabled when offline and not cached.
  • Updated routine_list_screen_test.dart with tests verifying the edit action button appearance, navigation, and offline behavior.

Fixes #1275

Allow users to directly edit a routine from the routines list by adding an edit action button to the trailing row. Fixes wger-project#1275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an edit action to routine list items

1 participant