pollymc/launcher/ui/pages/instance
flow 6a18079953
refactor: generalize mod models and APIs to resources
Firstly, this abstract away behavior in the mod download models that can
also be applied to other types of resources into a superclass, allowing
other resource types to be implemented without so much code duplication.

For that, this also generalizes the APIs used (currently, ModrinthAPI
and FlameAPI) to be able to make requests to other types of resources.

It also does a general cleanup of both of those. In particular, this
makes use of std::optional instead of invalid values for errors and,
well, optional values :p

This is a squash of some commits that were becoming too interlaced
together to be cleanly separated.

Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13 16:23:00 -03:00
..
ExternalResourcesPage.cpp About to -> you are about to 2022-12-26 14:45:04 +00:00
ExternalResourcesPage.h Improve handling of destructive actions 2022-12-14 15:20:42 +00:00
ExternalResourcesPage.ui fix: don't have the clear button on instance page filters 2022-11-12 19:23:57 -03:00
GameOptionsPage.cpp
GameOptionsPage.h
GameOptionsPage.ui
InstanceSettingsPage.cpp feat: use icons to show memory allocation state 2022-11-11 15:22:16 +01:00
InstanceSettingsPage.h feat: validate maximum memory allocation 2022-11-11 15:04:05 +01:00
InstanceSettingsPage.ui fix: swap spin box and state icon 2022-11-11 15:24:14 +01:00
LogPage.cpp Use optional instead of hardcoded cancelled string 2022-12-26 14:58:37 +00:00
LogPage.h
LogPage.ui
ManagedPackPage.cpp refactor: replace hoedown markdown parser with cmark 2023-01-12 10:08:52 -05:00
ManagedPackPage.h refactor(ManagedPackPage): use smart pointers instead of raw ones 2022-12-06 17:00:34 -03:00
ManagedPackPage.ui feat(ManagedPackPage): add reload button when in a fail state 2022-12-06 17:00:34 -03:00
ModFolderPage.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ModFolderPage.h Improve handling of destructive actions 2022-12-14 15:20:42 +00:00
NotesPage.cpp
NotesPage.h
NotesPage.ui let the theme decide the notes page right margin 2022-12-17 12:05:20 -03:00
OtherLogsPage.cpp About to -> you are about to 2022-12-26 14:45:04 +00:00
OtherLogsPage.h
OtherLogsPage.ui fix: only show scrollbars when needed 2022-12-15 16:34:52 -03:00
ResourcePackPage.h refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ScreenshotsPage.cpp About to -> you are about to 2022-12-26 14:45:04 +00:00
ScreenshotsPage.h feat(InstancePages): save/load wide bar visibility settings 2022-11-19 18:41:31 -03:00
ScreenshotsPage.ui
ServersPage.cpp About to -> you are about to 2022-12-26 14:45:04 +00:00
ServersPage.h Merge pull request #486 from flowln/wide_bar_customization 2022-12-11 04:16:45 -08:00
ServersPage.ui
ShaderPackPage.h refactor: adapt rest of the codebase to the new resource model 2022-08-20 10:47:58 -03:00
TexturePackPage.h feat: add texture pack parsing 2022-09-20 10:26:15 +02:00
VersionPage.cpp About to -> you are about to 2022-12-26 14:45:04 +00:00
VersionPage.h Merge pull request #486 from flowln/wide_bar_customization 2022-12-11 04:16:45 -08:00
VersionPage.ui fix: only show scrollbars when needed 2022-12-15 16:34:52 -03:00
WorldListPage.cpp About to -> you are about to 2022-12-26 14:45:04 +00:00
WorldListPage.h feat(InstancePages): save/load wide bar visibility settings 2022-11-19 18:41:31 -03:00
WorldListPage.ui Improve handling of destructive actions 2022-12-14 15:20:42 +00:00