Skip to content

feat: allow editing old sessions via popup dialog #798

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Rohitdhall987
Copy link

Proposed Changes

  • Added a popup dialog to edit workout session data directly.
  • Used a simplified approach to avoid complex prop drilling and tightly-coupled widget structure.

Related Issue(s)

Description

The existing code structure was quite nested and involved a lot of prop drilling.
Many parts of the UI depended on each other, and attempting to refactor everything to insert editing logic would risk breaking the flow or functionality.

Instead of trying to untangle the entire structure, I went for a simpler and more isolated approach by adding an editable popup dialog.
This keeps the current structure intact while still allowing the session to be updated efficiently.

I reused your existing logic and helper functions wherever possible to keep the behavior consistent.
Functionally, the popup works identically to the original workflow but with less complexity.

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.

1 participant