1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:02:55 +08:00
Commit Graph

138 Commits

Author SHA1 Message Date
Andrei Zavatski
d70d37b7f4 Remove convoluted autosize logic in MonthSection 2021-05-18 22:30:36 +03:00
Bartłomiej Dach
d614a47614 Rename variable to better explain purpose 2021-05-17 18:54:17 +02:00
Bartłomiej Dach
7befcf74ff Split value change callbacks out to separate methods 2021-05-17 18:53:09 +02:00
Andrei Zavatski
555e3e2db3
Delete NewsSideBar.cs 2021-05-17 12:02:33 +03:00
Andrei Zavatski
01090de1fd Fix filenames does not match contained type 2021-05-17 11:55:55 +03:00
Andrei Zavatski
586c5c7365 Emulate year changes in the test scene 2021-05-17 11:36:53 +03:00
Andrei Zavatski
c0cfbd11dd Add tooltip and action for PostButton in MonthSection 2021-05-17 11:20:31 +03:00
Andrei Zavatski
5059bfaef9 Use FillFlowContainer in YearsPanel 2021-05-17 11:17:02 +03:00
Andrei Zavatski
e754d2e590 Simplify YearButton 2021-05-17 10:54:45 +03:00
Dean Herbert
abeeda5d04 Rewrite YearsPanel to not be insanely long 2021-05-17 16:24:56 +09:00
Dean Herbert
032f60819d Rename content container 2021-05-17 16:11:46 +09:00
Dean Herbert
22561cda19 MonthDropdown -> MonthSection 2021-05-17 16:02:21 +09:00
Dean Herbert
50e2b5a327 SideBar -> Sidebar 2021-05-17 16:00:36 +09:00
Andrei Zavatski
3e1b1c6c3e Improve statement readability 2021-05-15 19:14:58 +03:00
Andrei Zavatski
e479db9186 Clear transforms in PostsContainer for all children 2021-05-15 19:14:02 +03:00
Andrei Zavatski
38c0ba2d10 Implement current year highlight in YearsPanel 2021-05-13 16:16:19 +03:00
Andrei Zavatski
315a2b8314 Refactor MonthDropdown to decouple autosized logic 2021-05-12 20:50:20 +03:00
Andrei Zavatski
20a6903a40 Use GridContainer to distribute buttons in YearsPanel 2021-05-11 23:43:01 +03:00
Andrei Zavatski
f4801c08ff Refactor MonthDropdown to ensure all the posts are within a given month 2021-05-11 22:34:01 +03:00
Andrei Zavatski
b0297c6324 Fix incorrect no posts handling and add corresponding test 2021-05-11 20:52:11 +03:00
Andrei Zavatski
c2ba16f977 Use relative sizing for MonthDropdown 2021-05-11 16:51:59 +03:00
Andrei Zavatski
1c0b0996cf Rename DropdownButton to DropdownHeader 2021-05-11 16:42:18 +03:00
Andrei Zavatski
208224cc0d CI fixes 2021-05-11 16:08:09 +03:00
Andrei Zavatski
01f5c77dac Add better comments explaining empty actions 2021-05-11 15:56:50 +03:00
Andrei Zavatski
705aad262a Rename MonthPanel to MonthDropdown 2021-05-11 15:42:40 +03:00
Andrei Zavatski
0a9c3c9413 Move metadata change logic to it's own method 2021-05-11 15:39:50 +03:00
Andrei Zavatski
9603712aa1 Cache metadata in NewsSideBar 2021-05-11 15:33:27 +03:00
Andrei Zavatski
e736240a06 Use lookup instead of dictionary to distribute posts 2021-05-11 15:12:04 +03:00
Andrei Zavatski
711e7ba860 Apply suggestions for MonthPanel 2021-05-11 14:43:23 +03:00
Andrei Zavatski
69f01e82db Add bottom padding for NewsSideBar content 2021-05-11 14:42:56 +03:00
Andrei Zavatski
220eef0351 Remove overcomplicated date logic in MonthPanel 2021-05-10 17:00:18 +03:00
Andrei Zavatski
0d243be457 CI fixes 2021-05-10 10:07:43 +03:00
Andrei Zavatski
4b97224932 Implement NewsSideBar component 2021-05-10 09:53:52 +03:00
Andrei Zavatski
7971a2ef48 Implement MonthPanel component 2021-05-10 08:47:00 +03:00
Andrei Zavatski
7ca3e13712 Implement basic years panel 2021-05-10 07:43:01 +03:00
Andrei Zavatski
dde9fd28e6 Hide ShowMore button if there's nothing to load 2021-05-09 04:57:24 +03:00
Joehu
b4b9c71f00 Make all toolbar tooltips lowercase 2020-09-06 10:13:06 -07:00
Dean Herbert
dbf44fbaf2 Update names and icons to match new designs 2020-09-03 16:34:58 +09:00
Dean Herbert
dceae21bbf Centralise fetching of overlay component titles and textures 2020-09-03 16:34:58 +09:00
Andrei Zavatski
2e0f567d5d Implement HomeNewsPanel component 2020-08-07 11:33:02 +03:00
Andrei Zavatski
788395f8bf Revert changes regarding FrontPageDisplay and OverlayView 2020-07-25 15:08:06 +03:00
Andrei Zavatski
c6ae2f520e Fix FrontPageDisplay is adding more news posts on api state change 2020-07-25 10:39:10 +03:00
Andrei Zavatski
7e5147761f Use OverlayView for FrontPageDisplay 2020-07-25 09:26:29 +03:00
Andrei Zavatski
ab23e7dfd4 Protect the NewsCard from clicks while hovering DateContainer 2020-07-16 23:14:51 +03:00
Andrei Zavatski
2d9909cdd8 Make news cards clickable 2020-07-16 15:18:01 +03:00
Andrei Zavatski
598e48678e Refactor NewsHeader 2020-07-12 15:45:48 +03:00
Andrei Zavatski
f663dd1803 Fix incorrect file name 2020-07-09 04:02:14 +03:00
Andrei Zavatski
aeb664aca7 Delete broken file 2020-07-09 04:00:53 +03:00
Andrei Zavatski
3ba8ec0fd7 Don't set null value to show front page 2020-07-09 03:40:14 +03:00
Andrei Zavatski
dfa22b1e4c Styles improvements 2020-07-09 02:37:42 +03:00
Andrei Zavatski
62e2bc1198 Fix potential double-request situation 2020-07-09 01:29:27 +03:00
Andrei Zavatski
900f2d309b Classes naming adjustments 2020-07-09 01:26:56 +03:00
Andrei Zavatski
57b935ec50 Remove outdated elements 2020-07-08 20:17:15 +03:00
Andrei Zavatski
0b4213f330 Implement FrontPageDisplay 2020-07-08 20:07:29 +03:00
Bartłomiej Dach
c88a802b05 Adjust font size to match web design 2020-07-07 23:04:39 +02:00
Andrei Zavatski
bdec13d4a4 Move DateTooltip to it's on file 2020-07-07 16:46:17 +03:00
Andrei Zavatski
c86bb2e755 Use DrawableDate tooltip for DateContainer 2020-07-07 00:01:06 +03:00
Andrei Zavatski
68d9f9de46 Use DateTimeOffset 2020-07-06 23:55:20 +03:00
Andrei Zavatski
fdb7727e95 Rename NewsPost to APINewsPost 2020-07-06 07:28:44 +03:00
Andrei Zavatski
7550097eb6 Implement NewsCard 2020-07-06 07:27:53 +03:00
alex
0e2ccac33b Add spaces to comments 2020-05-04 18:36:24 -07:00
TheWildTree
a5781d7fc5 Replace ScreenTitle with OverlayTitle and update titles to match new design 2020-03-24 22:08:20 +01:00
Joehu
f7ea20a926 Limit font weight to bold 2020-03-16 16:32:25 -07:00
Dean Herbert
288470c313 Remove exo specification completely 2020-03-13 13:43:48 +09:00
Andrei Zavatski
fe078c244d Expose TabControlOverlayHeader.Current value 2020-02-04 00:43:04 +03:00
Andrei Zavatski
e6fa793d56 Refactor background creation in OverlayHeader 2020-01-27 15:36:19 +03:00
Andrei Zavatski
cd0fcfabd9 Merge master with conflicts resolved 2020-01-26 16:35:07 +03:00
Andrei Zavatski
d9af43da4c Remove unused usings 2020-01-24 12:55:51 +03:00
Andrei Zavatski
e03a085d70 Make overlay elements use OverlayColourProvider 2020-01-24 12:33:34 +03:00
Andrei Zavatski
30edd80c8c Refactor OverlayHeader hierarchy 2020-01-21 06:00:12 +03:00
Andrei Zavatski
476717e181 Make OverlayHeader use colour schemes 2020-01-15 22:41:22 +03:00
Andrei Zavatski
f1b4fbb844 Make gradient in NewsArticleCover be effected by hover 2020-01-12 17:38:15 +03:00
Dean Herbert
e8567414c6 Refactor into some kind of sanity 2020-01-03 15:01:42 +09:00
Andrei Zavatski
ac2280c4ef Implement BreadcrumbControlOverlayHeader 2019-12-28 04:57:41 +03:00
Andrei Zavatski
a1c91af095 Update layout of every overlay using OverlayHeader 2019-12-26 22:09:06 +03:00
Andrei Zavatski
647c83e6c8 Add ability to not create content for headers
Rather than creating an empty container
2019-12-26 21:21:15 +03:00
Andrei Zavatski
ca3e8db79f Merge dependency 2019-12-26 21:03:39 +03:00
Lucas A
0a278ef943 Apply review suggestions 2019-12-17 19:23:30 +01:00
Lucas A
43720fbf45 Fix CI issues 2019-12-13 18:59:40 +01:00
Lucas A
e05c9426ed Initial implementation of NewsArticleCover class 2019-12-13 18:50:49 +01:00
Lucas A
af2ffac03a Add global Top and Horizontal padding to NewsContent 2019-08-18 14:52:26 +02:00
Lucas A
4d1b1a4022 Fix CI inspections 2019-08-14 21:52:36 +02:00
Lucas A
46e71e9ead Add missing licence header 2019-08-14 21:34:29 +02:00
Lucas A
840d4741da Add NewsContent class and fix broken reference. 2019-08-14 21:19:59 +02:00
Lucas A
87811afade Add missing licence headers to added files. 2019-08-12 20:16:41 +02:00
Lucas A
b92e331730 Add tabcontrol logic to news overlay 2019-08-10 17:06:52 +02:00
Lucas A
0e5561c783 Use News overlay resources 2019-08-10 16:12:42 +02:00
Lucas A
b19c378fc8 Add NewsHeader class 2019-08-10 15:39:13 +02:00