From 9fbb0fce04618bfbaee6715bdef5eea4044bfdd1 Mon Sep 17 00:00:00 2001
From: freyamade
Date: Fri, 3 Jan 2025 13:53:36 +0100
Subject: [PATCH 1/7] added firstname to the dev users
---
backend/api/management/commands/dev_setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/api/management/commands/dev_setup.py b/backend/api/management/commands/dev_setup.py
index a1d0c13..7255904 100644
--- a/backend/api/management/commands/dev_setup.py
+++ b/backend/api/management/commands/dev_setup.py
@@ -20,8 +20,8 @@ def handle(self, *args, **options):
User.objects.all().delete()
print('Creating Users')
- user1 = User.objects.create_superuser(username='devuser', password='password')
- user2 = User.objects.create_superuser(username='devuser2', password='password')
+ user1 = User.objects.create_superuser(username='devuser', password='password', first_name='Dev User 1')
+ user2 = User.objects.create_superuser(username='devuser2', password='password', first_name='Dev User 2')
print('Creating Characters')
char1 = models.Character.objects.create(
From 8724575b6b17cefc0ae51082a1d4f3cf276a38c3 Mon Sep 17 00:00:00 2001
From: freyamade
Date: Fri, 3 Jan 2025 15:26:26 +0100
Subject: [PATCH 2/7] Loot Manager Greed QoL update
---
.../src/components/loot/greed_character_entry.vue | 4 ++--
frontend/src/components/loot/greed_raid_modal.vue | 5 +++--
frontend/src/components/modals/changelog.vue | 14 ++++++++------
.../components/modals/per_fight_member_select.vue | 4 ++--
4 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/frontend/src/components/loot/greed_character_entry.vue b/frontend/src/components/loot/greed_character_entry.vue
index fcd000c..33ce695 100644
--- a/frontend/src/components/loot/greed_character_entry.vue
+++ b/frontend/src/components/loot/greed_character_entry.vue
@@ -47,10 +47,10 @@ export default class GreedCharacterEntry extends Vue {
@Prop()
userHasPermission!: boolean
- save(list: GreedItem): void {
+ save(list: GreedItem | null): void {
// A main level function to determine how we save. The modal type can no longer make the determination for us
// Some items cannot be saved with an update, even if they are displayed using the raid modal
- if (this.item.indexOf('tome') !== -1 || this.item === 'mount') {
+ if (this.item.indexOf('tome') !== -1 || this.item === 'mount' || list == null) {
// We cannot run an update but we do want to save them
this.saveWithoutUpdate()
}
diff --git a/frontend/src/components/loot/greed_raid_modal.vue b/frontend/src/components/loot/greed_raid_modal.vue
index e29ad40..0ffa96a 100644
--- a/frontend/src/components/loot/greed_raid_modal.vue
+++ b/frontend/src/components/loot/greed_raid_modal.vue
@@ -31,6 +31,7 @@
+
@@ -45,9 +46,9 @@ export default class GreedRaidModal extends Vue {
entry!: GreedGear
@Prop()
- save!: (list: GreedItem) => void
+ save!: (list: GreedItem | null) => void
- select(list: GreedItem): void {
+ select(list: GreedItem | null): void {
this.save(list)
this.$emit('close')
}
diff --git a/frontend/src/components/modals/changelog.vue b/frontend/src/components/modals/changelog.vue
index fbee938..ea8319a 100644
--- a/frontend/src/components/modals/changelog.vue
+++ b/frontend/src/components/modals/changelog.vue
@@ -11,12 +11,14 @@
-
{{ version }} - Happy New Year!!
-
expand_more Bugfixes expand_more
-
Worked out some edgecase issues with the Loot Solver. If you run into any weirdness with your Team's Loot Solver, please let me know!
-
-
expand_more Developer QoL expand_more
-
Ever wanted to try running SavageAim locally and messing around with it? Well the README in the GitHub repo just got a whole lot more helpful, and there's now even a command to setup your local database automatically!
+ Made it so that when people have Greed BIS Lists, you can still generically assign items to them without updating one of their BIS Lists if the item is not relevant.
+
+
For example, if a Mainhand weapon drops that someone gets via Greed, despite them not having a Greed list for that item, you would have to manually assign the item so as not to affect their Greed lists.
Made it so that when people have Greed BIS Lists, you can still generically assign items to them without updating one of their BIS Lists if the item is not relevant.
-
For example, if a Mainhand weapon drops that someone gets via Greed, despite them not having a Greed list for that item, you would have to manually assign the item so as not to affect their Greed lists.
+
For example, currently, if a WHM weapon drops from a fourth fight, and the person who gets it has Greed BIS Lists, but none for WHM, the only way to track the item was to track it manually via the form in the History section.
+
Now there is a generic "Give Item to Character" button even if they have Greed lists, to give them an item that a Character obtained without it being relevant to their Greed lists.