Skip to content

Commit

Permalink
Make parquet the default source (#941)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmilkov authored Dec 7, 2023
1 parent 51be6ce commit 173b7fa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions web/blueprint/src/routes/datasets/new/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import type {JSONError} from 'json-schema-library';
import type {SvelteComponent} from 'svelte';
const IGNORE_SOURCES = ['pandas', 'llama_index_docs'];
const IGNORE_SOURCES = ['pandas', 'llama_index_docs', 'gmail'];
const sourcesQuery = querySources();
$: sources = $sourcesQuery.data?.sources.filter(s => !IGNORE_SOURCES.includes(s));
Expand All @@ -37,7 +37,7 @@
let namespace = 'local';
let name = '';
let selectedSource = 'huggingface';
let selectedSource = 'parquet';
let jsonValidationErrors: JSONError[] = [];
let namespaceError: string | undefined = undefined;
Expand Down Expand Up @@ -132,7 +132,7 @@
<RadioButtonSkeleton />
{:else if sources != null}
<div>
<RadioButtonGroup bind:selected={selectedSource}>
<RadioButtonGroup bind:selected={selectedSource} class="source-radio-buttons">
{#each sources as source}
<RadioButton labelText={source} value={source} />
{/each}
Expand Down Expand Up @@ -207,4 +207,7 @@
:global(legend.bx--label) {
@apply px-2 text-lg;
}
:global(.source-radio-buttons fieldset) {
@apply flex-wrap gap-y-2;
}
</style>

0 comments on commit 173b7fa

Please sign in to comment.