Commit Graph

2254 Commits

Author SHA1 Message Date
Guangcong Luo
bb7e384d3d Teambuilder: Link to Smogdex 2015-07-16 20:02:21 -04:00
Guangcong Luo
6572801036 Teambuilder: Set default level for LC UU and Battle Spot 2015-07-16 19:47:12 -04:00
The Immortal
5988e6daab Teambuilder: Set level 50 for Battle Spot formats 2015-07-17 02:09:47 +04:00
Guangcong Luo
f91a6478ee Darken tab mouseover effect 2015-07-16 05:14:33 -04:00
Guangcong Luo
37998261ee ORAS music! 2015-07-16 04:50:25 -04:00
Guangcong Luo
5a7acd09a9 Slightly faster tournament open/close animation 2015-07-15 19:04:28 -04:00
Guangcong Luo
838d855c72 Tweak chat appearance
- Highlighted messages now span the entire width of the chat.
- Highlighted and personal messages are more vertically centered.
- Links and code are again properly hidden by spoilers
2015-07-15 18:01:40 -04:00
Guangcong Luo
04e742edf7 Show tablist when PS logo is tapped
In iOS, the tablist dropdown isn't very visible, and the logo is a
bigger click target, and using the logo as a menu button is a common
UI convention on Android anyway.

Note that this only happens on tap; the logo is still not clickable
with a mouse.
2015-07-15 17:59:10 -04:00
Guangcong Luo
b9c92d45f0 Shorten 'Team List' back button
It's now simply 'List'. Shouldn't be a big deal; the arrow and
positioning are enough for it to obviously be a back button.
2015-07-15 17:31:51 -04:00
Guangcong Luo
d50f07c188 Highlight own messages
Your own messages are now sent with a slightly darker background.

PS actually originally had a feature that made your own messages gray,
which stopped working during the redesign two years ago. I only just
realized this and brought it back, but since the redesign, the
background has gotten darker and gray text is harder to read, so
I'm trying out this new approach with the background.

I personally think design-wise, gray text is better, but readability
is more important. Maybe I'll have a better idea later, but for now,
this doesn't look all that bad.
2015-07-15 17:29:38 -04:00
Guangcong Luo
31c035abcb Make highlight background semitransparent 2015-07-15 06:03:22 -04:00
Guangcong Luo
ce8ed4d931 Change formatting for spoilers/monospace
Spoilers are now solid color, and monospace now has a border,
making it easier to recognize and more suitable for delimiting code.
2015-07-15 06:01:13 -04:00
Guangcong Luo
6e0541458e Hide spoiler text from notifications 2015-07-15 06:00:10 -04:00
Guangcong Luo
1fdc52cbe7 Fix battle layout on iOS and old Android 2015-07-15 00:53:00 -04:00
Guangcong Luo
73ed5349a4 Better popups at low-res
This prevents user popups from going off-screen at low-res.
2015-07-15 00:52:22 -04:00
Guangcong Luo
a630a07c8e More reliable main menu resizing
Various corner cases in low-res situations could give the main menu
the wrong layout, leading to a horizontal scrollbar.
2015-07-15 00:51:15 -04:00
Guangcong Luo
9cf31de24e Hide main menu when linked elsewhere
Before, the main menu could still be visible behind the transparent
background of the teambuilder or ladder if you were linked directly
there.
2015-07-15 00:50:30 -04:00
Guangcong Luo
a78d233785 Add link for 128x128 app icon 2015-07-15 00:42:29 -04:00
Guangcong Luo
e2a8627b11 Native resolution for mobile
We now support resolutions down to 320px width, down from the
previous 640px.
2015-07-15 00:42:07 -04:00
Guangcong Luo
c63c75651a Improve teambuilder in low-res
This isn't a great improvement, and it involves horizontal scrollbars,
but it's still better than how it worked before.
2015-07-15 00:39:58 -04:00
Guangcong Luo
4dc2c78143 Improve ladder page
It's still very much casually thrown-together, but at least it fits
in phone screens.
2015-07-15 00:33:51 -04:00
Guangcong Luo
b96077039f Fix low-res userlist
The userlist in low-res mode now scrolls to top before collapsing,
which fixes the issue where it might not display the user-count
and toggle button.
2015-07-15 00:32:48 -04:00
Guangcong Luo
83d3d64be7 Better battle tooltips
Battle tooltips now appear on touch for mobile, and disappear when
anything else is tapped.
2015-07-15 00:30:22 -04:00
Guangcong Luo
cce2fa5019 Responsive battle UI
Instead of our previous minimum width of 640px, the new battle UI is
now responsive down to 320px.

Screenshot: http://d.pr/i/17UYD/1V6IYX2T
2015-07-14 19:00:58 -04:00
Guangcong Luo
f529ac6e39 Fix Main Menu responsiveness
The main menu wouldn't always switch to tiny-layout when resized
down to when it should switch.
2015-07-14 19:00:58 -04:00
Guangcong Luo
69524e935b Improve tab overflow menu
It might need more improvements in the future, but for now it's
already pretty good for switching between rooms.
2015-07-14 19:00:58 -04:00
Guangcong Luo
ccf73e7be9 Make PM/News close button easier to hit 2015-07-14 19:00:58 -04:00
Guangcong Luo
7d144dd411 Resize teambuilder clipboard
Old one was awkwardly wide
2015-07-14 19:00:58 -04:00
Guangcong Luo
f8dd5e3227 Support |move|...[anim]
This allows a move to use a different move's animation; useful for
mods and the like
2015-07-14 19:00:58 -04:00
Guangcong Luo
698b413801 Revert mode changes from recent style fixes 2015-07-14 19:00:58 -04:00
Freigeist
4d242777c1 Miscellaneous style changes 2015-07-14 21:17:22 +02:00
Freigeist
7e9bdaf6fd Fix indentation of switches 2015-07-14 21:15:07 +02:00
Freigeist
0bd78a8de2 Remove unnecessary block 2015-07-14 21:15:06 +02:00
Freigeist
19dfae0f61 Remove trailing whitespace 2015-07-14 21:15:05 +02:00
Freigeist
87b94e7284 Fix spaces on string concatenation 2015-07-14 21:15:04 +02:00
Freigeist
993e8911ac Put spaces before anon function's opening parenthesis 2015-07-14 21:12:58 +02:00
Guangcong Luo
ad692c2b6f Fix footer-mainmenu overlap on low res 2015-07-14 15:08:51 -04:00
Guangcong Luo
924ccd19fc Nicer tab overflow menu 2015-07-14 15:08:05 -04:00
Guangcong Luo
ebd77434d6 Show minimized userlist in low resolutions
Previously, the userlist would be completely hidden in low
resolutions, but now a user count is displayed in the top left
corner. When clicked, the entire userlist appears.
2015-07-14 15:07:38 -04:00
Guangcong Luo
53a1c2ad9e Support HTTPS PS-to-desktop team dragging
Chrome is dumb and doesn't support data URLs in HTTPS, so we have
to round-trip through action.php
2015-07-14 15:03:47 -04:00
Guangcong Luo
e2969f22ea More reliable desktop-to-PS team dragging 2015-07-14 15:01:40 -04:00
Guangcong Luo
a9056d097b More reliable team import/export 2015-07-14 04:02:42 -04:00
Guangcong Luo
1cfd574fef Fix crash when importing blank set 2015-07-14 04:02:42 -04:00
Ivo Julca
e5a63ea8ec Fix aliases of client-side preprocessed commands 2015-07-14 02:57:56 -05:00
Guangcong Luo
2ba0c96312 Merge pull request #420 from ascriptmaster/move-messages
Update sidebar on -start and -end volatile messages
2015-07-13 02:28:53 -05:00
Kevin Lau
1a54beb19a Update sidebar on -start and -end volatile messages 2015-07-12 23:42:52 -07:00
Guangcong Luo
6749f6893d Merge pull request #418 from xfix/analysis-link
Link to Showdown dex in /data
2015-07-12 15:12:08 -05:00
Guangcong Luo
9de36a55d2 Merge pull request #419 from Slayer95/popup-send
Support "send" buttons in popups
2015-07-12 03:17:57 -05:00
Ivo Julca
382a34c13b Support "send" buttons in popups 2015-07-11 23:16:51 -05:00
Slayer95
5502dbd0a2 Merge pull request #417 from ascriptmaster/master
Don't map highlights list to toName function
2015-07-11 18:46:46 -05:00