Ref T5307. Adds a better query check query, sets required for the name, adds the correct URI for cancelling.
Details
Details
- Reviewers
epriestley - Maniphest Tasks
- T5307: UX for taking actions with search results
- Commits
- rP9b07adb8dad3: Add better error checking to 'Add to Dashboard'
Test a form without a name, fake a query string, test cancel button.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/applications/dashboard/controller/PhabricatorDashboardQueryPanelInstallController.php | ||
---|---|---|
44 | who's a good query is it you? are you a good query?? pet pet pat yes you're a good query |
Comment Actions
I'm not a fan of adding the Dashboard ID to select, but maybe I could just switch to typeahead if you have more than n dashboards. I just want to solve a real problem not a test data problem. Will see what happens when I use it on this install. :)
src/applications/dashboard/controller/PhabricatorDashboardQueryPanelInstallController.php | ||
---|---|---|
32 | Oh, this should be $v_query. |