Commit Graph

2232 Commits

Author SHA1 Message Date
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
Kevin Lau
23a7126aa0 Don't map highlights list to toName function
'|' is a valid regex character and highlight phrases can occasionally pass
18 characters. If they are mapped, it can become difficult to remove
specific entries on the list.
2015-07-11 16:40:17 -07:00
Konrad Borowski
4a2cb72ce4 Link to Showdown dex in /data 2015-07-11 21:22:51 +02:00
Ivo Julca
f302205baa Fix crash on beforeunload after failed autojoin 2015-07-10 10:04:22 -05:00
Ivo Julca
d2ccb0530a Remove deprecated message styles from client.css 2015-07-10 06:50:59 -05:00
Guangcong Luo
bea52d2f3a Merge pull request #413 from Irraquated/patch-3
Make replacePlayer player the target before leaving.
2015-07-08 13:51:05 -05:00
Jackson
ca83bf0c2e Make replacePlayer player the target before leaving.
The actions were in the wrong order, you would be demoted then try to player the target; but would return `/addplayer - Access Denied`
2015-07-08 20:45:16 +10:00
Guangcong Luo
f6d1d1a185 Support dropping image files to set background 2015-07-08 00:25:35 -05:00
Guangcong Luo
369adc8f91 Support dragging teams from desktop to PS 2015-07-08 00:25:09 -05:00
Guangcong Luo
bacc0158bf Support dragging teams to desktop 2015-07-07 22:34:37 -05:00
Guangcong Luo
f12a31db30 Correct teambuilder fun fact 2015-07-07 23:36:19 -04:00
Marty-D
f21c46f49c Teambuilder: Fix movepool for Pikachu and Wormadam formes 2015-07-06 21:13:38 -04:00
Guangcong Luo
bf48867673 Refactor team drag-settling animation
New version takes advantage of the drop event, which actually has
sane event.pageX/pageY values.
2015-07-05 16:26:05 -05:00
Guangcong Luo
64da380c9c Fix team export/backup capitalization 2015-07-05 16:18:23 -05:00
Guangcong Luo
5b67f96976 Better Safari support for drag/drop 2015-07-05 16:59:50 -04:00
Guangcong Luo
f527388e55 Update desktop client Windows installer 2015-07-05 15:40:44 -05:00
Guangcong Luo
5393b57455 Fix links to rooms to always open in-window 2015-07-05 14:52:11 -04:00
Guangcong Luo
306f21d57f Merge pull request #362 from xfix/uturn-nature
Allow negative attack nature for U-turn and Volt Switch
2015-07-05 13:37:11 -05:00
Guangcong Luo
336d89ae53 Merge pull request #411 from Irraquated/patch-2
Change /buttonkick to /buttonwarn
2015-07-05 11:56:26 -05:00
Irraquated
f6cc7fa412 Change /buttonkick to /buttonwarn
(Also keeping /buttonkick as an alias) Makes the command much more understandable.
2015-07-05 10:31:54 +00:00
Guangcong Luo
527eaaceb6 Fix Join room button 2015-07-05 03:13:07 -04:00
Guangcong Luo
c4860e02bd Fix pokemon classified as Illegal in teambuilder
I'm not sure exactly what conditions cause it (and specifically why it
sometimes works and sometimes doesn't) but this should at least fix
it.
2015-07-04 22:50:48 -05:00
Guangcong Luo
30f2d5649f Animate teams settling into place after dragging
This is supported on Chrome and Safari (and probably Opera), but
not Firefox because Firefox is too buggy.

(Honestly, every browser's HTML5 drag-and-drop implementation is
super buggy, but Firefox happens to be buggy in a way that makes
this feature semi-impossible.)
2015-07-04 22:35:00 -05:00