Commit Graph

13 Commits

Author SHA1 Message Date
Guangcong Luo
bb6fe7ec3e Improve teambuilder stub
This should give an idea of the direction I want to take the
teambuilder in: a text editor, but with special features.

This neatly sidesteps a lot of UI questions, especially all the export
and input buttons, because the regular editing mode can be used to
import and export without anything fancy.

This also makes way for a better way to implement team/set comments:
comments are just invalid Pokémon in a team.
2019-05-16 01:27:19 +04:00
Guangcong Luo
7d52fd8c30 Implement TeamDropdown
Currently it's in the Main Menu where the old team dropdown was, but
the plan is for "Battle!" to eventually open a separate Search window.
2019-04-05 17:34:20 +08:00
Guangcong Luo
fbaceafac1 Implement Rooms room 2019-03-21 20:16:01 +09:00
Guangcong Luo
c02370f8b2 Stub teambuilder implementation 2019-03-17 19:02:53 +09:00
Guangcong Luo
25d2422a58 Add support for chat userlists and usercards
This involves a relatively substantial refactor to how panels work, but
it should be somewhat finalized now. Popups are now fully supported.
2019-03-17 19:02:53 +09:00
Guangcong Luo
04a5454f6e Support login handshake
You can't actually log in through the Preact client anyway, but now
if you set the right config file, you can _be_ logged in.
2019-03-17 19:02:53 +09:00
Guangcong Luo
0246466299 Use BattleLog for chat logs 2019-03-17 19:02:53 +09:00
Guangcong Luo
f3b6352676 Stub chatroom support 2019-03-17 19:02:53 +09:00
Guangcong Luo
e501702a2a Add connection support
The actual connect function is commented out, because there's no reason
for it to do anything. But it can actually connect to a server now.
2019-03-17 19:02:53 +09:00
Guangcong Luo
bc7676838d Rename client-frame.tsx -> panels.tsx
Considering all the individual panels start with `panel-`, this should
make it easier to find and in general be a more intuitive name.

All other tsx files will start with `panel-`, putting them together in
one place when sorting alphabetically.
2019-03-17 19:02:53 +09:00
Guangcong Luo
008e3de862 Implement stub Main Menu and Rooms panels 2019-03-17 19:02:53 +09:00
Guangcong Luo
5def884999 Stub Main Menu 2019-03-17 19:02:53 +09:00
Guangcong Luo
f8d251c8a1 Stub Preact rewrite
HIGHLY UNFINISHED CODE
2019-03-17 19:02:53 +09:00