Commit Graph

133 Commits

Author SHA1 Message Date
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
96fedb3f87 chore: rename "npm run prettier" to "npm run format" (#119)
You don't actually care what software does the formatting.
Just that it gets done.
2024-05-12 17:54:26 +00: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
83f1aa211f chore: update README with instructions how to start development (#114) 2024-05-12 10:24:27 +00: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
114ef13c59 chore(deps): bump the dependencies group across 1 directory with 8 updates (#103)
Bumps the dependencies group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials) | `7.6.19` | `8.0.10` |
| [@storybook/addon-interactions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/interactions) | `7.6.19` | `8.0.10` |
| [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links) | `7.6.19` | `8.0.10` |
| [@storybook/blocks](https://github.com/storybookjs/storybook/tree/HEAD/code/ui/blocks) | `7.6.19` | `8.0.10` |
| [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) | `7.6.19` | `8.0.10` |
| [@storybook/react-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-webpack5) | `7.6.19` | `8.0.10` |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) | `7.6.19` | `8.0.10` |



Updates `@storybook/addon-essentials` from 7.6.19 to 8.0.10
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.0.10/code/addons/essentials)

Updates `@storybook/addon-interactions` from 7.6.19 to 8.0.10
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.0.10/code/addons/interactions)

Updates `@storybook/addon-links` from 7.6.19 to 8.0.10
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.0.10/code/addons/links)

Updates `@storybook/blocks` from 7.6.19 to 8.0.10
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.0.10/code/ui/blocks)

Updates `@storybook/react` from 7.6.19 to 8.0.10
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.0.10/code/renderers/react)

Updates `@storybook/react-webpack5` from 7.6.19 to 8.0.10
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.0.10/code/frameworks/react-webpack5)

Updates `storybook` from 7.6.19 to 8.0.10
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.0.10/code/lib/cli)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: "@storybook/addon-interactions"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: "@storybook/addon-links"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: "@storybook/blocks"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: "@storybook/react"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: "@storybook/react-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: storybook
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-11 08:02:32 +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
4842fcd01e chore: use the pull-request SHA on publishing for PR (#97) 2024-05-10 19:42:12 +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
41d54bbdc4 chore: switch package.json to major-version pinning (#87)
No longer define what minor (or patch) version we are compatible
with, as that shouldn't be relevant.
2024-05-09 17:26:27 +02:00