Page MenuHomePhabricator

When a user clicks a navigation link in a dialog, close the dialog
ClosedPublic

Authored by epriestley on Jun 6 2019, 1:50 AM.
Tags
None
Referenced Files
F16688558: D20573.id49115.diff
Tue, Jun 17, 3:23 PM
F16548501: D20573.id49076.diff
Tue, Jun 17, 1:02 AM
F16528773: D20573.diff
Mon, Jun 16, 10:43 PM
Unknown Object (File)
Sun, Jun 15, 8:42 PM
Unknown Object (File)
Sat, Jun 14, 2:51 AM
Unknown Object (File)
Sat, Jun 14, 2:51 AM
Unknown Object (File)
Wed, May 21, 8:10 PM
Unknown Object (File)
May 7 2025, 6:26 PM
Subscribers
None

Details

Summary

Ref T13302. Currently, if you enable Quicksand (by clicking "Persistent Chat"), open a dialog with links in it (like "Create Subtask" with multiple available subtypes), and then follow a navigation link, the page content reloads behind the dialog but the dialog stays in the foreground.

Fix this by closing dialogs when users click navigation links inside them.

Test Plan

With Quicksand enabled and disabled, clicked a subtask type in the "Create Subtask" dialog.

  • Before, Quicksand Disabled: Dialog stays on screen, then navigation occurs.
  • After, Quicksand Disabled: Dialog vanishes, then navigation occurs.
  • Before, Quicksand Enabled: Dialog stays on screen, navigation occurs behind it.
  • After, Quicksand Enabled: Dialog vanishes, then navigation occurs.

Diff Detail

Repository
rP Phabricator
Branch
quicksand1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22951
Build 31495: Run Core Tests
Build 31494: arc lint + arc unit

Event Timeline

amckinley added inline comments.
webroot/rsrc/externals/javelin/lib/Workflow.js
98

Needs less "so", I think.

This revision is now accepted and ready to land.Jun 18 2019, 9:49 PM