-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Deck versioning #599
Deck versioning #599
Conversation
I really like the idea but it feels.. confusing? A few issues I see right now:
What if we moved the version indication and increment to the top of the history panel? That would pretty much solve the first 3 of the problems. |
I cant comment on how this works, but the idea is something I find EXTREMELY useful. |
Hehe, I figured you might like this one! |
I didn't spend too much time with UI, just made it work and displayable. If you think this might get pulled to master, i'll tidy this up. In terms of -1 icon, that sums up my icon design skills :). I cannot guarantee anything much better than that. As for additional message box during save - i had button initially to increase version, but I always forgot to click it before save, hence message box. Drop down idea might work, with 3 options as in dialog (Major/Minor/None). None by default, and when deck is edited switch it to major. |
I would love to merge this into master, yes! If you need any help fixing things up, let me know. I should have some spare time this weekend. |
I should have some time later today/tomorrow to tidy UI - keep an eye for new commits ;) |
I have polished this a little bit.
Added, when moving game to other deck, game is assigned to current version of target deck Fell free to do any UI changes - i believe you have better feel for it ;) |
Pushed this to feature/DeckVersioning to at least have the merge conflicts out of the way. Looks a lot better now. Still needs quite a bit of work but we're getting there :). I also liked having major and minor, I think I'm gonna put that back in. |
That looks much better now. I would move dropdown with version selection next to save button. They seems to belong together, since they are part of save process. |
Exactly. Looks perfect. |
If anyone is up for some testing: http://www.mediafire.com/download/ms6zl7ai66c2xru/Hearthstone_Deck_Tracker-v0.7.6_PRE5.zip (@GiggliG :)) |
lol, I'm up for testing. |
Easiest will be to just create a backup of you appdata folder. I went back and forth between this and v0.7.5 a few times without problems, should be fine. Just to be save, probably still a good idea. |
Okay, backed that up and will test this over the weekend. |
I've done a quick test, and it looks good so far. So I think you'll need a button to "Move Game to other version of this deck" like you have with "Move to other deck" because people will make the same mistake I did. I think it makes sense for these to be two different buttons, and the "change version" button should be greyed out if the active deck only has one version. Some feature suggestions: I'd like the (optional, not required) ability to put a text descriptor with a version name, like I think you could have a Version Switcher, at the top of the deck display, so you can see what versions exist, and change which one is active and displayed. This would not be in edit mode, but in normal mode. This would allow people to flip through their versions, and also change which one HDT detects as the active one when playing hearthstone. I'm surer there are people who will create multiple versions, and then go back to an earlier version as the most effective one. If you have this view version mode, you could have a popup or panel showing the differences between the current view, and the last version that was active - like on hearthpwn, where they have updates, like "+1 Knife Juggler, -1 Cold Light Oracle" or whataver" Here's one out-there feature suggestion that I think will be very useful for some (like me) but maybe not for most, so i could understand if you skip this. |
I'll continue testing, as I play more games :) |
Another suggestion: with this change, all decks get (v1.0) shown as part of their name in the deck list. Will you also be integrating versions with the "Update from Web" feature? So that if a deck has changed online, the original version is saved, and a new version is added with the changes? |
"Update from web" should work just as any editing would. Or am I misunderstand you somehow? |
In feature branch, there is [XmlIgnore] Attrbute on PlayerDeckVersion propert of GameStats class, which means that deck version is not stored with game. All stats are assigned to v 1.0 when you start application. |
I agree keeping games for historic reasons makes sense, but if you delete the deck it's very hard to get to view those games. Maybe the Stats/Overall frame could do a Class Played filter, to make that easier. Something to also consider. When you save the deck, you still get that "How do you wish to save the deck popup" with Overwrite and Save as New options. There's another popup that occurs when you clone a deck, that asks if you want to keep the history. It is very confusingly written. The popup says,
I am never sure which button to press to make a copy that has no stats, and it could be interpreted to mean that if you click Yes, you are agreeing with the text (Cloned games do not count against stats) and if you click No you are disagreeing with that. This IMO should be rewritten as something like: |
Will there be a way to move games played from one version to another? I just noticed you have fixed the games not showing up in 1.0 correctly, but the three games I played in version 1.1 are listed under v 1.0. Also, unrelated (I'd report this as a general bug, but it might just be this version): When you clone a deck, and keep the game history , the Name column is empty in the new deck's history (and the * which shows there someone conceded is missing too). |
There's bunch o nulll exceptions when you run application without deck selected - MarioZG@cdcca5f |
I added you as a collaborator. You can now just push things directly to feature/DeckVersioning. This way we don't need to to things twice :). |
Thanks. That's pushed now. |
I think, to get this working for now, moving decks between versions and deleting versions probably has to wait for the next release. Anything else that's still missing? |
… version in overlay etc (#599)
Git is still confusing the hell out of me sometimes... I just wanted to rebase this on master after merging the missing cards feature, but that didn't quite work for some reason. So I pushed the rebase (this) to master now, everything seems to be working fine. I hope... |
I'm going to close this, as it's merged now. We can continue discussion here though. |
Latest (master) build: http://www.mediafire.com/download/7ri8h2c0asppz7b/Hearthstone_Deck_Tracker-v0.7.6_PRE7.zip |
I have added something that was bugging me for some time - deck versioning. You can now change few cards, and instead creating new deck, save new version and keep old one for reference. Stats for both versions will accumulate, but you can see also stats for each version separately.
Most of the code and changes are done "to make it work for myself". I just thought it might be also useful for others.