Commit 4e68cc1
authored
Small overview page QoL improvements (#260)
* Pass claimed player to OverviewPage if logged in
When logged in, make the player claimed by the logged in user available
to the demonlist overview page. Explicitly do not require a verified
claim.
Signed-off-by: stadust <43299462+stadust@users.noreply.github.com>
* refactor: make demon_panel a method instead of free standing function
This way it's easier to access the claimed player.
Signed-off-by: stadust <43299462+stadust@users.noreply.github.com>
* ui: overhaul publisher byline on demon overview page
- Stop it being italic
- Add a "published by" text
- make name a statsviewer link
Signed-off-by: stadust <43299462+stadust@users.noreply.github.com>
* demonlist-page: add score to overview page
Add the minimal possible score (for meeting list%) and total possible
score to the overview page.
Signed-off-by: stadust <43299462+stadust@users.noreply.github.com>
* fix: have Demon::score return 0 if progress < requirement
Signed-off-by: stadust <43299462+stadust@users.noreply.github.com>
* demonlist-pages: display claimed player's progress on overview
Similar to what demonlist+ is doing, display the progress of the player
claimed by the logged in user on the right hand side.
Signed-off-by: stadust <43299462+stadust@users.noreply.github.com>
* demonlist-pages: make beaten demons light green on overview page
Signed-off-by: stadust <43299462+stadust@users.noreply.github.com>
* fix: remove some leftover css from the ad days
Signed-off-by: stadust <43299462+stadust@users.noreply.github.com>
* demonlist-pages: do not display progress on overviewpage on mobile
It just doesnt fit width-wise
Signed-off-by: stadust <43299462+stadust@users.noreply.github.com>
---------
Signed-off-by: stadust <43299462+stadust@users.noreply.github.com>1 parent 9532bd1 commit 4e68cc1
File tree
5 files changed
+84
-45
lines changed- pointercrate-core-pages/static/css
- pointercrate-demonlist-api/src
- pointercrate-demonlist-pages
- src
- static/css
- pointercrate-demonlist/src/demon
5 files changed
+84
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
496 | 500 | | |
497 | 501 | | |
498 | 502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | | - | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
80 | 89 | | |
81 | 90 | | |
82 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
83 | 99 | | |
84 | 100 | | |
85 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 22 | + | |
53 | 23 | | |
54 | 24 | | |
55 | 25 | | |
| |||
131 | 101 | | |
132 | 102 | | |
133 | 103 | | |
134 | | - | |
| 104 | + | |
135 | 105 | | |
136 | 106 | | |
137 | 107 | | |
138 | 108 | | |
139 | 109 | | |
140 | 110 | | |
141 | | - | |
| 111 | + | |
142 | 112 | | |
143 | 113 | | |
144 | 114 | | |
| |||
155 | 125 | | |
156 | 126 | | |
157 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
158 | 183 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 70 | | |
81 | 71 | | |
82 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
221 | 225 | | |
222 | 226 | | |
223 | 227 | | |
| |||
0 commit comments