Page MenuHomePhabricator

2.0: Document best practices for creating local overrides of global gadgets
Closed, DeclinedPublic

Description

We don't want people copying entire gadgets just to change one variable or something.

Instead the core gadget code should accept options via a constructor or something, and then a local gadget should depend upon that one, and just pass the local settings to the global gadget's constructor.

Just need to document this somewhere!


Version: unspecified
Severity: normal

Details

Reference
bz70841