aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform
AgeCommit message (Collapse)Author
2022-10-08Merge pull request #1163 from flowln/fix_list_iconsSefa Eyeoglu
2022-09-26Merge pull request #894 from flowln/update_from_external_sourceflow
epic PR
2022-09-24Allow double clicking to mark for dowloadErogigGit
Signed-off-by: Erogig <erogigabyte@gmail.com>
2022-09-23fix: use placeholder icon when the project has no icon in MRflow
Projects with no icon return a null icon URL in Modrinth's API. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-23feat: change project item delegate for modrinth modpacksflow
more info! \ ^-^/ Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-23fix: remove manual icon resize in ModModelflow
THis fixes a FIXME, now that we fixed the issue :o Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: simplify abort handling and add missing emitsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: change the way instance names are handledflow
While working on pack updating, instance naming always gets in the way, since we need both way of respecting the user's name choice, and a standarized way of getting the original pack name / version. This tries to circunvent such problems by abstracting away the naming schema into it's own struct, holding both the original name / version, and the user-defined name, so that everyone can be happy and world peace can be achieved! (at least that's what i'd hope :c). Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: add instance creation abstraction and move vanillaflow
This is so that 1. Code is more cleanly separated, and 2. Allows to more easily add instance updating :) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-07refactor: create mod pages and filter widget by factory methodsflow
This takes most expensive operations out of the constructors. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-07Merge pull request #939 from flowln/mod_downloader_improveflow
Some more UI / UX improvements to the mod downloader!
2022-08-28refactor: make NetJob inherit from ConcurrentTask as well!flow
Avoids lots of code duplication Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-24fix: fix urls on ftb legacyDioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-08-11Merge pull request #897 from jamierocks/atl-updating-initialtimoreo
2022-08-01fix: prevent segfault due to callbacks into deleted objectsflow
Since network requests are, for the most part, asynchronous, there's a chance a request only comes through after the request sender has already been deleted. This adds a global (read static) hash table relating models for the mod downloader to their status (true = alive, false = destroyed). It is a bit of a hack, but I couldn't come up with a better way of doing this. To reproduce the issue before this commit: scroll really quickly through CF mods, to trigger network requests for their versions and description. Then, in the middle of it close the mod downloader. Sometimes this will create a crash. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01fix(ui): force redraw of mod list when (de)selecting a modflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat: lazy-load CF mod descriptionsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat: cache mod versionsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01refactor: use function cb instead of class cb in getVersionsflow
I've discovered even more functional programming! :^) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat: cache extra mod info (like links and body)flow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01refactor: use function cb instead of class cb in getModInfoflow
I've discovered functional programming :^) This makes this route more fit for general use. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat+refactor: clean up ProgressWidget and add progress indicatior toflow
mod downloader Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat: add (semi) instant searching in mod downloaderflow
It has a delay of 350ms from the last typed character to search, in order to cache small changes while typing. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01change: preserve search term across different mod providersflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat+refactor: add shortcuts to mod downloader and clean upflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat: display the 'body' of a MR mod on the mod downloaderflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat: create delegate for project item viewsflow
This allows us to define custom painting for list view items. In particular, this is applied to the mod downloader, in order to allow displaying both the mod name and mod description, and settings their effects (like bold or underline) independent of each other. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-26chore: add license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-26feat: implement mod resolving for FTBSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-17fix: filter out opted-out mods in mod downloaderflow
Maintains Pre-Updater behaviour Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-11Merge pull request #678 from Scrumplex/improvements-around-proprietary-servicesSefa Eyeoglu
2022-07-10ATLauncher: Move the UI support implementation into it's own classJamie Mansfield
This will allow it to be used in multiple locations.
2022-07-10chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: fix deprecation up to Qt 5.15Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10Merge pull request #876 from Scrumplex/revert-updater-stuffdada513
Revert "fix: remove updater if it is not used"
2022-07-08Merge pull request #884 from jopejoe1/ftbuifixedflow
Updated FTB Classic layout
2022-07-08fix: spelling of CFSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-07Updated FTB Classic layoutjopejoe1
Signed-off-by: jopejoe1 <johannes@joens.email>
2022-07-06Revert "fix: remove updater if it is not used"Sefa Eyeoglu
This reverts commit 2ff0aa09e35eb6910ef0a030ea41f84a1ed95782. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-03fix: aborts when using a Qt build with assertions enabledflow
Preventing undefined behaviour hooray! :D Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-03fix: show invalid version even when there's noneflow
Having a blank instead of _anything_ is bad UX. Instead, even when there's not a valid version (most likely disabled redistribution), we show a message in the UI, to differentiate from the loading state. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-03feat+fix: cache Flame modpack versionsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-03fix: use better naming for Modrinth pack versionsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-03feat+fix: cache versions and extra info in Modrinth packsflow
When you change a copy thinking you're changing the original data smh Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-03fix: don't use uniform sizes in Modrinth modpack viewerflow
Apparently, when Qt sees an icon with the height smaller than the rest, with this option set, it will change the height of all other items to be that one, causing #828. While we do lose some performance changing this option, the issue is gone, so :| Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-03Merge pull request #818 from flowln/tiny_mod_iconsEzekiel Smith
Always scale mod icons to the right size
2022-06-30Merge pull request #837 from DioEgizio/fix-sort-mrtimoreo22
2022-06-24fix(modrinth): fix sortingDioEgizio
2022-06-23Update launcher/ui/pages/modplatform/flame/FlamePage.uiDioEgizio
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-06-23chore(flame): reword warningDioEgizio