- custom room info is now in `room.args`
- rooms not compatible with URLs can be marked with `noURL`
- PMs renamed to DMs, and are now `dm-[userid]` instead of
`pm-[userid1]-[userid2]`
- custom popups now supported
- find-user popup now supported
- popups no longer come with padding, making them behave more like
other panels
- Don't clear PM contents when rearranging
- Don't show "Chat self" on others' usercards while not logged in
- Direct usercard URLs to Preact client
- Fix mini window collapse/expand
- Fix dark mode mini window and focused mini window styles
- Set titles for more readable history
- Stub PS.alert / PS.prompt
- Document RoomOptions
- Infer parentRoomid from parentElem
- Fix room focus issues
- Fix browser back/forward history
- Keep default format up to date
Unfortunately it seems like the console is the new hot place to say
hi to devs, rather than the source, but we're actually using the
console. So it's gotta be here.
ASCII art circle was outlined with
https://www.asciiart.eu/ascii-draw-studio
and the exclamation mark was done by tracing the old one. The rest,
including the anti-aliasing was entirely by hand, though.
- New subroom link style
- New-style format list button
- Fix router (accidentally deploying Preact client to
play.pokemonshowdown.com)
- Support omitting redundant `data-name` on username elements
Also fixes a whole bunch of bugs related to dragging rooms around.
Also renames:
- `activePanel` to `panel`
- `leftRoom` to `leftPanel`
- `rightRoom` to `rightPanel`
- `leftRoomWidth` to `leftPanelWidth`
Which should hopefully make the relationship between `panel` and
`leftPanel` more intuitive.
- move big and small buttons to battle-log.css (so they can be used in
custom HTML)
- sync Preact header styling with regular header (from the design
refresh #2175)
- rearrange client.css and client2.css to move main menu and format
dropdown styling out of the header section
- lighten light .button.cur to match header bar
- add active styling to blocklinks
There's no easy way to enter a command in PS if you're not logged in.
This adds one.
This also standardizes the room ID for the console as `pm-`.
I'm still mulling whether `pm-[userid1]-[userid2]` should be the roomid,
or `pm-[pmtarget]`. Arguably it's nice for PMs to have the same roomid
for both sides of the conversation, but also arguably it's nice for
PMs not to change roomid when you change your own name (it'd still
change if your PM target changed name).
- Support `viewuser-` panels (no-interaction versions of user panels)
for Ladder
- Fix bugs with hiding right panel
- Fix crashes in battle panel
- Fix close button in battles panel
The main new joke is #2337, but I made a number of other tweaks.
In particular:
- Bringing back some text from AFD 2019, and adding some more
- Showing the Taunt and Chilly Reception jokes in `/afd sprites`
Having `Config.server.afd` and `Dex.prefs('afd')` do different things
was always a little confusing. Instead of removing either of these,
I'm adding a third variable, `Dex.afdMode` which --
*gets pelted by tomatoes*
look, it'll make sense once you see it!
The topbar in pokemonshowdown.com (and all not-in-sim pages)
has gotten revised in three ways:
1. Ladder has been replaced with Strategy, a link to the Smogon
Strategydex.
2. Strategy and Forum now open in new tabs, because they don't
share top nav with PS.
3. Strategy and Forum are now purple, to signal that they lead
to Smogon and open in new tabs.
I'm way more a fan of the new look than I expected to be. Purple
and blue matches the "Horizon" art used on the main page quite
well, it turns out.
Ladder was always kind of useless - there's a better Ladder button
in-sim that keeps way more up-to-date with tier additions/removals,
and finding users can be done by clicking on the "X users online"
button.
We're using Font Awesome 5 Pro on the live site for duotone icons,
but I'm still retaining support for Font Awesome 4 for licensing
reasons.
Both are colored now, which makes for a better look, too.
New: <<smogdex>> <<smogcord>> <<forums>>
I also improved some things to make it easier to correctly add
shortlinks in the future.
Remember: psim.us/smogdex always works for shortlinks when outside
of PS.