[TLC-674] Hide empty duplicate section UNLESS config overrides

A new config property allows the user to force the duplicate
section to be displayed even if there are no duplicates
as sometimes this is useful information to a reviewer or
submitter
This commit is contained in:
Kim Shepherd
2024-02-19 17:03:31 +13:00
parent 68dd35095c
commit 911cf8905c
9 changed files with 78 additions and 9 deletions

View File

@@ -5,6 +5,10 @@ interface AutosaveConfig extends Config {
timer: number;
}
interface DuplicateDetectionConfig extends Config {
alwaysShowSection: boolean;
}
interface TypeBindConfig extends Config {
field: string;
}
@@ -29,6 +33,7 @@ export interface ConfidenceIconConfig extends Config {
export interface SubmissionConfig extends Config {
autosave: AutosaveConfig;
duplicateDetection: DuplicateDetectionConfig;
typeBind: TypeBindConfig;
icons: IconsConfig;
}