Skip to content

Commit

Permalink
Merge pull request #30 from bradenn/patch
Browse files Browse the repository at this point in the history
Patch 2.14.2
  • Loading branch information
bradenn authored Jul 18, 2022
2 parents 8a7429b + 4b0e9a0 commit 1e1b81a
Show file tree
Hide file tree
Showing 53 changed files with 1,932 additions and 1,123 deletions.
2 changes: 1 addition & 1 deletion app/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function createWindow() {
backgroundColor: '#000000',
autoHideMenuBar: true,
show: true,
kiosk: true,
kiosk: false,
fullscreen: true,
removeMenu: true,
frame: false,
Expand Down
1 change: 1 addition & 0 deletions client/public/custom/textures/map.hdr

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions client/src/components/Deck.vue

This file was deleted.

119 changes: 0 additions & 119 deletions client/src/components/Diagnostics.vue

This file was deleted.

33 changes: 0 additions & 33 deletions client/src/components/Dock.vue

This file was deleted.

12 changes: 0 additions & 12 deletions client/src/components/Progress.vue

This file was deleted.

65 changes: 0 additions & 65 deletions client/src/components/Shortcut.vue

This file was deleted.

34 changes: 0 additions & 34 deletions client/src/components/WidgetDeck.vue

This file was deleted.

39 changes: 0 additions & 39 deletions client/src/components/widgets/Fractal.vue

This file was deleted.

1 change: 0 additions & 1 deletion client/src/components/widgets/Light.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ let props = defineProps<{

// Inject the remote manifest
let remote = inject('remote') as Remote
let context: any = inject('context')

// When the view loads, force the local state to update
onMounted(() => {
Expand Down
8 changes: 6 additions & 2 deletions client/src/components/zone/ZonePreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import Plot from "@/components/plot/Plot.vue";
import {inject} from "vue";
import type {Remote, Zone} from "@/types";
import axios from "axios";

interface ZoneProps {
zone: Zone
Expand All @@ -15,10 +16,14 @@ let props = defineProps<ZoneProps>()
let remote = inject('remote') as Remote

function restoreZone(id: string) {
axios.post(`http://localhost:3020/zones/${id}/restore`).then(res => {
}).catch(err => console.log(err))
// remote.nexus.requestId("zone", "restore", "", id)
}

function deleteZone(id: string) {
axios.post(`http://localhost:3020/zones/${id}/delete`).then(res => {
}).catch(err => console.log(err))
// remote.nexus.requestId("zone", "delete", "", id)
}

Expand All @@ -32,8 +37,7 @@ function deleteZone(id: string) {
</div>
<div class="d-flex label-sm label-o4 subplot justify-content-end px-1 subplot-inline"
@click="props.zone.deleted?restoreZone(props.zone.id):deleteZone(props.zone.id)">
<div
>
<div>
{{ props.zone.deleted ? 'Restore' : 'Delete' }}
</div>

Expand Down
2 changes: 1 addition & 1 deletion client/src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import Summary from "../views/terminal/weather/Summary.vue";
import Whiteboard from "@/views/terminal/whiteboard/Whiteboard.vue";

// Calculator Routes
import Calculator from "@/views/screensaver/Screensaver.vue";
import Calculator from "@/views/screensaver/Bounce.vue";

// Atlas Routes
import Atlas from "@/views/terminal/atlas/Atlas.vue";
Expand Down
Loading

0 comments on commit 1e1b81a

Please sign in to comment.