Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"type": "module",
"dependencies": {
"@intechstudio/grid-protocol": "1.20250305.1735",
"@intechstudio/grid-uikit": "1.20251020.1904",
"@intechstudio/grid-uikit": "^1.20260206.1447",
"@melt-ui/svelte": "^0.86.6",
"firebase": "^12.2.1",
"marked": "^12.0.2",
Expand Down
37 changes: 15 additions & 22 deletions src/routes/BrowserLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
} from "../lib/configmanager/ConfigManager";
import { tooltip } from "../lib/actions/tooltip";
import ConfigCardBrowser from "./ConfigCardBrowser.svelte";
import { MoltenPushButton } from "@intechstudio/grid-uikit";
import { MeltCheckbox, MoltenPushButton } from "@intechstudio/grid-uikit";
import configuration from "../../Configuration.json";

let selectedConfigIndex: number | undefined = undefined;
Expand All @@ -24,10 +24,6 @@

let isSearchSortingShows = false;

function filterShowHide() {
isSearchSortingShows = !isSearchSortingShows;
}

onMount(async () => {
configManager = createConfigManager({
next: (newConfigs) => {
Expand Down Expand Up @@ -55,22 +51,19 @@
</script>

<div id="main">
<div class="filter-toggle">
<button on:click={filterShowHide}>
{#if isSearchSortingShows}
Hide Filters
{:else}
Show Filters
{/if}
</button>
</div>

{#if isSearchSortingShows}
<div class="filters-row">
<div class="filters-row">
<div class="filter-checkbox">
<MeltCheckbox
bind:target={isSearchSortingShows}
title="Show Filters"
style="transparent"
/>
</div>
{#if isSearchSortingShows}
<Filter />
<Sorter />
</div>
{/if}
{/if}
</div>

<div class="configs-grid">
{#each filteredConfigs as config, index (config.id)}
Expand Down Expand Up @@ -118,9 +111,9 @@
overflow: hidden;
}

/* Filter toggle button */
.filter-toggle {
display: flex;
.filter-checkbox {
flex-shrink: 0;
white-space: nowrap;
}

/* Filters row */
Expand Down
2 changes: 2 additions & 0 deletions src/routes/ConfigCardDisplay.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,14 @@
.created-by {
font-size: 0.75rem;
display: flex;
flex-wrap: wrap;
flex-grow: 1;
justify-content: space-between;
}

.modified-date {
color: var(--foreground-muted);
white-space: nowrap;
}

.icon-button {
Expand Down