Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Move data source UI

Edward Cui4e0c5dc985c4
diff --git a/client/src/components/SiteSettings/ImportManager.tsx b/client/src/components/SiteSettings/ImportManager.tsx
index 16fbf2bed..1bcab5669 100644
--- a/client/src/components/SiteSettings/ImportManager.tsx
+++ b/client/src/components/SiteSettings/ImportManager.tsx
@@ -239,19 +239,6 @@ export function ImportManager({ siteId, disabled }: ImportManagerProps) {
</CardDescription>
</CardHeader>
<CardContent className="space-y-4">
- {/* Date Range Picker */}
- <SplitDateRangePicker
- value={dateRange}
- onChange={setDateRange}
- label="Date Range (Optional)"
- disabled={disabled || mutation.isPending}
- showDescription={true}
- clearButtonText="Clear dates"
- className="space-y-2"
- />
-
- <Separator />
-
{/* Data Source Selection */}
<div className="space-y-2">
<Label htmlFor="source" className="flex items-center gap-2">
@@ -276,6 +263,19 @@ export function ImportManager({ siteId, disabled }: ImportManagerProps) {
</Select>
</div>
+ {/* Date Range Picker */}
+ <SplitDateRangePicker
+ value={dateRange}
+ onChange={setDateRange}
+ label="Date Range (Optional)"
+ disabled={disabled || mutation.isPending}
+ showDescription={true}
+ clearButtonText="Clear dates"
+ className="space-y-2"
+ />
+
+ <Separator />
+
{/* File Upload */}
<div className="space-y-2">
<Label htmlFor="file" className="flex items-center gap-2">