4 Commits
0.0.4 ... 0.0.5

Author SHA1 Message Date
release-bot
67ce24e7e3 [RELEASE]prepare release 0.0.5 2024-01-22 21:50:25 +00:00
Sheldan
914db3d871 fixing not updating slots to update when an item was removed
fixing bank display
2024-01-22 22:48:35 +01:00
release-bot
02278b9e55 Commit from GitHub Actions (Publishes a new version of the application) 2024-01-22 21:15:06 +00:00
release-bot
ebe2d3c986 [RELEASE]prepare for next development iteration 2024-01-22 21:13:18 +00:00
12 changed files with 17 additions and 14 deletions

2
.env
View File

@@ -1,2 +1,2 @@
REGISTRY_PREFIX=harbor.sheldan.dev/gw2/
VERSION=0.0.3
VERSION=0.0.4

View File

@@ -2,4 +2,4 @@ apiVersion: v2
name: gw2-tools
description: A Helm chart for Kubernetes
type: application
version: 0.0.3
version: 0.0.4

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.gw2.tools</groupId>
<artifactId>gw2-tools</artifactId>
<version>0.0.4</version>
<version>0.0.5</version>
</parent>
<artifactId>database</artifactId>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.gw2.tools</groupId>
<artifactId>gw2-tools</artifactId>
<version>0.0.4</version>
<version>0.0.5</version>
</parent>
<artifactId>executable</artifactId>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.gw2.tools</groupId>
<artifactId>gw2-tools</artifactId>
<version>0.0.4</version>
<version>0.0.5</version>
</parent>
<artifactId>gw2-api-client</artifactId>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.gw2.tools</groupId>
<artifactId>gw2-tools</artifactId>
<version>0.0.4</version>
<version>0.0.5</version>
</parent>
<artifactId>packaging</artifactId>

View File

@@ -9,7 +9,7 @@
</parent>
<groupId>dev.sheldan.gw2.tools</groupId>
<artifactId>gw2-tools</artifactId>
<version>0.0.4</version>
<version>0.0.5</version>
<packaging>pom</packaging>
<name>gw2-tools</name>
<description>Tools for GW2</description>
@@ -25,7 +25,7 @@
<connection>scm:git:${project.scm.url}</connection>
<developerConnection>scm:git:${project.scm.url}</developerConnection>
<url>https://github.com/Sheldan/gw2-tools.git</url>
<tag>0.0.4</tag>
<tag>0.0.5</tag>
</scm>
<distributionManagement>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.gw2.tools</groupId>
<artifactId>gw2-tools</artifactId>
<version>0.0.4</version>
<version>0.0.5</version>
</parent>
<artifactId>rest-api</artifactId>

View File

@@ -1,11 +1,11 @@
{
"name": "drr-ui",
"version": "0.0.3",
"version": "0.0.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.0.3",
"version": "0.0.4",
"dependencies": {
"@reduxjs/toolkit": "^2.0.1",
"@testing-library/jest-dom": "^5.17.0",

View File

@@ -1,6 +1,6 @@
{
"name": "gw2-tools-ui",
"version": "0.0.3",
"version": "0.0.4",
"private": true,
"dependencies": {
"@reduxjs/toolkit": "^2.0.1",

View File

@@ -24,13 +24,13 @@ export function Bank() {
const removedItems =
<>
{displayAdded ? <span className={styles.spanNewLine}>Removed items</span> : ''}
{displayRemoved ? <span className={styles.spanNewLine}>Removed items</span> : ''}
{bank.removedSlots.map((item) => <InventoryItem item={item}/>)}
</>
const addedItems =
<>
{displayRemoved ? <span className={styles.spanNewLine}>Added Items</span> : ''}
{displayAdded ? <span className={styles.spanNewLine}>Added Items</span> : ''}
{bank.addedSlots.map((item) => <InventoryItem item={item}/>)}
</>

View File

@@ -144,6 +144,7 @@ export function calculateBankDifferences(existingBank, incomingBankSlots, mockin
count: 0,
changed: -slot.count
})
slotsToUpdate[slot.id] = -slot.count
}
})
return [slotsToAdd, slotsToRemove, slotsToUpdate];
@@ -187,6 +188,7 @@ export function calculateSharedInventoryDifferences(existingSharedInventory, inc
count: 0,
changed: -slot.count
})
slotsToUpdate[slot.id] = -slot.count
}
})
return [slotsToAdd, slotsToRemove, slotsToUpdate];
@@ -230,6 +232,7 @@ export function calculateMaterialsDifference(materials, materialSlots, mocking)
count: 0,
changed: -slot.count
})
slotsToUpdate[slot.id] = -slot.count
}
})
return [slotsToAdd, slotsToRemove, slotsToUpdate];