Skip to content

Commit

Permalink
Remove sort feature toggle (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethWussmann authored Nov 9, 2024
1 parent de54419 commit d734a6d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion src/components/export/export-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export const ExportDialog = () => {
{type === "caption-txt" && <CaptionExportSummary />}
{type === "sort" && <SortExportSummary />}
{isExporting && <ExportProgress />}

</div>

<DialogFooter>
Expand Down
7 changes: 1 addition & 6 deletions src/lib/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ export const settings = {
false
),
},
featureToggles: {
sortWorkflow: atomWithStorage(
"settings.featureToggles.sortWorkflow",
false
),
},
featureToggles: {},
shortcuts: {
openSettings: atomWithStorage(
"settings.shortcuts.openSettings",
Expand Down
3 changes: 0 additions & 3 deletions src/pages/setup/select-action-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { FileQuestion, Image, ImageOff, Pencil, Tags } from "lucide-react"
import { ActionSelector } from "./action-selector"
import { ActionItem } from "./action-item"
import { useDatasetDirectory } from "@/hooks/provider/dataset-directory-provider"
import { useFeatureEnabled } from "@/hooks/use-feature-enabled"

export const SelectActionView = ({
onCancel
Expand All @@ -16,7 +15,6 @@ export const SelectActionView = ({
failedImageFiles,
failedTextFiles,
} = useDatasetDirectory();
const isSortWorkflowEnabled = useFeatureEnabled("sortWorkflow")

return (
<Card className="bg-transparent backdrop-blur-sm">
Expand Down Expand Up @@ -84,7 +82,6 @@ export const SelectActionView = ({
href="/sort"
title="Sort"
description="Pre-screen your dataset, sort images into categories and export them into new datasets"
soon={!isSortWorkflowEnabled}
/>
</ActionSelector>
</div>
Expand Down

0 comments on commit d734a6d

Please sign in to comment.