Commit Graph

35 Commits

Author SHA1 Message Date
fbe4d7e03c Improve code quality around cursor and upwards passing of response data 2021-05-21 15:41:31 +09:00
40ca94cd7b Fix incorrect year being passed on first load 2021-05-20 16:04:51 +03:00
958d51141d Rename FrontPageDisplay to ArticleListing 2021-05-20 15:24:01 +09:00
d4530313aa Tidy event parameter naming 2021-05-20 15:15:46 +09:00
673ca4c2a1 Tidy up content container specification 2021-05-20 14:30:40 +09:00
ac8efdeabd Move private methods down 2021-05-20 14:12:34 +09:00
713f69ea55 Tidy up load process 2021-05-20 14:11:42 +09:00
e3ed9b8135 Implement sidebar metadata handling in NewsOverlay 2021-05-19 15:36:05 +03:00
6cc4ffadab Implement sticky container for sidebar in NewsOverlay 2021-05-19 15:28:12 +03:00
0bd1964d8e Add login placeholder logic to OnlineOverlay
A perfect implementation of this would probably leave the filter/header
content visible, but that requires some re-thinking and restructuring to
how the content is displayed in these overlays (ie. the header
component shouldn't be inside the `ScrollContainer` as it is fixed).

Supersedes and closes #10774.
Closes #933.
Addresses most pieces of #7417.
2021-02-18 18:07:24 +09:00
6e34ab5d15 Rename WebOverlay to OnlineOverlay 2021-01-18 11:13:38 +03:00
27ffc98445 Implement WebOverlay component 2021-01-18 10:48:12 +03:00
54982dcdd7 Refactor LoadingLayer to avoid applying effects to external drawables
In theory this seemed like a good idea (and an optimisation in some
cases, due to lower fill rate), but in practice this leads to weird edge
cases.

This aims to do away with the operations on external drawables by
applying a dim to the area behind the `LoadingLayer` when required.
I went over each usage and ensured they look as good or better than
previously.

The specific bad usage here was the restoration of the colour on dispose
(if the `LoadingLayer` was disposed in a still-visible state).

I'm aware that the `BeatmapListingOverlay` will now dim completely during
load. I think this is fine for the time being.
2021-01-05 17:31:45 +09:00
7bcbac6f45 Move header setting to FullscreenOverlay 2020-09-03 16:34:58 +09:00
dceae21bbf Centralise fetching of overlay component titles and textures 2020-09-03 16:34:58 +09:00
3916d98e52 Add comment for clarity 2020-08-05 18:50:37 +09:00
af320e4a61 Fix NewsOverlay running request on startup 2020-08-03 10:03:42 +03:00
598e48678e Refactor NewsHeader 2020-07-12 15:45:48 +03:00
3ba8ec0fd7 Don't set null value to show front page 2020-07-09 03:40:14 +03:00
900f2d309b Classes naming adjustments 2020-07-09 01:26:56 +03:00
0b4213f330 Implement FrontPageDisplay 2020-07-08 20:07:29 +03:00
49d998c8db Refactor NewsOverlay to use displays logic 2020-07-08 18:24:13 +03:00
4c5d01a611 Remove unused usings 2020-04-13 12:34:51 +03:00
b741e359cd Use OverlayScrollContainer for overlays 2020-04-13 12:23:28 +03:00
fe078c244d Expose TabControlOverlayHeader.Current value 2020-02-04 00:43:04 +03:00
db4cd51d02 Implement OverlayColourProvider 2020-01-24 12:24:35 +03:00
0a278ef943 Apply review suggestions 2019-12-17 19:23:30 +01:00
88ec0c1486 Add missing async content loading logic to NewsOverlay 2019-12-08 18:49:58 +01:00
4d1b1a4022 Fix CI inspections 2019-08-14 21:52:36 +02:00
840d4741da Add NewsContent class and fix broken reference. 2019-08-14 21:19:59 +02:00
87811afade Add missing licence headers to added files. 2019-08-12 20:16:41 +02:00
b92e331730 Add tabcontrol logic to news overlay 2019-08-10 17:06:52 +02:00
b19c378fc8 Add NewsHeader class 2019-08-10 15:39:13 +02:00
4b0ac381b7 Add visual tests. 2019-08-10 15:39:13 +02:00
e3d52d8d71 Add NewsOverlay class 2019-08-10 15:39:13 +02:00