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
F13060627: D17235.diff
Fri, Apr 19, 6:08 PM
Unknown Object (File)
Sun, Apr 14, 4:34 AM
Unknown Object (File)
Thu, Apr 11, 6:38 AM
Unknown Object (File)
Wed, Apr 10, 2:49 AM
Unknown Object (File)
Tue, Apr 9, 10:24 PM
Unknown Object (File)
Tue, Apr 9, 6:51 PM
Unknown Object (File)
Tue, Apr 9, 6:42 PM
Unknown Object (File)
Tue, Apr 9, 6:08 PM
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
Branch
validate1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15339
Build 20195: Run Core Tests
Build 20194: arc lint + arc unit