Skip to content

Commit

Permalink
fix initial help drawer pop up 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Nov 15, 2023
1 parent 0f49c1c commit dd43f9f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
7 changes: 2 additions & 5 deletions packages/renderer/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import { setCssVar } from 'quasar';
import { onMounted, ref, reactive } from 'vue';
import AppProperties from './AppProperties.ts';
import ArcControlService from './ArcControlService.ts';
import AppProperties from './AppProperties';
import ArcControlService from './ArcControlService';
setCssVar('primary', '#2d3e50');
// import arcProperties from './ArcProperties.ts';
// import ArcCommanderService from './ArcCommanderService.ts';
Expand Down Expand Up @@ -79,8 +79,6 @@ onMounted(async () => {
iProps.error_text = 'Unable to detect GIT.<br>Please verify that GIT is installed.';
iProps.error = true;
}
// This is absolutly insane? Without this line the default in iProps is ignored? How?
iProps.showHelp = false;
// iProps.toolbarMinimized = true;
// openLocalArc('/home/jones/external/projects/TEMP/ArcPrototype');
// await ArcCommanderService.init();
Expand Down Expand Up @@ -150,7 +148,6 @@ const test = async ()=>{
</q-drawer>

<q-drawer
show-if-above
v-model="iProps.showHelp"
side="right"
bordered
Expand Down
28 changes: 21 additions & 7 deletions packages/renderer/src/views/ArcTreeView.vue
Original file line number Diff line number Diff line change
@@ -1,23 +1,37 @@
<script lang="ts" setup>
import { reactive, ref, nextTick, watch, onMounted, onUnmounted, h } from 'vue';
import ContextMenu from '@imengyu/vue3-context-menu'
import AppProperties from '../AppProperties.ts';
import ArcControlService from '../ArcControlService.ts';
import AppProperties from '../AppProperties';
import ArcControlService from '../ArcControlService';
import StringDialog from '../dialogs/StringDialog.vue';
import AddProtocolDialog from '../dialogs/AddProtocolDialog.vue';
import NewAssayDialog from '../dialogs/NewAssayDialog.vue';
import { useQuasar } from 'quasar'
import {ArcStudy, ArcAssay} from '@nfdi4plants/arctrl/ISA/ISA/ArcTypes/ArcTypes.js';
const $q = useQuasar();
import {ArcStudy, ArcAssay} from '@nfdi4plants/arctrl/ISA/ISA/ArcTypes/ArcTypes.js';
interface ArcTreeViewNode {
header: string;
type: string;
id: string;
label: string | undefined;
lazy: boolean;
icon: string;
selectable: boolean;
isDirectory: boolean;
}
let init: {
nodes: ArcTreeViewNode [];
root: string
} = {
nodes: [],
root: ''
}
const emit = defineEmits(['openArc']);
const props = reactive({
nodes: [],
root: ''
});
const props = reactive(init);
const arcTree = ref(null);
const selected = ref(null);
Expand Down

0 comments on commit dd43f9f

Please sign in to comment.