Skip to content

Commit

Permalink
Rename HTML elements component, make minor code cleanup edits.
Browse files Browse the repository at this point in the history
Co-authored by:
Janica Abagat [email protected]
Trisha Duong [email protected]
David Lee [email protected]
  • Loading branch information
Jaime de Venecia committed Sep 6, 2023
1 parent b3ca4f0 commit 1b45b18
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/components/right-sidebar/ComponentDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<q-tab-panels v-model="tab" animated class="html-bg text-white">
<!-- HTML Elements -->
<q-tab-panel name="newhtml">
<V10HTMLQueue />
<HTMLElementsList />
</q-tab-panel>

<!-- Code Preview -->
Expand Down Expand Up @@ -119,7 +119,7 @@
import { computed } from "vue";
import { useStore } from "../../store/main.js";
import { Component } from "../../../types";
import V10HTMLQueue from "./V10HTMLQueue.vue";
import HTMLElementsList from "./HTMLElementsList.vue";
import CodeSnippet from "./CodeSnippet.vue";
/* COMPUTED VALUES */
Expand Down
5 changes: 2 additions & 3 deletions src/components/right-sidebar/Tree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { useStore } from "../../store/main.js";
import VueTree from "@overvue/vue3-tree-chart";
import "@overvue/vue3-tree-chart/dist/vue3-tree-chart.css";
import V10HTMLQueue from "./V10HTMLQueue.vue";
import HTMLElementsList from "./HTMLElementsList.vue";
/* LIFECYCLE HOOKS */
onMounted(() => {
Expand Down Expand Up @@ -259,8 +259,7 @@ watch(componentMap, () => (treeData.value = buildTree(componentMap.value)), {
{{ activeComponent }}
</div>
<div class="modal-box">
<!-- <HTMLQueue /> -->
<V10HTMLQueue />
<HTMLElementsList />
</div>
</div>
</q-dialog>
Expand Down
10 changes: 2 additions & 8 deletions src/store/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,8 @@ import {
breadthFirstSearchParent,
} from "src/utils/search.util";

import { isProxy, toRaw } from "vue";
import {
State,
Actions,
Component,
RouteComponentMap,
HtmlElement,
} from "../../types";
import { toRaw } from "vue";
import { State, Actions, Component, HtmlElement } from "../../types";
import { Store } from "pinia";
import localforage from "localforage";
// *** GLOBAL *** //////////////////////////////////////////////
Expand Down

0 comments on commit 1b45b18

Please sign in to comment.