Commit Graph

121 Commits

Author SHA1 Message Date
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
nickofolas
0236bdc73d Merge branch 'dev' into feature/monaco-theme-editor 2022-03-10 23:16:44 -06:00
Olivier Gagnon
9c3c83dcd5 fix lint 2022-03-10 22:34:54 -05:00
hydroflame
9372eef691 Merge pull request #2930 from JParisFerrer/vim_tab_switching
Add tab switching support to vim mode
2022-03-10 21:45:14 -05:00
hydroflame
e5c488e533 Merge pull request #3066 from phyzical/hotfix/2961-2
Fix editor "close" naming
2022-03-10 21:41:22 -05:00
nickofolas
472503814b Remove 200px min width of script editor tabs 2022-03-07 17:33:56 -06:00
phyzical
c5fc009d91 renamed close to Terminal
* evened out spacing of buttons
2022-03-05 12:23:10 +08:00
BB
7212cc2f1c Removed unnecessary eslint-disable lines 2022-03-01 17:33:27 +01:00
phyzical
7dd8deb1ed missed a change 2022-02-16 20:16:27 +08:00
phyzical
26002e0429 added logic to display server on save dialog
*added logic to display external servers as red
2022-02-16 20:11:37 +08:00
phyzical
ca28582265 added logic to also check hostname for "current script" 2022-02-16 18:41:22 +08:00
phyzical
d586743bf6 fixes for editor and tabs when names too long
* coupled some of the styles to avoid breaking this later on
* added tooltip incase its too long/ too small
* changes to use elipsis and RTL to read the end of file name
2022-02-09 00:12:37 +08:00
Jordi Paris Ferrer
419d585694 add tab switching support to vim mode 2022-02-06 16:34:14 -08:00
nickofolas
21e27dfab6 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-01-30 10:38:58 -06:00
Phil
08d0b4cbae Adding support for text/select options in Prompt command 2022-01-30 14:06:18 +00:00
nickofolas
e800886d42 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-01-29 23:44:31 -06:00
nickofolas
83e5b46f3e Implement Monaco theme editor 2022-01-29 23:17:57 -06:00
smolgumball
2add4e9112 Merge branch 'dev' into add-ns-getRecentScripts 2022-01-26 19:07:02 -07:00
nickofolas
1a8a24587f Ensure that the proper editor is updated by syncing 2022-01-20 17:45:54 -06:00
nickofolas
a5ad97f47d Remove unnecessary editor code 2022-01-20 17:28:19 -06:00
nickofolas
99ef71de4a Update prompt message content 2022-01-20 17:14:38 -06:00
nickofolas
bc50f5180a Refactor 2022-01-20 15:48:17 -06:00
nickofolas
b4a78c26f3 Implement editor tab actions 2022-01-20 15:48:16 -06:00
smolgumball
74e2acfa6f Add ns.getRecentScripts() 2022-01-19 00:04:48 -07:00
nickofolas
258a1b262e Update options button 2022-01-17 17:20:38 -06:00
nickofolas
a9314f2447 Show N/A when editing a txt file 2022-01-17 16:44:55 -06:00
nickofolas
c41cd68a8d Add modal to editor with RAM details 2022-01-17 16:32:45 -06:00
nickofolas
c1b777733f Improve clarity of editor tabs 2022-01-17 15:14:07 -06:00
Martin Fournier
aec2763b27 Ignore trailing whitespace for dirty file asterisk
Saved scripts is stored on servers with its starting & trailing whitespace removed, so
comparison would fail and show the file as dirty when there was a
trailing newline in the script.
2022-01-14 05:34:33 -05:00
nickofolas
e7983552dc Fix formatting for empty editor splash 2022-01-12 12:15:03 -06:00
hydroflame
7633f271db Merge pull request #2265 from TheMas3212/fix-2119
Fix 2119
2022-01-08 13:56:05 -05:00