Skip to content

Commit

Permalink
Remove unused env vars from docker compose + css fixes (windmill-labs…
Browse files Browse the repository at this point in the history
  • Loading branch information
wendrul authored Dec 4, 2024
1 parent db62a2c commit ff8e98f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 30 deletions.
6 changes: 0 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,6 @@ services:
- PORT=8001
- DATABASE_URL=${DATABASE_URL}
- MODE=indexer
- TANTIVY_MAX_INDEXED_JOB_LOG_SIZE__MB=1 # job logs bigger than this will be truncated before indexing
- TANTIVY_S3_BACKUP_PERIOD__S=3600 # how often to backup the index into object storage
- TANTIVY_INDEX_WRITER_MEMORY_BUDGET__MB=100 # higher budget for higher indexing throughput
- TANTIVY_REFRESH_INDEX_PERIOD__S=300 #how often to start indexing new jobs
- TANTIVY_DOC_COMMIT_MAX_BATCH_SIZE=100000 #how many documents to batch in one commit
- TANTIVY_SHOW_MEMORY_EVERY=10000 #log memory usage and progress every so many documents indexed
depends_on:
db:
condition: service_healthy
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lib/components/search/GlobalSearchModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import ContentSearchInner from '../ContentSearchInner.svelte'
import { goto } from '$app/navigation'
import QuickMenuItem from '../search/QuickMenuItem.svelte'
import { enterpriseLicense, superadmin, workspaceStore } from '$lib/stores'
import { devopsRole, enterpriseLicense, superadmin, workspaceStore } from '$lib/stores'
import uFuzzy from '@leeoniya/ufuzzy'
import BarsStaggered from '../icons/BarsStaggered.svelte'
import { scroll_into_view_if_needed_polyfill } from '../multiselect/utils'
Expand Down Expand Up @@ -610,7 +610,7 @@
/>
{:else if tab === 'logs'}
<div class="p-2">
{#if !$superadmin}
{#if !$devopsRole}
<Alert title="Service logs are only available to superadmins" type="warning">
Service logs are only available to superadmins
</Alert>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@
let clientWidth = window.innerWidth
</script>

<main class="h-screen w-full" bind:clientWidth>
{#if clientWidth >= 768}
<SplitPanesWrapper class="hidden md:block">
<Splitpanes>
<Pane size={30} minSize={25}>
<main class="flex-grow w-full overflow-y-auto" bind:clientWidth>
{#if clientWidth >= 768}
<SplitPanesWrapper class="hidden md:block">
<Splitpanes>
<Pane size={leftPaneSize} minSize={leftPaneMinSize}>
<slot name="left-pane" />
</Pane>
<Pane size={rightPaneSize} minSize={rightPaneMinSize}>
<slot name="right-pane" />
</Pane>
</Splitpanes>
</SplitPanesWrapper>
{:else}
<div class="flex flex-col">
{#if rightPaneIsFirstInCol}
<slot name="right-pane" />
<slot name="left-pane" />
{:else}
<slot name="left-pane" />
</Pane>
<Pane size={70} minSize={25}>
<slot name="right-pane" />
</Pane>
</Splitpanes>
</SplitPanesWrapper>
{:else}
<div class="flex flex-col">
{#if rightPaneIsFirstInCol}
<slot name="right-pane" />
<slot name="left-pane" />
{:else}
<slot name="left-pane" />
<slot name="right-pane" />
{/if}
</div>
{/if}
{/if}
</div>
{/if}
</main>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
let queryParseErrors: string[] | undefined = undefined
</script>

<div class="w-full h-screen px-2">
<div class="flex flex-col w-full h-screen max-h-screen max-w-screen px-2">
<div class="px-2">
<div class="flex items-center space-x-2 flex-row justify-between">
<div class="flex flex-row flex-wrap justify-between py-2 my-4 px-4 gap-1 items-center">
Expand Down

0 comments on commit ff8e98f

Please sign in to comment.