Commit Graph

3817 Commits

Author SHA1 Message Date
Dickson Tan
2afcc32807 Accessibility improvements to the battle UI (#956)
* Enable screen readers to automatically read incoming battle log text

* Mark sections of the battle UI with landmarks for quicker navigation with screen readers

* Allow tooltips on elements that participate in sequential keyboard navigation to have their tooltips automatically read out by screen readers when they gain focus
2017-06-26 00:21:58 -07:00
Guangcong Luo
7b3eb4f654 Improve accessibility
- Add labels to unlabeled controls
- Hide autoresize box from screen readers

Fixes part of #954
2017-06-24 16:29:39 -04:00
Guangcong Luo
08ca2d13f7 Fix Reflect/etc text in dark mode
Fixes #952
2017-06-24 03:04:19 -04:00
Guangcong Luo
73a8845932 Shorten customcss timeout time 2017-06-21 23:13:16 -04:00
Konrad Borowski
b7a0f214dc Display correct type of transformed Pokemon in old gens (#949)
This makes for instance Ditto transformed into Clefairy appear as
Normal type instead of Fairy type. The battle with a bug can be
seen on http://replay.pokemonshowdown.com/gen1ou-593692946
2017-06-21 19:20:46 -07:00
asgdf
53a5d06859 Fix teambuilder showing current gen base stats for gen 6 teams (#948) 2017-06-20 12:13:51 -07:00
Guangcong Luo
efe0c07812 Fix Substitute+Illusion animation 2017-06-19 18:23:43 -04:00
Sacha Reinert
64659a50af Custom CSS: Increase max execution time (#946) 2017-06-18 09:12:14 -07:00
Slayer95
346bf935db Refactor custom icons to a single element <psicon> and use Caja (#945)
Since real custom elements still have very limited availability, this is the most proper way to do it, and results in a more predictable HTML parsing.
Adds support for custom styles and classes.

Example: <psicon pokemon="meloetta" class="pixelated" style="opacity:0.4" />
2017-06-17 14:38:52 -07:00
Bär Halberkamp
41a9c54cfc Add <pokemonicon> and <itemicon> (#944) 2017-06-15 21:32:24 -05:00
Quinton Lee
5c5c57870e Tournaments: add validate button (#936) 2017-06-15 11:52:17 -05:00
Guangcong Luo
796b74ed9d Fix Linux/macOS support for CSS sanitizer 2017-06-14 23:36:34 -04:00
Sacha Reinert
a6e7db9b89 Use Wikimedia's css sanitizer for custom css parsing (#919) 2017-06-13 23:26:15 -05:00
Konrad Borowski
d4a085365e Include bumbadadabum in major contributors credits (#942) 2017-06-13 11:51:41 -05:00
panpawn
4a318e2a4e Change tenary operators to or statements (#940)
"Oh, btw, this isn't standard PS notation." 

(this is the (late) update from that comment)
2017-06-11 22:39:13 -05:00
Guangcong Luo
eac71a2640 Implement terrain backgrounds 2017-06-11 11:19:25 -04:00
Enigami
daef3217f7 Updated Gen 1 Viability (#938) 2017-06-10 16:04:26 -05:00
panpawn
56dd183ca1 Fix close button on replay uploaded popup (#937) 2017-06-09 15:32:37 -05:00
asgdf
9d0261bec1 Don't reset Battle Bond Greninja's Atk IVs to 0 (#935) 2017-06-03 00:35:04 +09:00
jumbowhales
c71aa34010 Add crq to the commands blocked by client (#933) 2017-05-31 03:44:47 +09:00
Charlie Kobayashi
ebefd0c93a Client: fix default order (#932) 2017-05-31 03:42:58 +09:00
asgdf
b2164a6d8b Tooltips: improve wording for percentage boosts (#925) 2017-05-30 05:52:41 +09:00
Guangcong Luo
9d6000f224 Fix userlist formatting 2017-05-28 06:14:35 -04:00
asgdf
77cc4e3a04 Properly handle pokemon that transformed into each other (#930)
- prevent infinite recursion
- prevent copies of tracked moves from stacking up
2017-05-28 14:59:17 +09:00
asgdf
db77e5625b Don't crash when clicking empty targeting buttons (#929)
Also don't style them as "disabled" because they're perfectly clickable.
2017-05-27 12:18:31 -05:00
The Immortal
0acdea343f Update Mega Evolution message 2017-05-26 22:53:18 +04:00
Charlie Kobayashi
e2a98288b4 Client: support custom ranks (#918) 2017-05-25 13:32:48 +09:00
asgdf
5d25855e6a Teambuilder: display correct type for older gens in set overview (#928) 2017-05-24 23:08:52 +09:00
asgdf
76144b2ffa Tooltips: don't report Toxic Boost as Atk boost (#927)
It boosts move base power, not atk, plus the bp boost is already displayed
as well so this was redundant anyway
2017-05-24 17:30:55 +09:00
asgdf
fbe1b46653 Display only legal mons in SM Doubles teambuilder (#924) 2017-05-20 08:49:48 -05:00
urkerab
f0e10dadaa Track moves from Transform more accurately (#923) 2017-05-17 23:08:44 -05:00
asgdf
b388ff5f15 Tooltips: Don't skip 1.2x ability boosts for normal type moves (#922) 2017-05-17 02:27:13 -05:00
QuiteQuiet
9fd0b58b37 Fix crash in team selection for tournaments (#921) 2017-05-16 18:15:52 -05:00
Quinton Lee
65a4e1ba9a Tournaments: support custom format names (#896) 2017-05-15 22:37:24 -05:00
Guangcong Luo
a4cc6d1040 Sync data 2017-05-15 05:55:08 -04:00
Guangcong Luo
c0efe4e0a3 Update sim server URL 2017-05-15 05:55:08 -04:00
Guangcong Luo
d22c2b4368 Refactor chat CSS 2017-05-15 05:55:08 -04:00
Guangcong Luo
d0420138d5 Update update scripts for Dex refactor
tools.js is now sim/dex.js, and no longer requires includeData()
2017-05-15 05:55:08 -04:00
QuiteQuiet
3f2ceecb27 Show team size in generations without team preview (#915) 2017-05-14 07:20:20 -05:00
HoeenHero
d9ea64084d Add |notify| (#873) 2017-05-10 20:13:18 -05:00
urkerab
ec196c5888 Update move target decisions when ignoring nicknames (#916) 2017-05-09 22:30:42 -04:00
urkerab
e6843f09af Mark Illusion when it wears off (#914) 2017-05-08 03:48:07 -05:00
The Immortal
f2179a43d2 Add 1v1 COIL 2017-05-07 22:27:15 +04:00
asgdf
15ff4958f7 Prevent teambuilder from crashing current versions of Opera (#912) 2017-05-06 05:17:19 -05:00
Charlie Kobayashi
f8d2ae936e Allow formatting in PMs and fix spelling mistake (#872) 2017-05-05 00:55:25 -07:00
Ridaz
323195c4b6 Update move animations 2017-05-01 12:20:32 +01:00
asgdf
9546d51c50 Expand tabcompletion functionality (#909)
* allow cancelling tabcompletion with Esc
* allow cycling through candidates in reverse in PMs as well
* allow tabcompletion everywhere in a multi-line message
2017-04-28 03:58:21 -07:00
Guangcong Luo
d90965cb02 Preserve format order
Previously, formats could get out of order if a subformat (e.g.
"OU (suspect test)") were sent before its corresponding teambuilder
format (e.g. "OU"). This commit fixes that by moving the teambuilder
format if it's already been created by an earlier subformat.
2017-04-28 03:25:48 -04:00
MacChaeger
effb0425db Show the effects of all abilities on base power (#908) 2017-04-26 11:15:29 -07:00
asgdf
3589926ca8 Fix dark mode style regressions (#902)
1. subtly notifying roomtab title turned white on mouseover
2. bold text in colored broadcast boxes turned blue in the battle chat
2017-04-25 00:57:10 -07:00