Skip to content

Move theming to a register based approach #15815

@rullzer

Description

@rullzer

Right now we do a lot of weird magic to make theming work. because it overwrite the defaults (in part). In doing this weird magic we also intialize a lot of classes that might not even be required (for example if you do a pure API request).

Long story short we should move this to how we handle Sentry/Support.
Theming can register itself in the server if it is there. And then the requests for data are proxied.

That way initialization of the Defaults is trivial and quick. And the loading of theming can be lazy and only done when actually required.

CC: @MorrisJobke @ChristophWurst

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions