Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚩PR (Connecting): Reworked code base to use new NPM package of grid-uikit #704

Merged
merged 8 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
FI from stable
  • Loading branch information
elsoazemelet committed May 7, 2024
commit 2604249d1d41cb417a0b2a00d38e2bd8b33cc505
2 changes: 1 addition & 1 deletion src/renderer/main/modals/AddVirtualModule.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
</div>
<div class="flex flex-row gap-2 pt-4 ml-auto">
<MoltenPushButton
text="Get Started!"
text="Add Module"
click={handleAddClicked}
style={"accept"}
disabled={selectedModule === -1}
Expand Down
27 changes: 0 additions & 27 deletions src/renderer/main/panels/preferences/Preferences.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
MeltSelect,
MoltenButton,
MoltenInput,
BlockColumn,
MoltenPushButton,
} from "@intechstudio/grid-uikit";
import { reduced_motion_store } from "../../../runtime/animations.js";
const configuration = window.ctxProcess.configuration();
Expand Down Expand Up @@ -410,31 +408,6 @@
</BlockRow>
</Block>

<Block>
<BlockTitle>Virtual Module Management</BlockTitle>
<BlockBody
>Additional modules can be added or removed on a given coordinate.</BlockBody
>
<BlockRow>
<BlockBody>DX</BlockBody>
<MoltenInput bind:target={virtualModuleDX} />
<BlockBody>DY</BlockBody>
<MoltenInput bind:target={virtualModuleDY} />
</BlockRow>
<BlockColumn>
<MoltenPushButton
text={"Add"}
snap={"full"}
click={handleAddVirtualModuleClicked}
/>
<MoltenPushButton
text={"Remove"}
snap={"full"}
click={handleRemoveVirtualModuleClicked}
/>
</BlockColumn>
</Block>

<Block>
<!-- Radio Select for profileCloudUrl -->

Expand Down
8 changes: 5 additions & 3 deletions src/renderer/main/user-interface/StickyContainer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@
{#if selectedModule?.architecture === Architecture.VIRTUAL}
<MoltenPushButton
text="Change Module"
click={() => {
modal.show({ component: AddVirtualModule, args: { dx: 0, dy: 0 } });
}}
on:click={handleChangeModuleClicked}
/>
<MoltenPushButton
text="Remove Module"
on:click={handleRemoveModuleClicked}
/>
{/if}
</div>
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.