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 9, 3:10 AM
Unknown Object (File)
Sun, Feb 9, 3:10 AM
Unknown Object (File)
Sun, Feb 9, 3:10 AM
Unknown Object (File)
Sat, Feb 8, 9:11 PM
Unknown Object (File)
Sat, Feb 1, 12:16 PM
Unknown Object (File)
Fri, Jan 24, 6:48 PM
Unknown Object (File)
Fri, Jan 24, 6:48 PM
Unknown Object (File)
Fri, Jan 24, 6:48 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