Commit Graph

704 Commits

Author SHA1 Message Date
Snarling
0f15431b5f remove unused eventEmitterForUiReset 2022-08-20 19:08:05 -04:00
Snarling
97961d6896 Reduce prop chaining 2022-08-20 18:52:18 -04:00
Snarling
9d5cf89f68 Remove prop chain for cancelOrder + format 2022-08-20 18:40:21 -04:00
Roman Ivaniuk
5c0c130b4b 3992 Fix: handle null duration in toast ns function
extend SnackbarEvents typing to allow null in third argument
also remove typos in Electron.tsx init functions comments
2022-08-19 14:38:46 +03:00
Snarling
fd3ff76976 Improve ScriptEditor responsiveness 2022-08-16 02:32:25 -04:00
hydroflame
b19f6c5f82
Merge pull request #3970 from phyzical/feature/prompt-error-support
FIX: Prompt Add user friendly message to avoid throwing recovery screen for invalid choices
2022-08-09 12:02:40 -03:00
mihilt
c07f525d4a fix: undo a wrong correction 2022-08-09 18:48:53 +09:00
phyzical
3465f12f1d
Add auser friendly message to avoid throwing recovery screen
feature/prompt-error-support

File List:
src/ui/React/PromptManager.tsx
2022-08-09 15:57:36 +08:00
mihilt
f8252a30e2 fix: fix some errors
- fix RAM size correctly
- fix terminal username correctly
2022-08-08 21:17:34 +09:00
Olivier Gagnon
326d9fd7ef Move player skills and exp to their struct 2022-07-26 23:54:17 -04:00
Olivier Gagnon
e6d14eff68 preparation for v2 launch 2022-07-26 15:09:11 -04:00
Olivier Gagnon
faa3e212f3 fix a bunch of small v2 related bugs 2022-07-26 08:08:51 -04:00
Olivier Gagnon
d01fd55bde lint fmt 2022-07-21 01:58:47 -04:00
Olivier Gagnon
c9b9c2c55b merge dev 2022-07-20 12:16:42 -04:00
Olivier Gagnon
49f6fda1e4 remove last colon any for now 2022-07-20 01:48:54 -04:00
Olivier Gagnon
26986c2d3e fix work crashing when installing 2022-07-19 21:42:54 -04:00
Olivier Gagnon
c3a10d5d95 fix more anys 2022-07-19 18:25:06 -04:00
Olivier Gagnon
bb8af88b77 prep v2 2022-07-19 14:21:12 -04:00
Olivier Gagnon
b409e58447 fix exp not loading, kinda 2022-07-19 13:09:56 -04:00
Olivier Gagnon
c977a9def7 tidy up eslint.js 2022-07-19 12:19:32 -04:00
Olivier Gagnon
5c3ecb9a23 fix any in PromptManager 2022-07-18 02:59:04 -04:00
Olivier Gagnon
aacdde8082 fix any in StatsTable 2022-07-18 02:57:11 -04:00
Olivier Gagnon
97c5332a59 fix any in LogBoxManager 2022-07-18 02:53:01 -04:00
Olivier Gagnon
ae54092334 fix any in CharacterStats 2022-07-18 02:47:11 -04:00
Olivier Gagnon
ced37e3731 allbuild commit 6b18bfb1 2022-07-16 01:18:56 -04:00
Olivier Gagnon
4bee746576 rm any 2022-07-15 01:51:30 -04:00
Olivier Gagnon
e58456cd6b allbuild commit 0b22e87e 2022-07-14 21:59:23 -04:00
Olivier Gagnon
5629c16def extract multipliers in its own type 2022-07-14 18:43:33 -04:00
Olivier Gagnon
0550bc188c refactor some stuff 2022-07-14 17:43:08 -04:00
Olivier Gagnon
a5088f1136 Merge branch 'dev' into work 2022-07-14 16:43:26 -04:00
Olivier Gagnon
00ddeb751c Make tail box display ANSII colors 2022-07-14 16:34:42 -04:00
Olivier Gagnon
ad098e1f05 refactor ANSII colors into it's own component 2022-07-14 16:25:20 -04:00
Olivier Gagnon
28956d8fd6 make crime unfocusable 2022-07-14 15:53:42 -04:00
Olivier Gagnon
fac6633347 remove so many fields and values used by the old system 2022-07-12 23:13:40 -04:00
Olivier Gagnon
598e47766e convert company work to new work system 2022-07-12 22:43:03 -04:00
Olivier Gagnon
2d73f546b0 lint and remove unused var 2022-07-12 01:59:23 -04:00
Olivier Gagnon
f7805c4a51 convert faction work to new work system 2022-07-12 01:54:19 -04:00
Olivier Gagnon
e86a42716c lint 2022-07-11 15:58:23 -04:00
Olivier Gagnon
606f1bf6c4 create program and grafting done 2022-07-10 01:37:36 -04:00
Olivier Gagnon
647392626e convert taking class ot new work system 2022-07-07 17:28:23 -04:00
Olivier Gagnon
24b6eb4d56 make workinprogress crime 2 digit precision 2022-07-07 02:03:02 -04:00
Olivier Gagnon
3ee7d593d0 Convert crime to new work model 2022-07-07 02:00:23 -04:00
ilkecan
44118c8a72 Remove the hardcoded script name 2022-06-28 23:48:07 +00:00
ilkecan
415ae8ee59 Remove the hardcoded tutorial script extension
Parameterized it according to the chosen NS version.
2022-06-26 20:33:01 +00:00
Olivier Gagnon
b8750d1058 Make a new InputComponent that can be re-used everywhere to make all text accept the same kind of input 2022-05-27 20:41:14 -04:00
Olivier Gagnon
ca2e22506b more lint 2022-05-25 15:40:57 -04:00
nickofolas
012edd3b2a Fix log box wrap 2022-05-22 11:54:05 -05:00
Undeemiss
d52e1f44b4 Removed my stupid comment lol (sorry!) 2022-05-17 15:26:26 -05:00
Undeemiss
c01cf85d27 Formatted and linted 2022-05-17 15:25:27 -05:00
Undeemiss
8903cd2a8b Removed closePid(fn, host, ...args) and fixed closePid(pid) 2022-05-17 15:19:35 -05:00
Undeemiss
e17fe6f618 closeTail(fn, host, ...args) can now close dead script tails
closeTail(pid) still cannot
2022-05-17 14:46:30 -05:00
Undeemiss
2b9d408b55 First attempt at an implementation; requires script be running 2022-05-17 13:45:30 -05:00
Undeemiss
5526355a43 Set up the skeleton of an ns.closeTail function 2022-05-16 19:15:38 -05:00
nickofolas
430d1dad9d Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/bitnode-multipliers 2022-05-13 11:55:55 -05:00
hydroflame
a8a302fc0a
Merge pull request #3641 from nickofolas/fix/log-box-ellipsis
UI: Minor improvements to log boxes
2022-05-13 11:06:05 -04:00
nickofolas
dd949697df Fix handle position 2022-05-09 19:26:20 -05:00
nickofolas
d4e97d786c Various log box improvements 2022-05-09 18:15:23 -05:00
nickofolas
bc9bce0d2c Tweaks to classes 2022-05-09 17:50:45 -05:00
nickofolas
ebc6b52af5 Properly show stats with a BitNode mult of 0 2022-05-08 20:45:00 -05:00
nickofolas
d1498598a9 Fix conditional rendering of BN mults element 2022-05-07 17:16:47 -05:00
nickofolas
c688e20876 Refactor character stats table 2022-05-07 16:51:34 -05:00
nickofolas
5d89f17e4a Tweak max SF level code 2022-05-07 16:28:01 -05:00
nickofolas
1f8c5164d7 Update BN Mults UI and add section to Stats 2022-05-07 15:52:10 -05:00
nickofolas
b1f945ff8e Refactor CharacterStats a bit 2022-05-07 14:48:26 -05:00
nickofolas
3e9bcea9e4 Fix modal z-index 2022-05-06 11:35:23 -05:00
nickofolas
f45200b25e Implement ClassType and FactionWorkType enums 2022-05-04 14:18:12 -05:00
nickofolas
4a8e99b170 Refactor WorkType to an enum 2022-05-04 13:42:48 -05:00
nickofolas
cc5e89208e Convert WIP root to use switch statement 2022-05-04 12:44:48 -05:00
nickofolas
bcb6176952 Merge branch 'dev' into improvement/work-in-progress-ui 2022-05-04 12:28:33 -05:00
nickofolas
b8cb5f0991 Remove elapsed from crime WIP 2022-05-03 15:27:41 -05:00
nickofolas
e8a08424af Fix typo 2022-05-02 17:57:50 -05:00
nickofolas
73d08973f9 Render faction money gain conditionally 2022-05-02 17:56:02 -05:00
nickofolas
e859759ebd First pass on work in progress root 2022-05-02 17:31:40 -05:00
nickofolas
4c15b77d21 Update StatsRow 2022-05-02 17:05:25 -05:00
nickofolas
35fa6dcca1 Basic WorkInfo implementation 2022-05-02 16:34:17 -05:00
nickofolas
05078ffb08 Move ProgressBar component 2022-05-02 15:36:21 -05:00
hydroflame
0b74e2c65f
Update src/ui/InteractiveTutorial/InteractiveTutorialRoot.tsx
Co-authored-by: nickofolas <60761231+nickofolas@users.noreply.github.com>
2022-04-29 18:26:58 -04:00
Olivier Gagnon
f10de908d4 Make tutorial explain ns1 vs ns2 better 2022-04-29 17:54:59 -04:00
Snarling
bb5cc82226 Update LogBoxManager.tsx 2022-04-24 04:49:31 -04:00
Snarling
4e64d6df5b Add minimum constraints for tail resize 2022-04-23 19:51:39 -04:00
Snarling
f05df0659d Improve tail window buttons 2022-04-23 16:48:48 -04:00
JP Sugarbroad
d5be70e886 update @types/numeral and fix type errors 2022-04-19 17:07:51 -07:00
nickofolas
75ce3f2346 Use same BN level logic as save name generator 2022-04-19 09:57:26 -05:00
hydroflame
40febcf22e
Merge pull request #3488 from Snarling/touchScreenTailFix
UI: FIX #3341 Enable touch-clicks in react-draggable
2022-04-18 20:52:09 -04:00
Snarling
5c53b39edc Try to fix formatting? 2022-04-17 17:40:37 -04:00
Snarling
2e7b7c9d86 Enable touch-clicks in react-draggable
Add onTouchEnd events for click functions inside react-draggable. Necessary because react-draggable prevents default click behavior.
2022-04-17 15:57:35 -04:00
nickofolas
9db90709fd Bulk of design overhaul 2022-04-17 12:51:14 -05:00
Olivier Gagnon
62d15ff3a1 rm SourceFileFlags 2022-04-14 01:22:50 -04:00
Heinous Tugboat
492c7012ea Renames SnackbarVariant to ToastVariant, adds enum to ns 2022-04-13 01:54:13 -04:00
hydroflame
eee8d3e283
Merge pull request #3381 from HeinousTugboat/htugboat/toast-enum
Adds SnackbarVariant enum
2022-04-13 00:34:09 -04:00
Olivier Gagnon
52e01fc026 fix a few things about getRecentScritps 2022-04-12 14:45:48 -04:00
hydroflame
68abd27d2c
Merge branch 'dev' into add-ns-getRecentScripts 2022-04-12 14:21:18 -04:00
hydroflame
243cdceb8c
Merge pull request #3390 from nickofolas/improvement/stats-augs-ui
[Improvement] Overhaul Stats and Augmentations UI
2022-04-12 13:43:09 -04:00
hydroflame
3f4d00a8c2
Merge pull request #3350 from phyzical/bugfix/3348
Fix for install augmentation stale objects bug
2022-04-11 20:05:46 -04:00
hydroflame
1b87628a4d
Merge pull request #3387 from nickofolas/improvement/grafting-tweaks
[Improvement] Small grafting tweaks based around Congruity aug, plus some general grafting fixes
2022-04-11 13:22:34 -04:00
nickofolas
8da51b7e0a Replace references to crafting with grafting 2022-04-11 11:07:15 -05:00
phyzical
909e5e964f add call to missing stock market init when using the api 2022-04-10 18:19:45 +08:00
nickofolas
4a0998c568 Fix DOM parse warnings 2022-04-09 09:06:32 -05:00
Heinous Tugboat
5b96cedd0c Adds SnackbarVariant enum 2022-04-08 23:46:19 -04:00
nickofolas
f40af55f46 Change money stat color 2022-04-08 16:10:35 -05:00