Skip to content

Commit ab169d0

Browse files
authored
Merge pull request #34 from mlsof21/log-download
Log download
2 parents 677d94e + d705b66 commit ab169d0

File tree

9 files changed

+316
-226
lines changed

9 files changed

+316
-226
lines changed

CHANGELOG.md

Lines changed: 86 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,86 @@
1-
### 1.2.6 - 2023-04-10 - Query selector updates
2-
3-
- Update query selectors for `store` and `transfer`
4-
5-
### 1.2.5 - 2023-02-27 - The Reversion
6-
7-
- Revert previous change since it broke generic queries and item pulls (by weapon/energy type, etc.)
8-
9-
### 1.2.4 - 2023-02-25 - The One Where IKELOS Weapons Maybe Work
10-
11-
- Weapons with periods AND underscores (IKELOS weapons) are now parsed even better.
12-
- If a weapon contains a shorthand for a weapon type (IKELOS SMG) is handled since the code no longer only performs one type of search or the other. It will do both types and if a weapon name was matched, it'll override any generic weapon search.
13-
14-
### 1.2.3 - 2022-11-25 - Parsing Issues
15-
16-
- Weapons with periods in their name (IKELOS weapons, a few others) are now parsed correctly
17-
- Slight optimization for transferring weapons by name (no longer populates the search bar with `name:"<weapon>"`)
18-
19-
### 1.2.2 - 2022-10-04 - Activation Phrase Fix
20-
21-
- Added fix for capital letter in activation phrase by trimming/lowercasing everywhere
22-
23-
### 1.2.1 - 2022-10-03 - Only in Inventory
24-
25-
- Added fix for loading DIM on another tab. Previously required reloading the page on the inventory tab. Now Voice DIM will load no matter what page is started on
26-
- Added fix for a user having the item popup sidebar being collapsed.
27-
28-
### 1.2.0 - 2022-09-24 - Always Listening
29-
30-
- Added a toggle-able `Always Listening` mode
31-
- Each command must be prefixed with an activation phrase (defaulted to `okay ghost`)
32-
- Added fix for `maxPower` command (didn't work in normal DIM, only in beta)
33-
- Added fix for search already being populated when performing a command.
34-
35-
### 1.1.3 - 2022-09-20 - Perk fix
36-
37-
- Fixed perk matching
38-
39-
### 1.1.2 - 2022-09-19 - Options page links
40-
41-
- Added an `onInstalled` event for the extension. It'll direct users to the options page.
42-
- Link to the options page from the `?`
43-
44-
### 1.1.1 - 2022-09-16 - Better performance
45-
46-
- Use a `waitForElement/waitForSearchToUpdate` function instead of arbitrarily sleeping in code
47-
- Results in at least a 300% improvement in action duration
48-
49-
### 1.1.0 - 2022-09-13 - The One with Custom Commands
50-
51-
- Quite a few changes in this one
52-
- Reworked how the extension waits for the search to update visible (not dimmed) items
53-
- Really reworked how all UI interactions are performed
54-
- Added the ability to customize the command words for particular actions
55-
- Visit the options page (click the extension icon) to set these
56-
- Added a `store` command for storing items in the vault
57-
- Added an `equip` command for directly equipping an item on your current character (when possible)
58-
- This works like how `transfer` previously did, and `transfer` has been updated to only transfer, not equip
59-
- (from above) `Transfer` now only transfers instead of equipping
60-
- Added mic icon on page with a link to the website
61-
- When listening, there will be text next to the icon that updates as the user speaks their command
62-
- Added link to the [Voice DIM website](https://www.voicedim.com) via the `?` icon.
63-
- Fixed `Start Farming mode` command if a user has at least 10 loadouts saved
64-
65-
### 1.0.1 - 2022-08-23 - Corrected Shortcut
66-
67-
- Defaulted the shortcut correctly (set to `Ctrl+Shift+0`)
68-
69-
### 1.0.0 - 2022-08-19 - Initial Release
70-
71-
- See [Reddit post](https://www.reddit.com/r/DestinyTheGame/comments/wseigx/interact_with_dim_using_your_voice/) about the available commands with more info
72-
- Commands are available to:
73-
- Transfer a weapon by name
74-
- Transfer a weapon with particular perks
75-
- Transfer a weapon by attribute (energy type, slot, ammo type, etc)
76-
- Collect from the postmaster
77-
- Start/Stop farming mode
78-
- Equip loadouts by name
79-
- Equip max power
80-
- Use global shortcut to activate listening
1+
### 1.2.7 - 2023-04-20 - The One About Troubleshooting (and Strand)
2+
3+
- Add `Download Logs` button to the options page
4+
- Make the mic icon pulse and change color for a more visible representation of the extension being ready to hear a command
5+
- Add `strand` to energy types
6+
7+
### 1.2.6 - 2023-04-10 - Query selector updates
8+
9+
- Update query selectors for `store` and `transfer`
10+
11+
### 1.2.5 - 2023-02-27 - The Reversion
12+
13+
- Revert previous change since it broke generic queries and item pulls (by weapon/energy type, etc.)
14+
15+
### 1.2.4 - 2023-02-25 - The One Where IKELOS Weapons Maybe Work
16+
17+
- Weapons with periods AND underscores (IKELOS weapons) are now parsed even better.
18+
- If a weapon contains a shorthand for a weapon type (IKELOS SMG) is handled since the code no longer only performs one type of search or the other. It will do both types and if a weapon name was matched, it'll override any generic weapon search.
19+
20+
### 1.2.3 - 2022-11-25 - Parsing Issues
21+
22+
- Weapons with periods in their name (IKELOS weapons, a few others) are now parsed correctly
23+
- Slight optimization for transferring weapons by name (no longer populates the search bar with `name:"<weapon>"`)
24+
25+
### 1.2.2 - 2022-10-04 - Activation Phrase Fix
26+
27+
- Added fix for capital letter in activation phrase by trimming/lowercasing everywhere
28+
29+
### 1.2.1 - 2022-10-03 - Only in Inventory
30+
31+
- Added fix for loading DIM on another tab. Previously required reloading the page on the inventory tab. Now Voice DIM will load no matter what page is started on
32+
- Added fix for a user having the item popup sidebar being collapsed.
33+
34+
### 1.2.0 - 2022-09-24 - Always Listening
35+
36+
- Added a toggle-able `Always Listening` mode
37+
- Each command must be prefixed with an activation phrase (defaulted to `okay ghost`)
38+
- Added fix for `maxPower` command (didn't work in normal DIM, only in beta)
39+
- Added fix for search already being populated when performing a command.
40+
41+
### 1.1.3 - 2022-09-20 - Perk fix
42+
43+
- Fixed perk matching
44+
45+
### 1.1.2 - 2022-09-19 - Options page links
46+
47+
- Added an `onInstalled` event for the extension. It'll direct users to the options page.
48+
- Link to the options page from the `?`
49+
50+
### 1.1.1 - 2022-09-16 - Better performance
51+
52+
- Use a `waitForElement/waitForSearchToUpdate` function instead of arbitrarily sleeping in code
53+
- Results in at least a 300% improvement in action duration
54+
55+
### 1.1.0 - 2022-09-13 - The One with Custom Commands
56+
57+
- Quite a few changes in this one
58+
- Reworked how the extension waits for the search to update visible (not dimmed) items
59+
- Really reworked how all UI interactions are performed
60+
- Added the ability to customize the command words for particular actions
61+
- Visit the options page (click the extension icon) to set these
62+
- Added a `store` command for storing items in the vault
63+
- Added an `equip` command for directly equipping an item on your current character (when possible)
64+
- This works like how `transfer` previously did, and `transfer` has been updated to only transfer, not equip
65+
- (from above) `Transfer` now only transfers instead of equipping
66+
- Added mic icon on page with a link to the website
67+
- When listening, there will be text next to the icon that updates as the user speaks their command
68+
- Added link to the [Voice DIM website](https://www.voicedim.com) via the `?` icon.
69+
- Fixed `Start Farming mode` command if a user has at least 10 loadouts saved
70+
71+
### 1.0.1 - 2022-08-23 - Corrected Shortcut
72+
73+
- Defaulted the shortcut correctly (set to `Ctrl+Shift+0`)
74+
75+
### 1.0.0 - 2022-08-19 - Initial Release
76+
77+
- See [Reddit post](https://www.reddit.com/r/DestinyTheGame/comments/wseigx/interact_with_dim_using_your_voice/) about the available commands with more info
78+
- Commands are available to:
79+
- Transfer a weapon by name
80+
- Transfer a weapon with particular perks
81+
- Transfer a weapon by attribute (energy type, slot, ammo type, etc)
82+
- Collect from the postmaster
83+
- Start/Stop farming mode
84+
- Equip loadouts by name
85+
- Equip max power
86+
- Use global shortcut to activate listening

package.json

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
1-
{
2-
"name": "voice-dim",
3-
"version": "1.2.6",
4-
"description": "Perform common DIM actions by using speech recognition.",
5-
"main": "dist/chrome/js/voice-dim.js",
6-
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1",
8-
"zip": "npm run build && python scripts/build.py",
9-
"build": "rimraf dist/ && webpack --env mode=production --config webpack.config.js",
10-
"watch": "webpack --env mode=development --config webpack.config.js --progress --watch",
11-
"update-version": "python scripts/update_version.py"
12-
},
13-
"repository": {
14-
"type": "git",
15-
"url": "https://github.com/mlsof21/voice-dim.git"
16-
},
17-
"keywords": [
18-
"Voice DIM",
19-
"DIM Voice",
20-
"Destiny",
21-
"2",
22-
"speech",
23-
"recognition",
24-
"voice"
25-
],
26-
"author": "mlsof21",
27-
"license": "ISC",
28-
"bugs": {
29-
"url": "https://github.com/mlsof21/voice-dim/issues"
30-
},
31-
"homepage": "https://github.com/mlsof21/voice-dim#readme",
32-
"dependencies": {
33-
"annyang": "^2.6.1",
34-
"fuse.js": "^6.6.2"
35-
},
36-
"devDependencies": {
37-
"@types/annyang": "^2.6.2",
38-
"@types/chrome": "^0.0.193",
39-
"@types/web": "^0.0.1",
40-
"@typescript/lib-dom": "npm:@types/web@^0.0.71",
41-
"copy-webpack-plugin": "^11.0.0",
42-
"rimraf": "^3.0.2",
43-
"ts-loader": "^9.3.1",
44-
"typescript": "^4.7.4",
45-
"webpack": "^5.74.0",
46-
"webpack-cli": "^4.10.0",
47-
"webpack-visualizer-plugin2": "^1.0.0"
48-
}
49-
}
1+
{
2+
"name": "voice-dim",
3+
"version": "1.2.7",
4+
"description": "Perform common DIM actions by using speech recognition.",
5+
"main": "dist/chrome/js/voice-dim.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"zip": "npm run build && python scripts/build.py",
9+
"build": "rimraf dist/ && webpack --env mode=production --config webpack.config.js",
10+
"watch": "webpack --env mode=development --config webpack.config.js --progress --watch",
11+
"update-version": "python scripts/update_version.py"
12+
},
13+
"repository": {
14+
"type": "git",
15+
"url": "https://github.com/mlsof21/voice-dim.git"
16+
},
17+
"keywords": [
18+
"Voice DIM",
19+
"DIM Voice",
20+
"Destiny",
21+
"2",
22+
"speech",
23+
"recognition",
24+
"voice"
25+
],
26+
"author": "mlsof21",
27+
"license": "ISC",
28+
"bugs": {
29+
"url": "https://github.com/mlsof21/voice-dim/issues"
30+
},
31+
"homepage": "https://github.com/mlsof21/voice-dim#readme",
32+
"dependencies": {
33+
"annyang": "^2.6.1",
34+
"fuse.js": "^6.6.2"
35+
},
36+
"devDependencies": {
37+
"@types/annyang": "^2.6.2",
38+
"@types/chrome": "^0.0.193",
39+
"@types/web": "^0.0.1",
40+
"@typescript/lib-dom": "npm:@types/web@^0.0.71",
41+
"copy-webpack-plugin": "^11.0.0",
42+
"rimraf": "^3.0.2",
43+
"ts-loader": "^9.3.1",
44+
"typescript": "^4.7.4",
45+
"webpack": "^5.74.0",
46+
"webpack-cli": "^4.10.0",
47+
"webpack-visualizer-plugin2": "^1.0.0"
48+
}
49+
}

public/manifest.chrome.json

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
{
2-
"name": "Voice DIM",
3-
"description": "Control DIM with your voice.",
4-
"version": "1.2.6",
5-
"manifest_version": 3,
6-
"background": {
7-
"service_worker": "js/background.js"
8-
},
9-
"content_scripts": [
10-
{
11-
"matches": ["https://*.destinyitemmanager.com/*"],
12-
"js": ["js/voiceDim.js"],
13-
"css": ["css/voiceDim.css"]
14-
}
15-
],
16-
"commands": {
17-
"dim-listen": {
18-
"suggested_key": {
19-
"default": "Ctrl+Shift+0"
20-
},
21-
"description": "Start/Stop listening for DIM commands",
22-
"global": true
23-
}
24-
},
25-
"action": {
26-
"default_icon": "icons/icon_128.png",
27-
"default_title": "Voice DIM"
28-
},
29-
"icons": {
30-
"16": "icons/icon_16.png",
31-
"32": "icons/icon_32.png",
32-
"48": "icons/icon_48.png",
33-
"128": "icons/icon_128.png"
34-
},
35-
"options_ui": {
36-
"page": "html/options.html",
37-
"open_in_tab": true
38-
},
39-
"host_permissions": ["https://www.bungie.net/*"],
40-
"permissions": ["tabs", "storage"],
41-
"web_accessible_resources": [
42-
{
43-
"resources": ["icons/icon_large.png"],
44-
"matches": ["https://*.destinyitemmanager.com/*"]
45-
}
46-
]
47-
}
1+
{
2+
"name": "Voice DIM",
3+
"description": "Control DIM with your voice.",
4+
"version": "1.2.7",
5+
"manifest_version": 3,
6+
"background": {
7+
"service_worker": "js/background.js"
8+
},
9+
"content_scripts": [
10+
{
11+
"matches": ["https://*.destinyitemmanager.com/*"],
12+
"js": ["js/voiceDim.js"],
13+
"css": ["css/voiceDim.css"]
14+
}
15+
],
16+
"commands": {
17+
"dim-listen": {
18+
"suggested_key": {
19+
"default": "Ctrl+Shift+0"
20+
},
21+
"description": "Start/Stop listening for DIM commands",
22+
"global": true
23+
}
24+
},
25+
"action": {
26+
"default_icon": "icons/icon_128.png",
27+
"default_title": "Voice DIM"
28+
},
29+
"icons": {
30+
"16": "icons/icon_16.png",
31+
"32": "icons/icon_32.png",
32+
"48": "icons/icon_48.png",
33+
"128": "icons/icon_128.png"
34+
},
35+
"options_ui": {
36+
"page": "html/options.html",
37+
"open_in_tab": true
38+
},
39+
"host_permissions": ["https://www.bungie.net/*"],
40+
"permissions": ["tabs", "storage"],
41+
"web_accessible_resources": [
42+
{
43+
"resources": ["icons/icon_large.png"],
44+
"matches": ["https://*.destinyitemmanager.com/*"]
45+
}
46+
]
47+
}

0 commit comments

Comments
 (0)