Commit Graph

301 Commits

Author SHA1 Message Date
Olivier Gagnon
a9d5ff9bc9 lint 2022-07-18 03:31:17 -04:00
Olivier Gagnon
4bee746576 rm any 2022-07-15 01:51:30 -04:00
Olivier Gagnon
6b630753f0 nuke some use of any 2022-07-14 19:00:10 -04:00
BB
de01ae20b9 Fixed some typos and style issues 2022-06-07 15:26:33 +02:00
phyzical
2e7e5ad917
remove progMult as it is redundant
feature/3737

File List:
src/Corporation/Product.ts
2022-05-25 17:09:36 +08:00
borisflagell
5bc1d293ca prettier 2022-05-22 11:59:14 +02:00
borisflagell
82a001c962 UI: FIX #3376 Add a Total Profit line on Corporation Overview
Add a Total Profit line on Corporation Overview.

Feels a bit like a low added-value bloat.
But division did use that pattern already, so I guess it can count as streamlining.
2022-05-22 11:52:45 +02:00
Undeemiss
b00301f4e1 Renamed BN mult CorporationSoftCap to CorporationSoftcap
Replaced all instances of "CorporationSoftCap" in src/ with
"CorporationSoftcap". If files outside of src/ must be changed, I
do not know what those would be.
2022-05-09 14:45:19 -05:00
phyzical
c3946af666 moved the disabled button over to the buy material modal
to allow bulk purchasing while smart supply is on
2022-04-17 10:59:38 +08:00
Olivier Gagnon
eae4eb2a31 comment 2022-04-14 00:23:48 -04:00
Olivier Gagnon
d8382ec762 Corp upgrades are now defined types 2022-04-14 00:21:33 -04:00
Olivier Gagnon
7c129f1050 revert corp nerf 2022-04-13 19:33:04 -04:00
Olivier Gagnon
abdd8c48d1 nerf Wilson Analytics 2022-04-13 18:26:19 -04:00
Olivier Gagnon
76e539bbb8 bump corpo avg profit length 2022-04-13 18:14:16 -04:00
Olivier Gagnon
88ae27e84d nerf investors fraud 2022-04-13 18:08:35 -04:00
Jack
2f9ab67cd2
Merge branch 'dev' into bugfix/corp-updates 2022-04-13 16:35:18 +08:00
hydroflame
770a76e7e5
Merge pull request #2979 from phyzical/bugfix/2843
updated material dmd based on old tag
2022-04-13 00:24:29 -04:00
Olivier Gagnon
93e7083301 fix lint 2022-04-11 20:59:37 -04:00
hydroflame
674f3b0c9f
Merge pull request #3318 from smmalis37/empjobs
Fix docs for employeeProd and add employeeJobs.
2022-04-11 20:48:17 -04:00
hydroflame
99ad015d4b
Merge pull request #3389 from ChrissiQ/fix-ui-style-corp-width
️  (Corp UI Accessibility) Limit tabs width to avoid stretching screen.
2022-04-11 11:59:45 -04:00
phyzical
e3da5e0e03 added the ability to cancel products when still being developed 2022-04-11 21:55:38 +08:00
phyzical
1718b55c27 fix for the bulk purchase 2022-04-11 08:10:58 +08:00
ChrissiQ
2111c2e3d7 ️ (Corp UI Accessibility) Limit tabs width to avoid stretching screen.
The rendering engine doesn't seem to respond properly to a limit of 65% for the tabs
area. Though the tab area visually appears to be limited, the parent container is
still using the full extended width of the tabs, causing page stretch. Using 65vw
instead of 65% for maxWidth causes the calculation to be based on the actual page
width so no stretching occurs.
2022-04-10 12:37:10 -06:00
phyzical
afa2210aa6 Merge branch 'dev' into bugfix/2843 2022-04-07 16:38:48 +08:00
phyzical
43248bbc42 merge dev 2022-04-07 16:25:33 +08:00
Olivier Gagnon
48f80f25d6 fmt and lint 2022-04-06 19:30:08 -04:00
phyzical
10fafd39f3 fix the amt issue for modal also 2022-04-02 20:17:30 +08:00
phyzical
0fbb8553e6 add fix for bulk buy when purchase amount exceeds warehouse size
* add logic to disable button when input is invalid
2022-04-02 19:38:26 +08:00
BB
c7a95ccb2d Fixed eslint warning for unused vars 2022-04-02 13:11:55 +02:00
phyzical
8d56c41dd6 actual fix for the reseting of limit, need to reset modal internal state 2022-04-02 13:29:56 +08:00
phyzical
9e39ca32a5 fix text for sell shares modal text 2022-04-02 10:47:21 +08:00
phyzical
4224c7defd fix stock price estimate text when selling 2022-04-02 00:37:42 +08:00
phyzical
50cfa99b24 fix for reseting limit production
closes #3175
2022-04-01 23:21:05 +08:00
phyzical
b73570e2f7 added the ability to mass upgrade warehouse 2022-04-01 23:19:08 +08:00
phyzical
13c486d639 added logic to support material production limit
* added ns functions for limit production and limit material
closes #3180
2022-04-01 22:28:48 +08:00
phyzical
60f56a55ab move modals to a modals folder 2022-04-01 21:55:23 +08:00
phyzical
1eca9449a0 removes spaces in at start and end of product name on creation
closes #3007
2022-04-01 20:58:36 +08:00
phyzical
ea14646d39 added check for already expanding into city
fixes #3312
2022-04-01 19:50:21 +08:00
Steven Malis
e572c6e139 Add unassigned and training. 2022-04-01 01:44:53 -04:00
Steven Malis
bb62973905 Fix docs for employeeProd and add employeeJobs. 2022-04-01 01:37:27 -04:00
hydroflame
8354ba2314
Merge pull request #3286 from phyzical/bugfix/fix-max-warehouse-bulk-purchase
incorrect ternary with bulk purchase
2022-03-30 11:34:48 -04:00
Olivier Gagnon
98ae97afea Validate city name coming from netscript 2022-03-30 11:34:03 -04:00
phyzical
3c991a743c incorrect ternary 2022-03-30 23:33:45 +08:00
hydroflame
04d45a1f0e
Merge pull request #3192 from gianfun/check-corp-upgrade-before-purchase
Check before unlocking corp upgrade
2022-03-20 21:27:21 -04:00
hydroflame
9922ffb3c2
Merge branch 'dev' into issues/2308 2022-03-20 14:22:32 -04:00
Gian P
8be65faf9f Check before unlocking corp upgrade 2022-03-19 16:53:28 -03:00
Olivier Gagnon
bdb4d96f43 fix tooltip not dissapearing. 2022-03-19 11:19:59 -04:00
phyzical
44ea479043 update constants
* added OperationNames
* added faction names
* used citynames where appropriate
2022-03-19 16:09:59 +08:00
Master-Guy
d4f01c8b40 Fix for SRC folder 2022-03-18 11:07:29 +01:00
Master-Guy
9dd933ecee Changed .keyCode to .key for files in "src" 2022-03-18 10:43:56 +01:00