undergroundwires
b25b8cc805
fix vue warning for undefined property during render
...
currentOs is not recognized as reactive property as it's set to "undefined". JavaScript does not accept "undefined" as valid value to initialize. A property needs to be initialized with a non-undefined value to become reactive in a class-based component. Otherwise Vue warns: Property or method "currentOs" is not defined on the instance but referenced during render.
2021-04-19 18:21:06 +02:00
undergroundwires
a2f10857e2
fix script revert activating recommendation level
...
Reverting any single of the scripts from standard recommendation pool
shows "Standard" selection as selected which is wrong. This commit fixes
it, refactors selection handling in a separate class and it also adds
missing tests. It removes UserSelection.totalSelected propertty in favor of using
UserSelection.selectedScripts.length to provide unified way of accessing
the information.
2021-04-17 14:34:29 +01:00
undergroundwires
00d8e551db
refactor extra code, duplicates, complexity
...
- refactor array equality check and add tests
- remove OperatingSystem.Unknown causing extra logic, return undefined instead
- refactor enum validation to share same logic
- refactor scripting language factories to share same logic
- refactor too many args in runCodeAsync
- refactor ScriptCode constructor to reduce complexity
- fix writing useless write to member object since another property write always override it
2021-04-11 14:37:02 +01:00
undergroundwires
02bdc4cf04
fix desktop initial window size being bigger than current display size on smaller Linux/Windows screens
2021-04-05 14:31:31 +01:00
undergroundwires
448e378dc4
increase performance by polyfilling ResizeObserver only if required
2021-03-25 13:24:19 +01:00
undergroundwires
6f46cdb4ed
refactor all modals to use same dialog component
2021-03-20 16:13:25 +01:00
undergroundwires
5f527a00cf
fix fs module hanging not allowing code to run
...
Run button on Windows stopped working as CodeRunner was hanging when
executing fs.promises.mkdir as described in electron/electron#20951
It started happening after electron update to v12 in 1f515e7 .
This commit adds the workaround suggested in electron/electron#19554
that fixes the issue.
2021-03-14 17:26:56 +01:00
undergroundwires
1935db1019
fix throttle function not being able to run with argument(s)
2021-03-13 12:54:13 +01:00
undergroundwires
1f515e7be5
bump dependencies to latest
...
- fix npm vulnerabilities #62
- change ResizeObserver polyfill dependency que-etc/resize-observer-polyfill#80
- bump typescript to 4.2.x and add tslib for importing helpers
- update electron to v12.x and set contextIsolation to false (nklayman/vue-cli-plugin-electron-builder#1285 , electron/electron#11608 ) to reach node APIs as it's now disabled by default (electron/electron#27949 )
2021-03-11 14:50:35 +01:00
undergroundwires
f3c7413f52
restructure presentation layer
...
- Move most GUI related code to /presentation
- Move components to /components (separate from bootstrap and style)
- Move shared components helpers to /components/shared
- Rename Bootstrapping to bootstrapping to enforce same naming
convention in /presentation
2021-03-07 19:37:54 +01:00
undergroundwires
970221b996
remove "preview" disclaimer from macOS
2021-03-01 17:01:34 +01:00
undergroundwires
cf39e6d254
move code area to right on bigger screens
2021-02-22 16:46:06 +01:00
undergroundwires
9a6b903b92
add option to run script directly in desktop app
2021-02-18 09:39:24 +01:00
undergroundwires
5934b17283
refactor and add tests for NonCollapsingDirective
2021-02-09 08:53:29 +01:00
undergroundwires
df273f7f63
refactor state handling to make application available independent of the state
2021-02-07 12:32:05 +01:00
undergroundwires
f1e21babbf
refactor event handling to consume base class for lifecycling
2021-02-04 19:58:09 +01:00
undergroundwires
229c13a195
improve explanation for selections
2021-01-23 06:06:25 +01:00
undergroundwires
8b0e47da38
fix selection state indicator on cards not showing up
2021-01-20 05:30:19 +01:00
undergroundwires
8a8b7319d5
add initial macOS support #40
2021-01-13 16:31:20 +01:00
undergroundwires
2e40605d59
refactor to allow switching ICategoryCollection context #40
2021-01-05 22:28:38 +01:00
undergroundwires
6fe858d86a
rename Application to CategoryCollection #40
2021-01-02 17:50:47 +01:00
undergroundwires
34672414c3
refactor folders to move "/state" (IApplicationState) inside "/context" (IApplicationContext)
2020-12-29 05:45:03 +01:00
undergroundwires
f7557bcc0f
refactor application.yaml to become an os definition #40
2020-12-27 18:14:38 +01:00
undergroundwires
45b8dd972b
refactor unused imports
2020-11-08 15:33:31 +01:00
undergroundwires
fd28eaad06
hide scrollbars on code area when not overflowing
2020-11-01 18:49:27 +01:00
undergroundwires
1072505219
show icons on cards during indeterminate and fully selected states
2020-10-25 12:55:40 +01:00
undergroundwires
07fc555324
change "download" button to "save" on desktop
2020-10-23 17:11:44 +01:00
undergroundwires
50fb29038a
switch places of download and copy buttons
2020-10-22 17:02:38 +01:00
undergroundwires
14be3017c5
add support for different recommendation levels: strict and standard
2020-10-19 15:12:03 +01:00
undergroundwires
77c3d2bbb8
simplify "why" section
2020-09-23 20:42:05 +01:00
undergroundwires
784a67afff
refactor to read more from package.json
2020-09-22 20:41:12 +01:00
undergroundwires
d169434157
fix pasting in search bar after page load showing no results
2020-09-18 20:07:03 +01:00
undergroundwires
4ae385b7fc
fix checked checkbox has blue border
2020-09-13 18:42:19 +01:00
undergroundwires
f4885b6f1c
add best practice suggestion to come back
2020-09-06 02:41:11 +01:00
undergroundwires
ca63a0979e
fix wording in default text in text area
2020-09-06 02:37:47 +01:00
undergroundwires
1f266c3353
fix indeterminate state being lost
2020-09-06 15:26:19 +01:00
undergroundwires
255133af4d
fix bad highlighting of selected nodes when using keyboard navigation
2020-09-04 01:24:35 +01:00
undergroundwires
6badfef9da
refactor unused imports
2020-09-04 13:29:42 +01:00
undergroundwires
8c38dd73d8
fix new/changed script higlighting not working on production builds
2020-09-04 13:26:35 +01:00
undergroundwires
8c17929151
fix some browsers (including firefox) downloading the script as a text file
2020-09-04 12:20:41 +01:00
undergroundwires
8bbe6ebf75
fix search (got broken in b789250) with tests and refactorings
2020-09-02 22:44:20 +01:00
undergroundwires
a23d28f2cf
refactor unused imports & variables
2020-09-01 21:32:31 +01:00
undergroundwires
f51e8859ee
add reversibility on category level
2020-09-01 21:18:16 +01:00
undergroundwires
b789250cb8
add auto-highlighting of selected/updated code
2020-08-25 16:52:38 +01:00
undergroundwires
d6fa9a2a03
[search] added clear/close button
2020-08-24 02:50:47 +01:00
undergroundwires
ec15af01dd
[search] better (multilined) message when there are no results
2020-08-24 02:50:47 +01:00
undergroundwires
66d4d39d5b
refactorings
2020-08-09 03:00:18 +01:00
undergroundwires
4c8be45e28
fixed mac / linux download links
2020-08-09 03:00:18 +01:00
undergroundwires
5c15a7a64a
fixed typo in footer
2020-08-09 03:00:18 +01:00
undergroundwires
60a5a2aa40
reworked on footer & removed github icon
2020-08-09 03:00:17 +01:00