Migrate all URL-based modals (usePushModal) to the state-based system (dispatch(pushModal(...))) #473

Closed
opened 2026-02-28 19:05:30 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @j-f1 on GitHub (Jul 2, 2023).

Many modals currently use the dispatch(pushModal()) / actions.pushModal system instead of the (presumably?) newer router-based usePushModal system. When touching these modals, we should migrate them to the new system.

Originally created by @j-f1 on GitHub (Jul 2, 2023). Many modals currently use the `dispatch(pushModal())` / `actions.pushModal` system instead of the (presumably?) newer router-based `usePushModal` system. When touching these modals, we should migrate them to the new system.
GiteaMirror added the tech debt label 2026-02-28 19:05:30 -06:00
Author
Owner

@j-f1 commented on GitHub (Jul 3, 2023):

Thinking about this again, I think we should go the other way — usePushModal modals are weird because they affect the URL which messes up a bunch of subtle things in the app (including the way they take up the whole page if you refresh while one is open).

@j-f1 commented on GitHub (Jul 3, 2023): Thinking about this again, I think we should go the other way — `usePushModal` modals are weird because they affect the URL which messes up a bunch of subtle things in the app (including the way they take up the whole page if you refresh while one is open).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#473