Skip to content

Commit

Permalink
Minor fixes v8.2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
arnoudkooi committed Nov 5, 2024
1 parent 6605dab commit e8b42cc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# CHANGELOG.md
## 8.2.3.4 (2024-11-02)
Fixes / changes:
- Fix accidentily renamed file tsWorker.js
- Initialize snusettings object in settingseditor.js, when it is not found in extenson storage (Reddit)
- Fix for link type switches (-t, -erd) to open without a trailing space in the slash command (Slack)

## 8.2.3.1 (2024-10-29)
Fixes / changes:
- Bugfix for new setting edittor
Expand All @@ -11,9 +17,6 @@ Fixes / changes:
- Improve handling of "link" type switches autocomplete (Slack)
- Changing setting to default on: Prioritize CTRL-/ and CMD-/ above OOB shortcut.




## 8.2.2.1 (2024-10-24)
Fixes / changes:
- Minor update for Autocomplete for slash command switches (Slack)
Expand Down
2 changes: 1 addition & 1 deletion inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ function snuSlashCommandAddListener() {
switchValue = snuslashswitchesvalueoverwrites[`${prop}.${tableName}`];
}
query = query.replace(val, "");
if (snuslashswitches[prop].type == "link" && (snufilter + thisKeyWithSpace).includes("-" + prop + " ")) {
if (snuslashswitches[prop].type == "link" && (snufilter + thisKeyWithSpace).includes("-" + prop)) {
targeturl = switchValue.replace(/\$0/g, tableName);
targeturl = targeturl.replace(/\$sysid/, mySysId);
targeturl = snuResolveVariables(targeturl).variableString;
Expand Down
2 changes: 1 addition & 1 deletion js/monaco/settingeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ require(['vs/editor/editor.main'], () => {
addActions(editor);

getFromSyncStorageGlobal("snusettings", function (data) {
let snusettings = data;
let snusettings = data || {};
editor.setValue(snusettings[setting]);
setTimeout(() => {
editor.getAction('editor.action.formatDocument').run();
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"short_name": "SN Utils",
"description": "Productivity tools for ServiceNow. (Personal work, not affiliated to ServiceNow)",
"author": "Arnoud Kooi / arnoudkooi.com",
"version": "8.2.3.1",
"version": "8.2.3.4",
"manifest_version": 3,
"permissions": [
"activeTab",
Expand Down

0 comments on commit e8b42cc

Please sign in to comment.