Skip to content
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

Refactor the Store page #388

Merged
merged 21 commits into from
Feb 26, 2024
Merged

Conversation

loathingKernel
Copy link
Contributor

There is still a lot of work to be done, especially in improving the GraphQL API integration, fixing games that depend on it, and re-implementing Search. On the other hand, this should be enough of a skeleton to improve upon gradually.

@loathingKernel
Copy link
Contributor Author

If anyone wants to test and tell me their experience before merging this, I would be very thankful

@loathingKernel loathingKernel force-pushed the shop_refactor branch 2 times, most recently from dfc046f to 5ae9e6f Compare February 25, 2024 13:47
Important changes:
* Refactored QtRequests to accept parameters for `GET` operations
* Infer response data type from content-type header
* Support caching to disk, a manager with this set prefers the cache
* Support multiple handlers for a single request (unused, possibly pointeless)

* Subclass `ShopImageWidget` for all widgets used in the shop
* Request a resized image instead of the original one
* Fix the search and browse functions
* Add a big back button in details page.

* Add static CSS to render QPushButtons as flat when the `flat` property is set

* Remove outer scroll areas from details page since the page is already adjustable

* Remove scroll area from the requirements widget because ElideLabels are already used in it.

* Fix crash when sorting the wishlist
* Use horizontal scrollarea for free games. Based on the same idea as
WrapperSettings scrollarea. Both need some adjustments.

* Remove debugging dialogs. Need a better way anyways to debug.
* Move filter combobox at the beginning of the top panel and move the order
combobox after it to replicate the order in the library view.
@loathingKernel loathingKernel merged commit a35e430 into RareDevs:main Feb 26, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant