* Add history limit setting Dearest Reviewer, I have added a history limit setting. The limit change is applied instantly. If the limit is 0 then no recordings are saved. Becker * remove extra save save happens on exit * move to debug menu * use the text color --------- Co-authored-by: CJ Pais <cj@cjpais.com>
17 lines
664 B
TypeScript
17 lines
664 B
TypeScript
import React from "react";
|
|
import { WordCorrectionThreshold } from "./debug/WordCorrectionThreshold";
|
|
import { AppDataDirectory } from "./AppDataDirectory";
|
|
import { SettingsGroup } from "../ui/SettingsGroup";
|
|
import { HistoryLimit } from "./HistoryLimit";
|
|
|
|
export const DebugSettings: React.FC = () => {
|
|
return (
|
|
<div className="max-w-3xl w-full mx-auto space-y-6">
|
|
<SettingsGroup title="Debug">
|
|
<WordCorrectionThreshold descriptionMode="tooltip" grouped={true} />
|
|
<AppDataDirectory descriptionMode="tooltip" grouped={true} />
|
|
<HistoryLimit descriptionMode="tooltip" grouped={true} />
|
|
</SettingsGroup>
|
|
</div>
|
|
);
|
|
};
|