Part of moving modal state to a context and hook. There is only ever one modal shown at a time.
The rest of the currentModal props will be removed in upcoming diffs when the new hook is applied/used.
Differential D3194
[web] [refactor] currentModal --> modal • benschac on Feb 14 2022, 9:35 AM. Authored by Tags None Referenced Files
Details
Part of moving modal state to a context and hook. There is only ever one modal shown at a time. The rest of the currentModal props will be removed in upcoming diffs when the new hook is applied/used. Make sure modals still work
Diff Detail
Event TimelineComment Actions
Is it possible that this assumption may change in the future? Will the changes we plan on making affect that possibility? Comment Actions Having two modals shown at once is kinda weird UX. I haven't seen it in a while. I'm open to changing it if you think it could change. At that point maybe second modal would be better? |