Commit Graph

3416 Commits

Author SHA1 Message Date
Guangcong Luo
92c277e53c Further updates to name color
We've now mostly reverted to the first color scheme (the one before
the update over a year ago), just adjusting the darkest colors to
look better in dark mode, and the brightest colors to look better
in normal mode.
2016-01-24 01:48:24 -05:00
Guangcong Luo
84ffec485f Fix PM window colors in light mode 2016-01-24 01:48:24 -05:00
Guangcong Luo
d209661b91 Fix team saving in desktop client
I'm not sure why this only recently started becoming a problem; I've
been told this only recently became commonly reported in Help, but the
code I've fixed seems to have been around for a long time. Maybe some
recent change exacerbated it or something.

Anyway, this should make team saving much more frequent, matching how
team saving works in the browser.
2016-01-24 01:48:24 -05:00
Guangcong Luo
694610f35e Merge pull request #626 from panpawn/patch-4
Make darkmode's .message-error orange colored
2016-01-23 22:39:14 -08:00
Guangcong Luo
bd3ffa4636 Merge pull request #623 from Teremiare/patch-5
Add suppress interstice option
2016-01-23 22:39:05 -08:00
panpawn
3b1ed8d0a0 Make darkmode's .message-error orange colored
This makes it much easier to read while in darkmode.
2016-01-23 21:16:05 -05:00
Teremiare
820d4aa0e8 Add suppress interstice option 2016-01-24 00:00:05 +01:00
Guangcong Luo
fe87121544 Merge pull request #624 from kotarou3/loudness-volume
Put volume control on a loudness scale rather than amplitude
2016-01-23 14:22:09 -08:00
Guangcong Luo
714f1dae0d Merge pull request #625 from kotarou3/eslint-root
Mark root directory as root for eslint
2016-01-23 14:20:40 -08:00
Guangcong Luo
b01acf8101 Merge pull request #622 from Ridaz/patch-1
Update Move Animations Round 4
2016-01-23 13:18:44 -08:00
Ridaz
08adbdf1f8 Update Move Animations 2016-01-23 20:40:24 +00:00
小太
f61373b61a Mark root directory as root for eslint
So it doesn't try to read any ancestor directories' eslint configs
2016-01-24 00:37:03 +11:00
小太
c2b015a155 Put volume control on a loudness scale rather than amplitude 2016-01-24 00:34:06 +11:00
Guangcong Luo
cbb0c5f999 Merge pull request #621 from Ridaz/patch-1
Sacred & Secret Sword Animation Update
2016-01-23 03:02:55 -08:00
Ridaz
2c3571520e Sacred & Secret Sword animation update 2016-01-23 10:50:57 +00:00
Guangcong Luo
262a0a0f05 Fix colors for Dark Mode
After a bunch of iterations, this color scheme mostly only has blue
and yellow users complaining.

Blue names are now lighter, and yellow names are now darker, so that
they're more readable in dark mode and regular mode respectively.

This is done using a fancy algorithm to figure out the luminosity
of the generated color, and adjusting accordingly.
2016-01-23 03:29:39 -05:00
Guangcong Luo
776f679488 Improve Dark Mode
- The CSS layout is slightly better
- Improve textbox colors slightly
- Make PM boxes semitransparent like chat
- Fix chatroom list colors
- Fix |unlink| revealed text colors
2016-01-23 03:29:39 -05:00
Guangcong Luo
e81c021756 Widen PM windows 2016-01-22 18:30:24 -05:00
Marty-D
209b49a8e1 Add activations for -start Abilities 2016-01-22 17:05:42 -05:00
Guangcong Luo
0efc0e93b8 Dark mode: Improve textbox and PM colors 2016-01-22 04:42:30 -05:00
Guangcong Luo
8c8144adac Fix close button in taboverflow menu 2016-01-22 03:16:26 -05:00
Guangcong Luo
4bd4dd61a3 Improve Dark Mode
This adds various improvements to ladder headers, tournaments, chat,
and teambuilder in dark mode.
2016-01-22 03:14:54 -05:00
Guangcong Luo
0a39ebf140 Use .textbox for teambuilder textboxes
Teambuilder textboxes used to have their own CSS. They've been updated
to use the regular textbox CSS. This also makes them dark in Dark
Mode.
2016-01-21 20:49:17 -08:00
Guangcong Luo
04e96af909 Dark mode (beta)
Exactly what it says on the tin.

Most things aren't particularly dark, but at the moment there aren't
any parts that look particularly ugly, so I consider this a mild
success.

More changes planned.
2016-01-21 02:34:26 -08:00
Guangcong Luo
700067c9aa Change close-roomtab button to button
There's a reason why close-roomtab buttons are <a> tags right now, and
I think it has to do with compatibility with some obscure browser like
IE9 or something.

Still, though, the CSS is much nicer this way, especially for the
upcoming dark mode feature, so I'll just commit this and figure out a
different workaround for whatever problems come up.
2016-01-21 02:31:13 -08:00
Guangcong Luo
c60f6fa8f7 Fix /warn
RulesPopup was accidentally ommitted in a recent refactor.
2016-01-21 03:00:08 -05:00
Guangcong Luo
0de45868bc Merge pull request #620 from Ridaz/patch-1
Update Move Animations
2016-01-20 19:17:46 -08:00
Ridaz
913f9bddca Update Move Animations 2016-01-21 00:43:37 +00:00
Guangcong Luo
f45a36365a Update Tailwind/etc duration on use
Previously, the duration of side conditions like Tailwind, Reflect,
etc would only appear at the end of the turn. Now, they appear
immediately when the move is used.

This should also fix the issue of users asking "Why does it say '3
turns left' when Tailwind lasts 4 turns?"
2016-01-20 17:50:44 -05:00
Guangcong Luo
6131f7f009 Merge pull request #619 from Teremiare/Teremiare-ignoreRename
Update ignore list on rename
2016-01-20 12:58:23 -08:00
Teremiare
f0c5515768 Update ignore list on rename
If ignored users change their name the new name will be added to the ignore list.
If you change name to an already ignored one that name will be removed from the ignore list.
2016-01-20 15:21:04 +01:00
Guangcong Luo
17e19ae7c4 Teambuilder: Update team dragging
New shadow is semitransparent instead of solid gray, to better match
how room dragging looks.
2016-01-19 20:26:44 -05:00
Guangcong Luo
c1f0a23c85 Improve roomtab drag-and-drop
This fixes the flickering when dragging a small tab over a large tab.
2016-01-19 20:26:10 -05:00
Guangcong Luo
81e045d237 Move replay file creation to battledata.js
This mainly allows a Download button to be available to the replay
player.
2016-01-19 20:25:48 -05:00
Guangcong Luo
effa959600 Teambuilder: Show HP moves as useless if outclassed 2016-01-18 20:00:40 -05:00
Guangcong Luo
b347a15ef2 Merge pull request #614 from sirDonovan/tournament-notify
Don't notify for old tournament creation messages
2016-01-18 16:51:26 -08:00
Guangcong Luo
742da99528 Implement drag-and-drop roomtab rearranging
This uses the HTML5 drag-and-drop API to rearrange rooms.

Harder to code and less pretty than doing it manually, but on the
upside, browsers still consider them links, allowing them to be
dragged to bookmarks, textboxes, etc.

Closes #203
2016-01-18 16:47:44 -08:00
Guangcong Luo
5fcb16b163 Detect that dragged files are teams
Previously, due to the HTML5 drag-and-drop API's security model, we
couldn't tell if a dragged file was a team or not. This new code makes
the check slightly more reliable.
2016-01-18 16:47:42 -08:00
Guangcong Luo
8be8204c61 Remove no-longer-necessary Chart placeholder 2016-01-18 01:42:31 -08:00
Guangcong Luo
bf68cdc1c4 Slightly improve comments 2016-01-18 01:42:31 -08:00
Guangcong Luo
78334b7a15 Split off client-topbar.js from client.js
client.js is still kind of huge, but oh well. Progress!
2016-01-18 01:42:30 -08:00
Guangcong Luo
9370f0fbf0 Merge pull request #617 from urkerab/battle-exception-stack
Improve stacks for exceptions in battles
2016-01-17 12:13:27 -08:00
Guangcong Luo
3fb0c4d868 Merge pull request #618 from urkerab/potential-slot-fixes
Fix some potential issues with pokemon.slot
2016-01-17 12:10:55 -08:00
urkerab
0c0d4677fb Fix some potential issues with pokemon.slot 2016-01-17 18:49:13 +00:00
urkerab
cc2aac7bb9 Improve stacks for exceptions in battles 2016-01-17 11:45:38 +00:00
Guangcong Luo
6698d649f6 Teambuilder: Fix names when importing/exporting
Import/export used to have trouble with the new storage format for
pokemon without nicknames; this has been fixed.
2016-01-17 05:57:56 -05:00
Guangcong Luo
388494196e Hide tooltips when switching rooms
Tooltips wouldn't disappear in certain obscure situations. This should
mitigate those obscure situations.

(Specifically, opponent forfeits while you're hovering over a move or
pokemon.)
2016-01-17 05:57:56 -05:00
Guangcong Luo
be5cb1c676 Teambuilder: Add PU as a filterable tier 2016-01-17 05:57:56 -05:00
Guangcong Luo
5fc82af152 Teambuilder: Fix Tab/Enter behavior
- Enter now moves onto the next field if the selected field is valid
- Tab/Enter on the last move now focuses EVs/IVs button, so it's much
  easier to refocus the last move
2016-01-17 05:57:56 -05:00
Marty-D
91fb82c4bc Add Spiky Shield message 2016-01-16 12:56:17 -05:00