[REF] devtools: linting and context menu rework

This commit cleans up linting issues and proposes a new implementation
for the devtools custom context menus.
This commit is contained in:
Julien Carion (juca)
2024-10-23 15:45:29 +02:00
committed by Géry Debongnie
parent 5ecb4809ff
commit aff4019cde
15 changed files with 373 additions and 218 deletions
@@ -1,13 +1,14 @@
const { Component } = owl;
import { ComponentsTab } from "./components_tab/components_tab";
import { Tab } from "./tab/tab";
import { ProfilerTab } from "./profiler_tab/profiler_tab";
import { ContextMenu } from "../context_menu/context_menu";
import { useStore } from "../store/store";
import { ComponentsTab } from "./components_tab/components_tab";
import { ProfilerTab } from "./profiler_tab/profiler_tab";
import { Tab } from "./tab/tab";
export class DevtoolsWindow extends Component {
static props = [];
static template = "devtools.DevtoolsWindow";
static components = { ComponentsTab, Tab, ProfilerTab };
static components = { ComponentsTab, Tab, ProfilerTab, ContextMenu };
setup() {
this.store = useStore();
}