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
F16437509: D17235.id41452.diff
Mon, Jun 16, 1:07 PM
Unknown Object (File)
Mon, Jun 2, 9:50 PM
Unknown Object (File)
Mon, Jun 2, 10:30 AM
Unknown Object (File)
Thu, May 29, 8:59 AM
Unknown Object (File)
May 8 2025, 12:05 AM
Unknown Object (File)
May 7 2025, 4:15 AM
Unknown Object (File)
May 6 2025, 2:57 PM
Unknown Object (File)
Apr 11 2025, 7:28 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