Commit Graph

118 Commits

Author SHA1 Message Date
Patric Stout
d67b489963 chore: ensure no duplicated cargo/drones exist in fits (#142) 2024-06-02 09:01:16 +00:00
Patric Stout
7df8090a5d fix: don´t make PG/CPU usage go over 100% (#140) 2024-05-26 13:09:02 +00:00
Patric Stout
da14dee51d fix: base hardware listing on current fit (not preview) (#139) 2024-05-26 13:08:48 +00:00
Patric Stout
72bbadeaee feat: on hover, preview the module / charge (#138)
This shows the impact adding the module / charge would have, and colouring the statistics accordingly.
2024-05-26 12:53:31 +00:00
Patric Stout
d8bb534526 fix: hull restriction filtering was too strict (#137) 2024-05-26 12:40:59 +00:00
Patric Stout
67422a887c fix: part of stats could be invisible if numbers too large (#136) 2024-05-26 10:31:22 +00:00
Patric Stout
a427cb7f81 fix: further restrict modules when hull restriction is enabled (#135)
When you have no low-slots, show no low-slot modules.
And some rigs also have canFitShipNNN constraints.
2024-05-25 13:22:25 +00:00
Patric Stout
fc5ba2585c feat: allow filtering modules for hull restrictions (#134) 2024-05-25 13:10:32 +00:00
Patric Stout
7a1f003743 feat: keep a (short) history of your changes (#133) 2024-05-25 10:35:57 +00:00
Patric Stout
ef1e740567 fix: use zero for values when no fit is selected (#132) 2024-05-25 10:34:16 +00:00
Patric Stout
b7252fa593 fix: unbreak "fit:v1" links (#131) 2024-05-20 19:30:42 +00:00
Patric Stout
e0701211e1 chore!: create a more typed EsfFit (#130) 2024-05-20 19:00:46 +00:00
Patric Stout
955e884c16 refactor: reworked all providers, so they are more well defined in their actions (#128) 2024-05-20 10:55:21 +00:00
Dmytro Savin
20630b59db fix: add titles to slot actions (#127) 2024-05-17 22:22:23 +02:00
Patric Stout
6627e68fa4 chore: preload module/charge from listing, to always show drag/drop image (#126)
Drag&drop need the image the be preloaded in order to render it. Browsers
cannot fetch the image while dragging.
2024-05-17 19:01:22 +00:00
Patric Stout
c07ba95c6f feat: ability to drag and drop to the center, to fit module/charge (#125) 2024-05-17 18:58:30 +00:00
Patric Stout
1008128bcc feat: ability to drag and drop charges (#124) 2024-05-17 18:49:23 +00:00
Dmytro Savin
00f753843b feat: ability to drag and drop modules (#123) 2024-05-17 20:04:06 +02:00
Patric Stout
75dd759f7c refactor: use path alias for easier access to components/hooks/providers (#122) 2024-05-13 21:19:38 +02:00
Patric Stout
be7fa1e3d7 refactor: split up the src folder in components/hooks/providers (#121)
The listing got large, and the overview was hard to get.
2024-05-13 18:16:56 +00:00
Patric Stout
1a4001ebcb chore: FitButtonBar no longer fits on one line (#120) 2024-05-12 20:52:37 +02:00
Patric Stout
c98fa1d907 chore: ShipSnapshotSlotsType was not consistent in its type (#118) 2024-05-12 14:53:36 +00:00
Patric Stout
1b4c91774d fix: skip unknown items in EFT fits (#117)
It is not ideal, but not importing anything isn't either.
2024-05-12 14:42:45 +00:00
Patric Stout
6b40d3fbe8 fix: skip EFT entries that don't have effects/attributes (#116)
It is most likely something in the cargohold.
2024-05-12 14:40:03 +00:00
Patric Stout
0d77d8b670 feat: show Rig / CPU / PG usage in the circle around the fit (#115) 2024-05-12 16:29:35 +02:00
Patric Stout
f5aff61ada feat: show slot placeholder for slots that are empty (#113) 2024-05-12 10:16:45 +00:00
Patric Stout
8d0764d0fa feat: show launcher/turret slots and usage above fit (#112) 2024-05-12 09:54:50 +00:00
Patric Stout
1888f8fced fix: import from clipboard no longer worked (#111) 2024-05-11 16:16:40 +00:00
Patric Stout
a772a8272a feat: ability to import EFT fits directly from URL (#110) 2024-05-11 13:39:49 +00:00
Patric Stout
4c1a7c3b3f fix!: fixup KillMail fits on load, not on simulation (#109) 2024-05-11 15:33:47 +02:00
Patric Stout
a22a6cdc4e chore: initialize ESF with an empty fit, instead of a Tengu (#108) 2024-05-11 13:17:17 +00:00
Patric Stout
89f615a219 chore: in calculation details, show better when an effect isn't applied (#107) 2024-05-11 12:41:30 +00:00
Patric Stout
5269f047b1 chore: sort() modifies the original array, so clone first (#106) 2024-05-11 12:36:34 +00:00
Patric Stout
a0e1788745 fix: fits imported via killmail could have stuck charges (#105) 2024-05-11 09:01:41 +00:00
Patric Stout
08fbc19386 fix: show a clear error as to why EFT import fails (#102) 2024-05-10 21:18:43 +00:00
Patric Stout
a0b573d66c feat: support import/export of ammo via EFT (#101) 2024-05-10 21:09:30 +00:00
Patric Stout
0126b2cf96 feat: support import/export of drones via EFT (and ignore mutations) (#100) 2024-05-10 20:58:59 +00:00
Patric Stout
8e827d8ec9 feat: useEveShipFitLinkHash() to get only the hash part for a link (#99) 2024-05-10 20:24:29 +00:00
Patric Stout
d8374904f8 chore: remove teardown of window functions (#98)
React in StrictMode should run effect -> teardown -> effect,
but for some reason it never does the second "effect" in time.
In result, the dogma-engine is marked as loaded, but it really
isn't.

Setting the dogma-engine as unloaded also doesn't work, as
that signal arrives after the dogma-engine is used.
2024-05-10 20:09:51 +00:00
Patric Stout
b7c085f84b chore: also update the latest storybooks for the recent change (#96) 2024-05-10 19:19:53 +00:00
Patric Stout
235d28cfa5 refactor: move skills storage inside ShipSnapshotProvider (#82)
This makes EsiProvider dependant on ShipSnapshotProvider, but also
avoids pages having to store skills themselves.
2024-05-10 21:16:23 +02:00
Patric Stout
67543579c8 chore: bump dogma-engine to v4 and update code accordingly (#95) 2024-05-10 18:14:31 +00:00
Patric Stout
7c3b7602e0 fix: importing anything other than killmail broke (#94) 2024-05-10 16:50:24 +00:00
Patric Stout
e9b8da408a fix: render less statistics for Structures (#93) 2024-05-10 16:29:59 +00:00
Patric Stout
48a187984b fix: don't calculate fits till eve-data is loaded (#92) 2024-05-10 15:29:40 +00:00
Patric Stout
0d94fd6d19 feat: allow importing fits from killmails (#91) 2024-05-10 17:03:57 +02:00
Patric Stout
b74de9a609 fix: also store charges and state in fit-links (#90) 2024-05-10 13:15:55 +00:00
Patric Stout
88310bffd1 chore: fix broken TreeListing storybook (#88) 2024-05-09 15:27:44 +00:00
Patric Stout
ab4bca51fc chore: operator precedence of ?? is not what you think (#86) 2024-05-09 15:26:11 +00:00
Patric Stout
52968605b3 fix: round statistics up/down correctly (#84)
- HP is always floor().
- Resistance is ceil(), sometimes. 10.01 becomes 10, but 10.1 becomes 11.
- Rest seems to be rounding.
2024-05-09 17:02:35 +02:00