Skip to content

Tasks set up data refactor#241

Merged
taoTimTim merged 4 commits intomainfrom
Tasks-setUpData-refactor
Mar 29, 2025
Merged

Tasks set up data refactor#241
taoTimTim merged 4 commits intomainfrom
Tasks-setUpData-refactor

Conversation

@ivonanicetin
Copy link
Copy Markdown
Collaborator

refactored setUpData function, reused common code in the methods in MyTasks page and TeamTasks page
Resolves #240

@ivonanicetin ivonanicetin self-assigned this Mar 29, 2025
Copy link
Copy Markdown
Collaborator

@taoTimTim taoTimTim left a comment

Choose a reason for hiding this comment

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

Refactoring looks great, makes it easier to understand what is going on and maintain in the future should this project be continued in the future.

Creating the helper function mapTaskItem was a great idea.

All tests failing are unrelated to this change, ready to merge.

@taoTimTim taoTimTim merged commit 10a7557 into main Mar 29, 2025
1 of 2 checks passed
@taoTimTim taoTimTim deleted the Tasks-setUpData-refactor branch March 30, 2025 09:32
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.

Refactor duplicate setupData methods

2 participants