refactor(editor): enhance sidebar UI and card registration in SettingsEditor
- Updated the sidebar UI in EditorCardRegistry to improve visibility and theming consistency using ThemeManager. - Refactored SettingsEditor to register multiple settings cards, enhancing modularity and organization of settings. - Improved the layout and interaction of category tabs, ensuring a more intuitive user experience. Benefits: - Streamlines the settings management process, leading to a more organized and efficient user interface. - Enhances maintainability by clearly defining card registration and visibility logic within the editor framework.
This commit is contained in:
@@ -52,8 +52,8 @@ const std::unordered_map<EditorType, bool> EditorRegistry::kCardBasedEditors = {
|
||||
{EditorType::kAssembly, true},
|
||||
{EditorType::kEmulator, true},
|
||||
{EditorType::kHex, true},
|
||||
{EditorType::kAgent, true},
|
||||
{EditorType::kSettings, true}
|
||||
{EditorType::kAgent, false}, // Agent: Traditional UI
|
||||
{EditorType::kSettings, true} // Settings: Now card-based for better organization
|
||||
};
|
||||
|
||||
bool EditorRegistry::IsCardBasedEditor(EditorType type) {
|
||||
|
||||
Reference in New Issue
Block a user