1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-16 18:27:31 +08:00
Commit Graph

251 Commits

Author SHA1 Message Date
Dean Herbert
292a82ac27 Fix incorrect propagation of stream/build on initial display with build 2020-01-27 14:52:21 +09:00
Andrei Zavatski
cd0fcfabd9 Merge master with conflicts resolved 2020-01-26 16:35:07 +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
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
04a4821a9f Make CreateContent a method again 2019-12-27 06:36: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
Dean Herbert
c49aeb08c4 Add API methods to perform requests out-of-queue 2019-11-29 20:03:14 +09:00
Huo Yaoyuan
ccc8aa6fa4 Apply brace style. 2019-11-11 20:13:13 +08:00
Dean Herbert
5127b52c25 Merge remote-tracking branch 'upstream/master' into game-handles-links 2019-11-03 13:04:18 +09:00
Dean Herbert
898520935e Move link handling code to OsuGame
This allows for future calls from arguments / associations
2019-11-01 11:40:51 +09:00
Dean Herbert
0cd912fcd3 Cover all non-APIAccess APIRequest calls with exception handling 2019-10-31 15:04:13 +09:00
Andrei Zavatski
5c4dfe0809 Apply suggested change 2019-09-23 17:05:19 +03:00
Andrei Zavatski
ffbab25358 Fix incorrect icon margin in ChangelogOverlay 2019-09-23 16:12:43 +03:00
Dean Herbert
a76771e696
Add support for "additions" in changelog (#6177)
Add support for "additions" in changelog
2019-09-21 22:27:18 +09:00
Andrei Zavatski
befdd140f4 Reverse padding changes 2019-09-20 23:50:19 +03:00
Lucas A
5663e3e6b3 Fix escaped html strings not being unescaped in changelog entries. 2019-09-19 20:08:14 +02:00
Andrei Zavatski
daa64f1be7 Adjust icon padding 2019-09-19 20:53:06 +03:00
Andrei Zavatski
573da7b1e7 Implement ChangelogEntryType 2019-09-19 20:34:37 +03:00
Dean Herbert
684c37bf05 Rename class to better match usage 2019-08-11 16:19:40 +09:00
Lucas A
b0a7177987 Add ScreenTitleIcon class, used for displaying custom specific icons on overlays. 2019-08-10 13:26:19 +02:00
Dean Herbert
19e8198bff
Merge branch 'master' into flow_container_insert 2019-07-11 22:53:57 +09:00
Dean Herbert
4885f0f0c7 Add messaging telling users how to leave changelog comments 2019-07-04 15:47:06 +09:00
Roman Kapustin
0c95dff3d6 Make FlowContainer insertion cleaner 2019-07-01 18:41:08 +03:00
Lucas A
e8c73f3127 Make APIChangelogEntry.Major a non-nullable property 2019-06-08 09:45:34 +02:00
Lucas A
342e39776a Move ChangelogEntries populating logic from constructor to BDL load() to use OsuColour palette +apply review suggestions. 2019-06-07 20:59:56 +02:00
Lucas A
e5b64bfa39 Highlight major changes in changelog overlay 2019-06-07 18:51:43 +02:00
smoogipoo
cea353975f Update with further framework-side changes 2019-06-04 11:04:28 +09:00
smoogipoo
d7ccf939d8 General refactoring 2019-05-31 13:54:40 +09:00
smoogipoo
e7ae9c249f Fix size of release stream separator in listing 2019-05-31 13:53:55 +09:00
smoogipoo
57d648df6d Add comment + fix spinlocking 2019-05-31 13:38:48 +09:00
smoogipoo
f780c80c17 Fix bar not expanding/collapsing correctly 2019-05-31 13:08:35 +09:00
Dean Herbert
a272004610 Use a more friendly set method for tab control 2019-05-24 11:04:36 +09:00
Dean Herbert
7229975fef Further minor refactoring 2019-05-23 12:41:45 +09:00
Dean Herbert
5a887dabfe Prepare changelog api requests to work when not logged in 2019-05-23 11:41:37 +09:00
Dean Herbert
cb62008280 Cleanup pass 2019-05-23 11:23:37 +09:00
Dean Herbert
a0ddc6d77a Use linq instead of a temporary sorted list 2019-05-23 00:13:59 +09:00
Dean Herbert
c96d7bfb67 Centralise font specification 2019-05-23 00:13:47 +09:00
Dean Herbert
ba98c68cbd Add support for osu! user links 2019-05-23 00:11:26 +09:00
Dean Herbert
81e42041e6 Move update streams inside header content 2019-05-22 23:56:50 +09:00
Dean Herbert
661fc01e7d Fix date string 2019-05-22 23:49:54 +09:00
Dean Herbert
66f5dbaa9f Fix badge state regressions from tab control usage 2019-05-22 23:44:37 +09:00
Dean Herbert
b588638740 Use TabControl instead of custom logic 2019-05-22 19:51:16 +09:00
Dean Herbert
9f9e86f18c Rename classes and fix back-to-front state 2019-05-22 17:04:21 +09:00
Dean Herbert
92c991494d Fix (and rename) ExpandingBar 2019-05-22 16:38:15 +09:00
Dean Herbert
340b207fa0 Delete breadcrumb implementation 2019-05-21 13:37:35 +09:00
Dean Herbert
a131875a7b Use bindables the whole way 2019-05-21 13:34:35 +09:00
Dean Herbert
58a3480b6a Update ChangelogHeader to work again with OverlayHeader 2019-05-21 12:52:50 +09:00
Dean Herbert
6a8a743eaa Begin to consume abstract header implementation 2019-05-20 18:02:27 +09:00
Dean Herbert
39e03ae705 Fix tests failing when not logged in 2019-05-19 11:58:47 +09:00
Dean Herbert
1c85fcbc81 Remove usage of TooltipIconButton completely 2019-05-19 11:39:32 +09:00
Dean Herbert
3fa1545ea4 Huge refactor pass focusing on ChangelogContent 2019-05-19 02:09:08 +09:00
Dean Herbert
2d56413e35 Update namespaces 2019-05-17 19:15:59 +09:00
Dean Herbert
9bc3aa3d46 Move new classes for now 2019-05-17 19:15:25 +09:00
Dean Herbert
dbc42fd59e Remove StreamColour class and implement locally 2019-05-17 18:31:53 +09:00
Dean Herbert
c41ec20236 Improve load and switch logic between views 2019-05-17 18:31:53 +09:00
Dean Herbert
dd2d58d4f7 Split out ChangelogContent into two classes 2019-05-17 18:31:53 +09:00
Dean Herbert
37e989fc64 fixup! Convert BadgeDisplay to use bindable 2019-05-17 18:31:53 +09:00
Dean Herbert
e606c73329 Convert BadgeDisplay to use bindable 2019-05-17 18:31:53 +09:00
Dean Herbert
880bfe9b6b Move resources to osu-resources 2019-05-17 10:29:27 +09:00
Dean Herbert
409d89eecf Match header titles with web (pt size) 2019-05-16 18:53:52 +09:00
Dean Herbert
084ea3efa9 Fix another font usage case 2019-05-15 18:27:43 +09:00
Dean Herbert
60d244d2d6 Clean up events and states 2019-05-15 18:08:19 +09:00
Dean Herbert
f49b0dc16d Initial clean-up pass of breadcrumb and header 2019-05-15 17:55:26 +09:00
Dean Herbert
5ddd28bf30 Fix message display / html stripping 2019-05-15 16:42:12 +09:00
Dean Herbert
eece4d878f Tidy up colour references and texture assignment in ChangelogHeader 2019-05-14 18:03:54 +09:00
Dean Herbert
66df784e9a Adjust header image sizing 2019-05-13 17:32:49 +09:00
Dean Herbert
8ecd1912e1 Split out web response classes into own files 2019-05-13 17:24:33 +09:00
Dean Herbert
27ca094421 Update outdated licence headers 2019-05-13 17:14:52 +09:00
Dean Herbert
219c590b8a Initial pass to make work with real API 2019-05-13 16:24:32 +09:00
Dean Herbert
31b72f168d Fix deprecated calls and code styling (partly) 2019-05-13 00:46:22 +09:00
Dean Herbert
34f54aa945 Resolve compile-time issues 2019-05-13 00:36:05 +09:00
Hōtarō Oreki
390d8d230f Remove redundant usings 2018-10-18 21:30:09 +02:00
Hōtarō Oreki
b8ac328ae9 Rename APIChangelog to APIChangelogBuild 2018-10-18 21:04:21 +02:00
Hōtarō Oreki
510b52a503 Update overrided functions to match their bases 2018-10-18 20:56:43 +02:00
Houtarou Oreki
a817164cb2 Update comments 2018-08-22 13:49:08 +02:00
HoutarouOreki
fba817b4e1 Resign ChangelogChart and disable its references 2018-07-27 00:34:44 +02:00
HoutarouOreki
46134ed63d Add "ok" chart plotting; Add more keys to StreamColour .FromStreamName function 2018-07-26 23:53:12 +02:00
HoutarouOreki
516ba10dad Plotting the chart 2 2018-07-26 17:26:42 +02:00
HoutarouOreki
2d8277f413 Plotting the chart 1 2018-07-26 17:02:51 +02:00
HoutarouOreki
0f263e2cca Delete ClickableText class, use OsuHoverContainer instead 2018-07-26 14:19:58 +02:00
HoutarouOreki
a2959e9171 Remove default value without use 2018-07-26 13:43:47 +02:00
HoutarouOreki
81786c4763 Move statement to a new line 2018-07-25 20:01:24 +02:00
HoutarouOreki
fb8ea770ae Make ChangelogChart's child buffered 2018-07-25 18:55:02 +02:00
HoutarouOreki
dcb5eb1767 Remove reduntant comment 2018-07-25 17:05:29 +02:00
HoutarouOreki
3e6968b57e Unify MarginPadding 2018-07-25 17:04:36 +02:00
HoutarouOreki
a7a6e52c16 Bring StreamBadge visual proportions closer to the upstream design 2018-07-25 14:58:18 +02:00
HoutarouOreki
2906f4b401 Change initial chart colour 2018-07-25 14:31:41 +02:00
HoutarouOreki
c8f36a0c66 Add links to GitHub; Remove reduntant using directive and variable 2018-07-25 03:58:08 +02:00
HoutarouOreki
05a59f3525 Add links to GitHub 2018-07-25 03:54:16 +02:00
HoutarouOreki
cd79c2cc45 Hide graph when it's unavailable; Scroll change 2018-07-25 00:59:21 +02:00
HoutarouOreki
d2b2c4c19b Make PR-link surrounding parenthesis white 2018-07-24 23:25:57 +02:00
HoutarouOreki
74540bba83 Non-breaking space for "by ..."
Doesn't work for now(?)
2018-07-24 21:59:09 +02:00
HoutarouOreki
43a7b3a825 Fetch listing only once; Reenable disabled links as they wont be regenerated 2018-07-24 21:42:25 +02:00
HoutarouOreki
dfe4153c95 Prevent duplicated fetching for listing and builds:
- listing when already at it;
- builds by immediately disabling links to them (chevrons and links in listing)
2018-07-24 19:34:40 +02:00
HoutarouOreki
16d3ca2073 Move breadcrumb to the right position 2018-07-24 19:01:24 +02:00
HoutarouOreki
255c252f6a Shorten MarginPaddings in ChangelogContentGroup 2018-07-24 18:47:05 +02:00
HoutarouOreki
24bb44a152 Add TextBadgePair test case 2018-07-24 04:04:18 +02:00
HoutarouOreki
9e9d7a855d Remove reduntant .base and .this 2018-07-24 04:03:56 +02:00
HoutarouOreki
9a84747fe6 Fix reversed if/else statement causing inproper behavior for badges 2018-07-23 23:24:34 +02:00
HoutarouOreki
054f578bc8 Update few links not working; Reasses sample playing; Slight renames 2018-07-23 23:15:14 +02:00
HoutarouOreki
7c6be4a075 Handle around an APIChangelog instead of just Name and Version:
Makes showing up the header immediately possible
2018-07-23 21:38:14 +02:00
HoutarouOreki
6cd6ca432c Fix links not working due to rewrite regression 2018-07-23 20:36:24 +02:00
HoutarouOreki
f526d66969 Fix showing builds 2018-07-23 19:40:58 +02:00
HoutarouOreki
f685c5ba58 Fix typos; remove outdated comments; minor order changes 2018-07-23 18:38:20 +02:00
HoutarouOreki
554c56d51f Change order in TextBadgePair.cs 2018-07-23 18:17:50 +02:00
HoutarouOreki
e27292fef8 Rewrite LineBadge.cs
+ update all its references
2018-07-23 17:49:42 +02:00
HoutarouOreki
4cc5a657f3 Follow up framework changes 2018-07-23 10:05:19 +02:00
HoutarouOreki
391da47881 Refactor the rewrite 2018-07-22 22:31:24 +02:00
HoutarouOreki
51eec0dca4 Further rewrite 2018-07-22 22:13:14 +02:00
HoutarouOreki
61a8b98d32 Rewrite improvements 2018-07-22 20:27:50 +02:00
HoutarouOreki
6683d4cabe Add event handling in content groups 2018-07-22 20:14:58 +02:00
HoutarouOreki
eca6265186 Rewrite ChangelogContent.cs 2018-07-22 20:14:28 +02:00
HoutarouOreki
a8bbcca0e0 Rewrite ChangelogBadges 2018-07-22 19:51:31 +02:00
HoutarouOreki
797abd558f Rewrite ChangelogHeader.cs 2018-07-22 18:44:45 +02:00
HoutarouOreki
2b7f657f2c Place HTML messages in a TextFlowContainer
Add missing accessibility modifier in ClickableText test case and fix disposal
2018-07-22 14:44:11 +02:00
HoutarouOreki
8de65066dd Use shorter expression 2018-07-22 10:28:53 +02:00
HoutarouOreki
c5bdfb8857 Use ClickableText for navigating to builds; Fix typo 2018-07-22 05:34:55 +02:00
HoutarouOreki
80808bddbf Add changelog listing 2018-07-22 05:28:43 +02:00
HoutarouOreki
8e7efafba3 Lower height of the cover image, Adjust height of the purple line 2018-07-21 23:10:42 +02:00
HoutarouOreki
b5207d65f7 Show listing graph; Slight refactor 2018-07-21 10:05:12 +02:00
HoutarouOreki
ba0430752c Check wether a chart is populated; Fixes to graph's colour setting 2018-07-21 09:45:14 +02:00
HoutarouOreki
78f0f37ee6 Change graph's colour on stream selection 2018-07-21 07:16:22 +02:00
HoutarouOreki
eca5fb6f05 Introduce better formatting to changelog entries; Sort by category 2018-07-21 06:38:02 +02:00
HoutarouOreki
50c4f6ff95 Prevent scrolling to top on build change; Add bottom margin 2018-07-21 06:37:42 +02:00
HoutarouOreki
ce0029eabf Make build's creation date not nullable 2018-07-21 03:19:30 +02:00
HoutarouOreki
1492d5cb29 Improve primitive changelog entry formatting 2018-07-21 02:58:53 +02:00
HoutarouOreki
8d4de68c39 Nullables in APIChangelog; Primitive changelog entries display 2018-07-20 23:57:46 +02:00
HoutarouOreki
3115464238 Remove unnecessary statement; Uncapitalize private member; 2018-07-20 22:16:16 +02:00
HoutarouOreki
c9f3e72b7a Unify build div's dimming mechanics with osu-web 2018-07-20 22:13:10 +02:00
HoutarouOreki
709872d688 Improve showing up builds 2018-07-20 22:11:51 +02:00
HoutarouOreki
835a813715 Improvements to TooltipIconButton
Disable sounds when disabled; Remove default tooltip texts
2018-07-20 19:35:38 +02:00
HoutarouOreki
b049ffa11d Improve fake-api 2018-07-20 18:23:25 +02:00
HoutarouOreki
c50c946b35 Make chevrons updateable 2018-07-20 17:24:21 +02:00
HoutarouOreki
02a8fb2154 Update comments; Improve neighboring builds handling;
Apply fixes to things pointed out by AppVeyor
2018-07-20 15:48:20 +02:00
HoutarouOreki
227394925a Add neighboring builds handling;
+ provoke angry AppVeyor
2018-07-20 13:51:31 +02:00
HoutarouOreki
c7669b2128 Add build-scoped requests;
Add OnClick to TooltipIconButton; Actions on pressing previous/next in builds
2018-07-20 12:22:31 +02:00
HoutarouOreki
a857999950 Refactor3 2018-07-20 00:52:50 +02:00
HoutarouOreki
a9299423cd Refactor2 2018-07-19 21:49:13 +02:00
HoutarouOreki
bcd132e87f API1 2018-07-19 19:07:24 +02:00
HoutarouOreki
11e0732a27 Refactor1, UX1 2018-07-18 19:32:15 +02:00
HoutarouOreki
837747e35f Streams3 2018-07-18 15:17:20 +02:00
HoutarouOreki
6baa761b9c Streams2 2018-07-18 03:26:08 +02:00
HoutarouOreki
523d47e815 Streams1 2018-07-18 01:35:06 +02:00
HoutarouOreki
3c1e445fdf Header3 2018-07-17 18:32:11 +02:00
HoutarouOreki
b4bb97fba8 Header2 2018-07-17 15:01:53 +02:00