From ba20c482bbb8b1350fc494ea70d37fb40fe91509 Mon Sep 17 00:00:00 2001 From: Zach Baird <30800863+ZachBaird@users.noreply.github.com> Date: Tue, 9 May 2023 19:48:47 -0400 Subject: [PATCH] Wire up homepage & library (#83) * Top 10 packs & mods by follows plugged into home page. Modpacks installable. * Only displays row if packs are present. Confirmation modal added. Displays play or X ctas. * Fixes attr ordering. * Rewires library page. Adds loader. * Updates kill_by_pid to kill_by_uuid. * Starts loading animation when installing on homepage. * Changes RowDisplay key. Polish. * Removes loader. Fixes InstallConfirmModal. * Removes loader. Polishing. * Z-index changes. * Z-index changes. * Fixes content going off screen. * Styling changes. * Filters out projects already installed on the home page. * Wires up instance.vue, homepage, and appbar to process API. * Cleans up process handling. App bar partially hooked up. * Removes scoped in Settings to fix AnimatedLogo. Adds loader to Instance. * Moves ctas outside of card. * Adds mouse over to Stop btn. * Removes unnecessary code. Fixes uuid reset. * Wires up Instance.vue to process API. * Removes appbar mod count. Updates code to use new linked_data and updated events. * Switches load_listener to profile_listener. Unlistens on unmount. * Cleans up instance card styling. * Fixes margin with uncollapsed navbar. Ensures RowDisplay has data. * Updates profile_listener. Increases stack size. * Provides more margin when navbar is expanded. * fix proper * Re-adds calculated width and height. Fixes navbar. * Increases stack size further. Navbar is not absolute. View width made into var. * Ensures the specific isntance for a killed process is set to off. * fix menu when not logged in --------- Co-authored-by: Jai A --- .cargo/config.toml | 2 +- theseus_gui/src/App.vue | 27 +- .../src/assets/stylesheets/global.scss | 2 + theseus_gui/src/components/RowDisplay.vue | 28 +- .../src/components/ui/AccountsCard.vue | 2 +- theseus_gui/src/components/ui/Instance.vue | 340 ++++++++++++++---- theseus_gui/src/helpers/events.js | 2 +- theseus_gui/src/pages/Index.vue | 58 ++- theseus_gui/src/pages/Library.vue | 19 +- theseus_gui/src/pages/Settings.vue | 2 +- 10 files changed, 371 insertions(+), 111 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 37c78c26b..fa8480ead 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,3 @@ # Windows has stack overflows when calling from Tauri, so we increase compiler size [target.'cfg(windows)'] -rustflags = ["-C", "link-args=/STACK:8388608"] \ No newline at end of file +rustflags = ["-C", "link-args=/STACK:16777220"] \ No newline at end of file diff --git a/theseus_gui/src/App.vue b/theseus_gui/src/App.vue index ca735f151..fb1b7424d 100644 --- a/theseus_gui/src/App.vue +++ b/theseus_gui/src/App.vue @@ -1,11 +1,10 @@