Skip to content

Commit

Permalink
Merge branch 'adg/100-scheme-editor-side-panel' into adg/125-namespac…
Browse files Browse the repository at this point in the history
…e-section
  • Loading branch information
aarongundel committed Dec 3, 2024
2 parents 679715a + 639c60d commit bf93afd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const schemeComponents = [
const emit = defineEmits(["maximize", "side", "close", "updated"]);
const toggleSize = () => {
if (props.editorMax) {
emit("maximize");
Expand Down Expand Up @@ -64,18 +63,20 @@ const updateScheme = async () => {
}),
);
emit('updated');
emit("updated");
};
</script>

<template>
<div>
<div class="header">
<div>
<h2>{{ $gettext("Editor Tools") }}</h2>
<h3>{{ $gettext("Editor Tools") }}</h3>
<div>
<Button @click="toggleSize">
<Button
:aria-label="$gettext('toggle editor size')"
@click="toggleSize"
>
<i
:class="{
pi: true,
Expand All @@ -85,7 +86,10 @@ const updateScheme = async () => {
aria-hidden="true"
/>
</Button>
<Button @click="$emit('close')">
<Button
:aria-label="$gettext('close editor')"
@click="$emit('close')"
>
<i
class="pi pi-times"
aria-hidden="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ const { $gettext } = useGettext();
abc
</SchemeReportSection>
</template>

4 changes: 2 additions & 2 deletions arches_lingo/src/arches_lingo/pages/SchemePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import SchemeStandard from "@/arches_lingo/components/scheme/report/SchemeStanda
import SchemeAuthority from "@/arches_lingo/components/scheme/report/SchemeAuthority.vue";
import SchemeEditor from "@/arches_lingo/components/scheme/editor/SchemeEditor.vue";
const editorVisible = ref<boolean>(true);
const sectionVisible = ref<boolean>(true);
const editorVisible = ref(true);
const sectionVisible = ref(true);
const editorTab = ref<string>();
type sectionTypes =
| typeof SchemeNamespace
Expand Down

0 comments on commit bf93afd

Please sign in to comment.