Page MenuHomePhabricator

Validate menu item fields (links, projects, dashboards, applications, forms, etc)
ClosedPublic

Authored by epriestley on Jan 20 2017, 7:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 23, 9:40 PM
Unknown Object (File)
Sun, Feb 23, 10:19 AM
Unknown Object (File)
Sun, Feb 23, 7:53 AM
Unknown Object (File)
Sat, Feb 22, 4:08 PM
Unknown Object (File)
Fri, Feb 21, 4:20 PM
Unknown Object (File)
Fri, Feb 21, 3:07 PM
Unknown Object (File)
Thu, Feb 20, 11:45 AM
Unknown Object (File)
Sun, Feb 9, 3:10 AM
Subscribers
None

Details

Summary

Ref T12128. This adds validation to menu items.

This feels a touch flimsy-ish (kind of copy/paste heavy?) but maybe it can be cleaned up a bit once some similar lightweight modular item types (build steps in Harbormaster, blueprints in Drydock) convert.

Test Plan
  • Tried to create each item with errors (no dashboard, no project, etc). Got appropriate form errors.
  • Created valid items of each type.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable