You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Web: Show a "Give feedback" banner and link to a survey (#13125)
This commit is contained in:
@@ -30,6 +30,12 @@ export enum ScrollbarSize {
|
||||
Large = 24,
|
||||
}
|
||||
|
||||
export enum SurveyProgress {
|
||||
NotStarted,
|
||||
Started,
|
||||
Dismissed,
|
||||
}
|
||||
|
||||
const builtInMetadata = (Setting: typeof SettingType) => {
|
||||
const platform = shim.platformName();
|
||||
const mobilePlatform = shim.mobilePlatform();
|
||||
@@ -1875,6 +1881,21 @@ const builtInMetadata = (Setting: typeof SettingType) => {
|
||||
isGlobal: true,
|
||||
},
|
||||
|
||||
'survey.webClientEval2025.progress': {
|
||||
value: SurveyProgress.NotStarted,
|
||||
type: SettingItemType.Int,
|
||||
public: false,
|
||||
isEnum: true,
|
||||
storage: SettingStorage.File,
|
||||
options: () => ({
|
||||
[SurveyProgress.NotStarted]: 'Not started',
|
||||
[SurveyProgress.Started]: 'Started',
|
||||
[SurveyProgress.Dismissed]: 'Done',
|
||||
}),
|
||||
label: () => 'Show web client evaluation survey',
|
||||
isGlobal: true,
|
||||
},
|
||||
|
||||
'sync.allowUnsupportedProviders': {
|
||||
value: -1,
|
||||
type: SettingItemType.Int,
|
||||
|
||||
Reference in New Issue
Block a user