Replace hard-coded handlers with lookups
Registered by
Aiman Baharna
Currently, handlers for cell types are hard-coded into switch statements. This reduces flexibility to introduce plugins. We need a completely new design pattern.
Rather than hard-coding, handlers need to be put into a hash table with a mapping to their cell-type. Plugins can then append to this hashtable to add their own handlers for their own cell-types.
Needless to say, cell-types will also need this flexibility so that new cell-types can be added on the fly.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- High
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- None
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Aiman Baharna
Related branches
Related bugs
Sprints
Whiteboard
(?)