Skip to content

Centralize shared state in Authoring section

The editor section has a component pipeline_editor_tabs which renders each component we need for each tab. Some logic is duplicated when handling generic state. For example, when the editor config file is empty, each section has to display some kind of message on their own (which we currently don't do at all) but instead of each root component handling it, we should have a generic empty state component since the message will be the same for each section. Here is a table of each tab and each state, and which one requires a shared state and which ones are unique.

Invalid State Empty State
Editor Unique Unique
Viz Shared Shared
Lint Unique Shared
Merged Shared Shared
Edited by Frédéric Caplette