Commit Graph

225 Commits

Author SHA1 Message Date
Mughur
d4c06eba24 Change corporatio valuation calculations 2022-09-23 05:05:18 +03:00
hydroflame
604596b907
Merge pull request #3480 from Undeemiss/corp-new-shares
CORPORATION: Limit shareholder priority on newly issued shares
2022-08-23 12:55:09 -03:00
Mughur
a88f36e2f4 add corp get functions, fix coffee hover text 2022-07-30 18:57:33 +03:00
Olivier Gagnon
18c3572423 removed the ability to bribe for shares 2022-07-26 08:20:22 -04:00
hydroflame
3b5d78792b
Merge pull request #3760 from nickofolas/fix/corporation-nformat
CORPORATION: Fix #3261 Industry overview number formatting
2022-07-21 02:15:46 -04:00
Olivier Gagnon
d01fd55bde lint fmt 2022-07-21 01:58:47 -04:00
hydroflame
2772511525
Merge pull request #3779 from borisflagell/CorpoNumeral
CORPORATION: Add big number format support in some Corporation's modal
2022-07-21 01:42:35 -04:00
Olivier Gagnon
ec17cfdaf3 merge corp not async 2022-07-20 17:27:11 -04:00
Olivier Gagnon
ef42ee7232 few more api break 2022-07-20 17:03:08 -04:00
Staszek Welsh
75a9151e74 Merge branch 'dev' into corp-remove-async 2022-07-20 21:12:27 +01:00
Olivier Gagnon
4bee746576 rm any 2022-07-15 01:51:30 -04:00
Staszek Welsh
53743ecb7d Change UI arrows 2022-06-03 22:16:03 +01:00
Staszek Welsh
02b07bb332 Fix relevant linter errors and run formatter 2022-06-02 22:54:50 +01:00
Staszek Welsh
1ed19168f6 Use nicer arrows and alignment in office UI 2022-06-02 17:47:31 +01:00
Staszek Welsh
333975ecf6 Move buy coffee button to office UI section 2022-06-02 14:49:52 +01:00
Staszek Welsh
ba7b76369b Remove industry upgrades
There are only two industry upgrades, one of which is buying coffee
which is not an upgrade, and for the office not the industry. Moving
that to the office leaves just hiring AdVerts, which is better as an
explicitly named set of methods.
2022-06-02 02:43:22 +01:00
Staszek Welsh
9ffec86b58 Make buy coffee UI reflect if we're buying coffee 2022-06-02 00:00:30 +01:00
Staszek Welsh
fe83ca0f3f Make throw party UI reflect if we're throwing a party 2022-06-01 23:45:29 +01:00
Staszek Welsh
1ba5902e1e Stop auto employee buttons moving around when the numbers change 2022-06-01 18:34:24 +01:00
Staszek Welsh
b9356ea782 Only switch employee jobs at the start of corp cycles 2022-06-01 18:11:33 +01:00
Staszek Welsh
eb46e4d156 Rename getDividends to getCycleDividends for clarity 2022-06-01 12:59:45 +01:00
Staszek Welsh
74e4a32f13 Fix shareholder earnings in UI being per cycle instead of per sec 2022-05-30 22:24:52 +01:00
Staszek Welsh
8d474a7610 Change corporation.dividendPercentage to corporation.dividendRate 2022-05-30 21:45:36 +01:00
borisflagell
2332138fbd Updated Modal to use new NumberInput Component 2022-05-28 03:15:23 +02:00
borisflagell
6be884a9ad prettier 2022-05-28 02:50:04 +02:00
borisflagell
c6b6ad1ab9 Corporation: Add big number format support in some modal corp
Add big number format support. to the following Corporation's modal :
-BuybackShare
-BribeFaction
-GoPublicModal
-IssueNewShare
-MakeProduct
-SellSahares
2022-05-28 02:50:04 +02:00
nickofolas
8630ff3741 Use big number format for industry overview 2022-05-25 14:26:14 -05: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
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
Undeemiss
f3bf872b23 Limit shareholder reservation on new shares relative to ownership
Updated the computations for issuing new corp shares so that
private investors cannot purchase a greater percentage of the
company than they already own. This change is an indirect buff
to corporations that elect not to use as many private investors
as possible.

Also updated UI elements to reflect the change. I'm not sure about
the wording I chose; I think it could be improved upon, but that
was the best I came up with.
2022-04-16 12:11:05 -05:00
Olivier Gagnon
d8382ec762 Corp upgrades are now defined types 2022-04-14 00:21:33 -04:00
Jack
2f9ab67cd2
Merge branch 'dev' into bugfix/corp-updates 2022-04-13 16:35:18 +08:00
phyzical
e3da5e0e03 added the ability to cancel products when still being developed 2022-04-11 21:55:38 +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
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
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
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
hydroflame
9922ffb3c2
Merge branch 'dev' into issues/2308 2022-03-20 14:22:32 -04:00
Olivier Gagnon
bdb4d96f43 fix tooltip not dissapearing. 2022-03-19 11:19:59 -04: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
BB
5e2ccc71ec Mixing spaces and tabs, extra semicolons and lonely ifs are now forbidden 2022-03-11 16:32:48 +01:00
hydroflame
f5ca700476
Merge pull request #2864 from SagePtr/corp-material-fix
Don't hide irrelevant materials if their stock is not empty and hide irrelevant divisions from Export
2022-03-10 21:46:13 -05:00