Snarling
6a6043c509
CODEBASE: Add custom useRerender hook ( #359 )
2023-02-11 13:22:55 -05:00
Snarling
b4074328ec
UI: Added new locale-aware and configurable number formatting ( #354 )
2023-02-11 13:18:50 -05:00
Mughur
7e183c4e4a
Updated ReadTheDocs links
2023-01-06 15:24:10 +02:00
David Walker
8d793ea271
Internal refactoring of Router ( #241 )
2022-12-04 03:14:06 -05:00
David Walker
49f732d1ee
Revert "Revert "Add keycode table and switch to event.code in select places" ( #224 )" ( #242 )
2022-12-03 22:56:42 -05:00
David Walker
70fadde222
Revert "Add keycode table and switch to event.code in select places" ( #224 )
...
Using code instead of key is strongly warned against at MDN and causes issues with nonstandard layouts:
https://developer.mozilla.org/en-US/docs/Web/API/Element/keydown_event#keyboardevent.code
This also fixes ScriptEditorRoot.tsx, where some code snuck in that
wasn't using *any* of the constants.
This reverts commit 016a9a873fba71388bdbaa1423134fd1f2335a15.
2022-11-26 08:51:09 -05:00
Olivier Gagnon
af1a1ac58d
Rename lots of reference from old to new repo
2022-10-20 03:56:59 +11:00
Olivier Gagnon
cbb7f58231
Make the main player object an alias, makes it easier to import
2022-10-09 18:42:14 -04:00
Olivier Gagnon
f6f023eeb4
Fix tons of typos
2022-10-09 01:25:31 -04:00
Duck McSouls
d8ef63cfe9
NETSCRIPT: format fixes
...
The command `npm run format` reports some formatting issues under `src/ScriptEditor`. Fix the reported formatting issues.
2022-09-30 14:47:33 +10:00
hydroflame
7ce1adddce
Merge pull request #4151 from LJNeon/script-editor-fix
...
UI: Remove extra / from open script tab when files are in a folder
2022-09-27 17:50:32 -03:00
Snarling
91a69d7d8f
format & lint
2022-09-27 15:35:40 -04:00
Snarling
83d357e758
commit1
2022-09-27 15:35:40 -04:00
Snarling
572c68738f
Unify error handling
2022-09-27 15:34:47 -04:00
LJNeon
a464563e1c
chore(ScriptEditor): Remove extra / from files in a folder
2022-09-23 19:23:54 -07:00
Snarling
445e365959
debounce updateRAM
2022-08-23 16:38:30 -04:00
hydroflame
849046df3a
Merge pull request #3985 from Snarling/synchronize
...
NETSCRIPT: ns.scp and ns.write are now synchronous + fix exec race condition
2022-08-23 12:25:24 -03:00
Snarling
f6a8d5d337
synchronize scp and write
2022-08-17 18:55:12 -04:00
Snarling
e6f9f9ed75
const openScripts (format)
2022-08-16 15:19:33 -04:00
Snarling
57fa1b743a
const openScripts
2022-08-16 15:17:44 -04:00
Snarling
8cbb8aac2e
Remove unnecessary assignments & spreads
2022-08-16 12:24:50 -04:00
Snarling
fbee07ffd7
Fix dirty indicator
2022-08-16 10:41:40 -04:00
Snarling
fd3ff76976
Improve ScriptEditor responsiveness
2022-08-16 02:32:25 -04:00
Olivier Gagnon
2d522ea1e6
allbuild commit e9254edf
2022-07-21 15:09:55 -04:00
Olivier Gagnon
d01fd55bde
lint fmt
2022-07-21 01:58:47 -04:00
Olivier Gagnon
207e55c7b8
add colon x to vim mode
2022-07-21 01:25:43 -04:00
Olivier Gagnon
96654d4c0a
rm some anys
2022-07-19 21:38:50 -04:00
Olivier Gagnon
dfadfe6eb2
working with monaco anys
2022-07-19 20:10:30 -04:00
Olivier Gagnon
2442402af5
fix more anys
2022-07-19 16:46:03 -04:00
Olivier Gagnon
4bee746576
rm any
2022-07-15 01:51:30 -04:00
Olivier Gagnon
76ccb0ba36
lint
2022-05-25 11:43:43 -04:00
hydroflame
9818a397bc
Merge pull request #2989 from phyzical/bugfix/2958
...
UI: FIX #2228,#2958 Fix tab highlights and highlight files not on home.
2022-05-04 12:10:43 -04:00
Olivier Gagnon
f10de908d4
Make tutorial explain ns1 vs ns2 better
2022-04-29 17:54:59 -04:00
nickofolas
d1edbe9a43
Save data sanitization
...
- Run in `Editor.beforeMount`, as well as when the
options modal is closed
- Recursively validates all token colors and
replaces them with bright red if they're invalid
2022-04-13 14:32:30 -05:00
nickofolas
6f60589779
Tie up loose ends
...
- Ensure that customTheme is redefined whenever the options modal
is closed, regardless of saved or not
- Reset the pending value for the theme editor whenever modal is clsoed
2022-04-13 14:32:30 -05:00
nickofolas
16cf227498
Implement Monaco theme editor
2022-04-13 14:32:30 -05:00
hydroflame
03b05f53fe
Revert "[Feature] Script Editor Theme Customization"
2022-04-13 01:12:56 -04:00
hydroflame
413576100a
Merge pull request #2876 from nickofolas/feature/monaco-theme-editor
...
[Feature] Script Editor Theme Customization
2022-04-13 01:12:15 -04:00
hydroflame
68abd27d2c
Merge branch 'dev' into add-ns-getRecentScripts
2022-04-12 14:21:18 -04:00
phyzical
d24a26a208
merge dev
2022-04-07 16:37:57 +08:00
Olivier Gagnon
48f80f25d6
fmt and lint
2022-04-06 19:30:08 -04:00
Jack
b79f466395
Merge branch 'dev' into bugfix/2958
2022-03-30 08:26:18 +08:00
hydroflame
83ef5a940b
Merge branch 'dev' into prompt-additions
2022-03-17 15:38:13 -04:00
BB
4eb59ac70c
Turned on no-useless-concat lint and fixed it in code
2022-03-16 20:44:52 +01:00
hydroflame
f62c0c0cef
Merge pull request #3137 from phyzical/feature/filter-open-scripts
...
Add the ability to filter open scripts
2022-03-16 14:50:30 -04:00
phyzical
61ed4a4d43
Add the ability to filter open scripts
...
* icon that opens up on click and reset and closes on X
2022-03-15 20:37:11 +08:00
Jack
41974b042c
Merge branch 'dev' into bugfix/2958
2022-03-15 20:34:08 +08:00
Jack
2fa7aa6503
Update src/ScriptEditor/ui/ScriptEditorRoot.tsx
...
Co-authored-by: nickofolas <60761231+nickofolas@users.noreply.github.com>
2022-03-12 11:40:45 +08:00
nickofolas
a1b3dddf9e
Add minHeight to editor tabs
2022-03-11 11:10:28 -06:00
Jack
6f10d5f8bf
Merge branch 'dev' into bugfix/2958
2022-03-11 17:49:35 +08:00