ThibautSF / ParadoxosModManager

Software to manage mods for recent Paradox games
36 stars 6 forks source link

My Little ToDoList #16

Closed ThibautSF closed 6 years ago

ThibautSF commented 6 years ago
  1. Update the code structure Target package structure : application → UI (ModManager, ListManager, ListCreator) mod → objects use for mod management (Mod, ModList, Languages) settings → mod list and app settings management (MyXML → maybe split in two objects AppSettingsXML and ModListXML for example) debug → test classes and errors (ErrorPrint, test classes with main(), Exceptions classes...) versioning → version checker (integration and adaptation of your very good improvements with update infos and logs :) )

  2. Comment the code / javadoc because it become hard to remember which function do what, and it will make the code more clear for everyone

  3. Update ListManager UI with TableView instead of ListView (like in ListCreator), in order to add options to sort/order mod lists.

  4. Need to work also on UI resize (the problem with gap values in percents...)

ThibautSF commented 6 years ago

So update structure almost done (i keep the actual MyXML for now...)

Reintegration of @NicolasGrosjean improvements of versioning system made for Translate Helper. Add improvements (see changelog of all versions between the local one and the online one), and adapt to Paradoxos versioning and UI.

image First button → https://github.com/ThibautSF/ParadoxosModManager/releases Second → https://github.com/ThibautSF/ParadoxosModManager/releases/tag/0.5.2 Third → Direct download Last → Ignore update

Maybe too many options... IDK

NicolasGrosjean commented 6 years ago

If you think that there is too much options, the best will be to replace the first three by an "automatic" update. Click on this action will launch a new application which download the zip, extract new files and replace the old one by the new (that's why it should be another application).

ThibautSF commented 6 years ago

Yeah... I was already a bit thinking about auto update for option "Get Update", it can be interesting to dev, i will look that ^^

For now i will remove the "See x.x.x" :D Will keep "All versions" (for all release version), "Get Update" for the last version zip, "Continue".

ThibautSF commented 6 years ago

Now it's a TableView, and it's will be better (but not easier ^^) for future improvements.

image

ThibautSF commented 6 years ago

Like you suggest, "Automatic" update is here !

Still need to work on the download/update window design. Here an archive to test (it's the last version with the updater but version flag as 0.4.2) ParadoxosFalseOldVersion.zip

NicolasGrosjean commented 6 years ago

The window is too small

image

I suggest you to use the same Dialog code as used to show the changelog of new content (or a basic question dialog)

Maybe you can also rename Apply update by Apply and Restart

NicolasGrosjean commented 6 years ago

I have an issue, after updating I have in fact an old version ... image

ThibautSF commented 6 years ago

After update you should get the 0.5.2 (because it's the last public version)

For the window size i planed to improve size and UI, i don't use dialogue because i needed a stage i can control (for the background download). I will try to make a custom Dialog class.

ThibautSF commented 6 years ago

Main windows has much better resize effect Tested for ListManager, supposed ModManager because resize is blocked (reason unknown)

Ready for 0.6.0 here.