calendar_no_selection option added. see #641

This commit is contained in:
Mic 2026-02-06 00:06:00 +01:00
parent 6cb52e4403
commit 5a39f1e298
3 changed files with 19 additions and 0 deletions

View file

@ -1808,5 +1808,13 @@
"customPrompts_export_include_api_settings": { "customPrompts_export_include_api_settings": {
"message": "Do you want to include the API settings in the export? Be aware that also the API Key will be saved in the file!", "message": "Do you want to include the API settings in the export? Be aware that also the API Key will be saved in the file!",
"description": "" "description": ""
},
"prefs_OptionText_calendar_no_selection": {
"message": "Do not ask to select text",
"description": ""
},
"prefs_OptionText_calendar_no_selection_Info": {
"message": "If checked there is no need to select some text. The full message body will be used to get the calendar event.",
"description": ""
} }
} }

View file

@ -128,6 +128,7 @@ export const prefs_default = {
get_task: true, get_task: true,
calendar_enforce_timezone: false, calendar_enforce_timezone: false,
calendar_timezone: '', calendar_timezone: '',
calendar_no_selection: false, // If true do not ask for selection, but use the full prompt
spamfilter: false, spamfilter: false,
spamfilter_threshold: 70, spamfilter_threshold: 70,
spamfilter_enabled_accounts: [], spamfilter_enabled_accounts: [],

View file

@ -26,6 +26,16 @@
</tr> </tr>
<tr id="connection_ui_anchor"></tr> <tr id="connection_ui_anchor"></tr>
<tr id="connection_ui_end"><td colspan="2"></td></tr> <tr id="connection_ui_end"><td colspan="2"></td></tr>
<tr class="get_calendar_event_tr">
<td><span class="opt_title">__MSG_prefs_OptionText_calendar_no_selection__</span>
</td>
<td>
<label>
<input type="checkbox" id="calendar_no_selection" name="calendar_no_selection" class="option-input" />
__MSG_prefs_OptionText_calendar_no_selection_Info__
</label>
</td>
</tr>
<tr class="get_calendar_event_tr"> <tr class="get_calendar_event_tr">
<td><span class="opt_title">__MSG_prefs_OptionText_calendar_enforce_timezone__</span></td> <td><span class="opt_title">__MSG_prefs_OptionText_calendar_enforce_timezone__</span></td>
<td> <td>