diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index c7ceded5..a7a0102d 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -1003,6 +1003,10 @@
"message": "Extract all relevant details required to generate a calendar event from the following text. The extracted information should include:\n- Event Title\n- Start Date and Time (including timezone, if specified)\n- End Date and Time (including timezone, if specified)\n- Full day (if mentioned)\n- Attendees\nEnsure the data is formatted clearly and consistently so that it can be directly used for creating a calendar event.\nIf there are relative time references, consider that the date and time of the email are \"{%mail_datetime%}\". Calculate the start date and time based on this reference. If the calculated start date and time are earlier than \"{%current_datetime%}\", recalculate the start date and time using \"{%current_datetime%}\" as the base.\nIf the duration is not specified, set it to one hour.\nThese are the attendees: {%author%}, {%recipients%}, {%cc_list%}. If present, exclude my address: {%account_email_address%}.\nIf you're not able to get one or more of the required information, please respond with an empty string.\nGenerate a response in JSON format only. Do not include any additional text or explanations; provide only the JSON. Here is the format to be used:\n{\n\"startDate\": \"YYYYMMDDTHHMMSS\",\n\"endDate\": \"YYYYMMDDTHHMMSS\",\n\"summary\": \"Calendar event summary here\",\n\"forceAllDay\": false,\n\"attendees\": [attendee1@example.com,attendee2@example.com,attendee3@example.com]\n}\nHere's the text:\"{%selected_text%}\"",
"description": ""
},
+ "Summarize_prompt_prefs_title": {
+ "message": "Add Summarization Options",
+ "description": ""
+ },
"prompt_summarize": {
"message": "Summarize this email or these emails",
"description": ""
@@ -1215,6 +1219,10 @@
"message": "Summarize mail",
"description": ""
},
+ "prefs_OptionText_summarize_use_specific_integration_Info": {
+ "message": "If checked, the Model and API specified below will be used for summarizing email(s), regardless the one choosen in the ThunderAI options page.",
+ "description": ""
+ },
"prefs_OptionText_summarize_Info": {
"message": "If checked, adds an option to context menu to summarize mail.",
"description": ""
diff --git a/pages/summarize/mzta-summarize.css b/pages/summarize/mzta-summarize.css
index f4bbc091..26b08e10 100644
--- a/pages/summarize/mzta-summarize.css
+++ b/pages/summarize/mzta-summarize.css
@@ -16,6 +16,49 @@
font-style: italic;
}
+#account_selector_container{
+ display: none;
+}
+
+#account_selector_checkboxes{
+ padding: 10px;
+ border: 1px solid gray;
+ width: 24em;
+ margin-bottom: 10px;
+ margin-top: 10px;
+}
+
+.specific_integration{
+ background-color: #dfeaff;
+}
+
+table {
+ border-collapse: separate;
+ border-spacing: 0;
+}
+
+.group td {
+ border-top: none;
+ border-bottom: none;
+}
+
+.specific_integration_sub td:first-child {
+ border-left: 10px solid #dfeaff;
+}
+
+.specific_integration_sub td:last-child {
+ border-right: 10px solid #dfeaff;
+}
+
+#connection_ui_end td{
+ height: 6px;
+ background-color: #dfeaff;
+}
+
+#connection_ui_end{
+ display: none;
+}
+
.btn_div {
width: 100%;
display: flex;
@@ -30,6 +73,11 @@ table#miczPrefs {
border: 1px solid #ccc;
}
+.addtags_table_title{
+ width: 90%;
+ margin: auto;
+}
+
.section_title {
font-weight: bold;
}
@@ -90,27 +138,21 @@ table#miczPrefs tr:last-child td {
color: red;
}
+label:has(input[type="checkbox"]) {
+ cursor: pointer;
+}
+
@media (prefers-color-scheme: dark) {
body {
background-color: #1c1b22;
color: rgb(251, 251, 254);
}
- a:link {
- color: #409eff;
- }
- a:visited {
- color: #409eff;
- }
- a:hover {
- color: #66b1ff;
- }
- a:active {
- color: #66b1ff;
- }
- a:active {
- color: #66b1ff;
- }
+ a:link { color: #409eff; }
+ a:visited { color: #409eff; }
+ a:hover { color: #66b1ff; }
+ a:active { color: #66b1ff; }
+ a:active { color: #66b1ff; }
.autocomplete-list {
background-color: #2e2f36;
@@ -124,4 +166,24 @@ table#miczPrefs tr:last-child td {
.autocomplete-list li.active {
background-color: #4c4e58;
}
+
+ .summarize_auto{
+ background-color: #415c35;
+ }
+
+ .specific_integration{
+ background-color: #2E3A4F;
+ }
+
+ .specific_integration_sub td:first-child {
+ border-left: 10px solid #2E3A4F;
+ }
+
+ .specific_integration_sub td:last-child {
+ border-right: 10px solid #2E3A4F;
+ }
+
+ #connection_ui_end td{
+ background-color: #2E3A4F;
+ }
}
diff --git a/pages/summarize/mzta-summarize.html b/pages/summarize/mzta-summarize.html
index 54405840..82679339 100644
--- a/pages/summarize/mzta-summarize.html
+++ b/pages/summarize/mzta-summarize.html
@@ -4,13 +4,29 @@