Skip to content

Make LeftAndMain abstract and other small refactoring in this class #1763

Open
@GuySartorelli

Description

@GuySartorelli

There's no good reason to instantiate LeftAndMain. It should be abstract.

Related

Acceptance criteria

  • LeftAndMain is made abstract
  • Anything that requires instantiating LeftAndMain is refactored to use a concrete class instead.
  • A new abstract getModelClass() method is created
  • The tree_class configuration property is removed - anything that used this configuration is updated to call getModelClass() instead.
  • Methods which used that config are updated according to the "tree_class config" section in this comment unless doing so causes unforeseen problems
  • Recommendations in the "Additional recommendations" section in this comment are applied unless doing so causes unforeseen problems

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions