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

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:43 AM
bzimport set Reference to bz70841.
bzimport added a subscriber: Unknown Object (MLST).
Legoktm created this task.Sep 15 2014, 11:04 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 26 2015, 8:04 AM
Legoktm closed this task as Declined.Aug 2 2015, 6:42 AM
Legoktm claimed this task.

Gadgets 2.0 is no longer implementing global gadgets.

Nemo_bis removed a subscriber: Nemo_bis.Aug 8 2015, 5:19 PM
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptNov 10 2015, 5:53 PM