Using arrow keys to switch rooms is now in! Unlike in the old client,
the new system supports switching to all rooms, and supports arrow keys
in all situations, rather than only being able to switch between chat
rooms, and only with textareas focused.
Also, focusing chat rooms now focuses the input box. This was
surprisingly hard to implement with React, which has an annoying
all-or-nothing approach to state it doesn't control.
For the first time since original tooltips, we have a pressed-down
animation for move/switch buttons!
More importantly, long-presses are no longer weird, and now just
lock in the tooltip instead of also opening a context menu.
In addition, clicking on a locked tooltip dismisses it, which should
help address complaints about locked tooltips being hard to dismiss.
This makes it slightly harder to select text in locked tooltips, but
clicking and dragging on desktop still works.
- Tooltips work in replays now
- Calculation is better (correctly handles more corner cases)
- Explanations are better (better messages for Magic Room etc)
- Tooltips for sidebar pokemon
- Support "locking" tooltips with long-click / long-tap
- Can copy/paste from locked tooltips
- Increased font size
Previously, both Volume sliders and EV sliders use an outdated jQuery
slider library with no mobile support or accessibility.
Volume sliders are now HTML5, which means better accessibility and
mobile support.
We unfortunately can't move EV sliders to HTML5 because they do some
magic to constrain them to 510 total EVs, but EV sliders are
fortunately still accessible because they come with a textbox as an
alternate input.
Fixes the slider part of #954
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" />
The highlight color is now blue to match notifying tab colors. People
were complaining about the previous highlight color, so this should be
better.
Notifying PMs are still orange, though. I haven't been able to find a
nicer-looking blue for it.
Honestly, though, if night mode is supposed to help you sleep, you want
more orange and less blue... Maybe one day we'll be able to find a color
combination that actually looks good.
The timer was always kind of ugly and text-based, which is awkward on
non-wide screens, where you couldn't see it at all without switching
into the battle log.
The new version gives the timer a home at the upper right of the battle
choice screen (where the active Pokémon's HP used to be) (the active
Pokémon's HP has been moved next to "What will [pokemon] do?").
The spectator UI has also been updated, and now supports jumping to the
beginning/end of the battle, as well as forward/backward 1 turn,
regardless of whether the battle has ended.
In addition, a lot of other button layouts/appearances have been
improved.
This merges the CSS for buttons and tabbars the way they're merged in
regular light mode, making them more consistent with each other and in
general making them look nicer.
It's, in all, a matter of taste, but while I don't think this looks
_great_, I do think it's an improvement on what it looked like before.
The HTML/CSS behind the form for choosing Pokémon forms was getting
relatively unmaintainable, mainly because of an early hack for the
item icon location. The item icon's been move and the HTML is
easier to deal with now.
- Visible changeform button in dark mode
- Show all learned moves on alternate forms
- Stop the changeform click event from triggering when you click the Pokemon input box