Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add skills section and update farming stats #18

Merged
merged 28 commits into from
Jul 13, 2024
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ba9621a
fix: correct the types
DarthGigi Jun 25, 2024
a275ab6
feat: add skills section
DarthGigi Jun 25, 2024
2210d95
Merge branch 'main' into feat/skills-section
DarthGigi Jun 26, 2024
f09aa08
chore: update submodule
DarthGigi Jun 26, 2024
12ecd29
feat(stats): farming contests, medals and quick forge
DuckySoLucky Jun 26, 2024
e356638
refactor: split the skills sections into components for each skill
DarthGigi Jun 26, 2024
1c46bdd
feat: add chip component
DarthGigi Jun 26, 2024
10ee905
fix: types
DarthGigi Jun 26, 2024
000b72d
feat(stats): add sea creature data & farming contests
DuckySoLucky Jun 26, 2024
0e2a9db
feat(stats): add current stage and total caught tropy fish
DuckySoLucky Jun 26, 2024
303db2d
fix(stats): remove trophyFishCaught: number;
DuckySoLucky Jun 26, 2024
bd267fa
fix(stats): add proper path for trophy fish textures
DuckySoLucky Jun 26, 2024
169442e
feat: update Chip component with animation options and image props
DarthGigi Jun 26, 2024
583a9e5
feat: update fishing section with formatted data and collapsible sect…
DarthGigi Jun 26, 2024
93affe4
refactor: update farming.svelte to use Chip component with image prop…
DarthGigi Jun 26, 2024
08318c6
feat: Update Chip component with tooltip variant
DarthGigi Jun 26, 2024
f8adfb7
refactor: remove tooltip wrapper
DarthGigi Jun 26, 2024
159d196
feat(stats): add enchanting
DuckySoLucky Jun 28, 2024
1152eb7
feat: add enchanting
DarthGigi Jun 28, 2024
16013bc
feat: add powders
DarthGigi Jun 28, 2024
cfbab81
fix(stats/enchanting): types
DuckySoLucky Jun 28, 2024
d58041e
feat(stats/farming): add farming weight
DuckySoLucky Jul 4, 2024
e051d1b
feat(stats/farming): update farming.svelte to display farming weight …
DarthGigi Jul 5, 2024
8499307
refactor(/stats/farming): better farming output
DuckySoLucky Jul 9, 2024
845c806
fix(stats/enchanting): proper ench tier icons
DuckySoLucky Jul 10, 2024
c3e3a41
Merge branch 'main' into feat/skills-section
DarthGigi Jul 11, 2024
11348ad
fix(stats/farming): farming crops not rendering correctly
DarthGigi Jul 12, 2024
dfb1c77
refactor(stats/skills): add fallback if enchanting data isn't availab…
DarthGigi Jul 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: update farming.svelte to use Chip component with image prop…
…s and animation options
  • Loading branch information
DarthGigi committed Jun 26, 2024
commit 93affe40a77906c102f23f7740d176f57f22c182
2 changes: 1 addition & 1 deletion src/lib/sections/stats/skills/farming.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<Collapsible.Content class="mt-4 flex flex-wrap gap-4">
{@const crops = Object.entries(profile.farming.contests)}
{#each crops as [_, cropData], index}
<Chip {index} animate={true} amountOfItems={crops.length}>
<Chip image={{ src: cropData.texture }} animationOptions={{ animate: true, amountOfItems: crops.length, index: index }}>
<div class="flex flex-col gap-0.5">
<h4 class="text-lg font-semibold">{cropData.name}</h4>
<AdditionStat text="Personal Best" data={formatNumber(cropData.collected)} />
Expand Down