Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preact rewrite #1156

Closed
wants to merge 17 commits into from
Closed

Preact rewrite #1156

wants to merge 17 commits into from

Commits on Nov 20, 2018

  1. Stub Preact rewrite

    HIGHLY UNFINISHED CODE
    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    e45fd94 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23e8dee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ad506c View commit details
    Browse the repository at this point in the history
  4. Move calculateLeftRoomWidth to PS main model

    This is kind of a break of purity, because it reads
    `window.offsetWidth`, but this is the lowest-overhead way to
    automatically recalculate the leftRoom width whenever PS updates
    (i.e. whenever leftRoom or rightRoom change).
    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    642a5c1 View commit details
    Browse the repository at this point in the history
  5. Stub Main Menu

    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    81ce7a8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dc54c01 View commit details
    Browse the repository at this point in the history
  7. 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.
    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    c6962c3 View commit details
    Browse the repository at this point in the history
  8. Improve room layout code

    Room layout code is now better commented and more readable.
    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    83b68f4 View commit details
    Browse the repository at this point in the history
  9. Flesh out Prefs, Teams, User models a bit

    There's still a lot more to do, but this is a start
    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    44deafd View commit details
    Browse the repository at this point in the history
  10. Support joining/leaving rooms

    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    b33507d View commit details
    Browse the repository at this point in the history
  11. Add a router

    Unlike the old router, this one has no dependencies, and also tracks
    left/right panel state, for more accurate back/forward button support.
    
    It also sets the URL to the last selected panel, instead of always
    using the left panel.
    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    427ee67 View commit details
    Browse the repository at this point in the history
  12. 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.
    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    641519e View commit details
    Browse the repository at this point in the history
  13. Add basic popup support

    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    fe07f89 View commit details
    Browse the repository at this point in the history
  14. Stub chatroom support

    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    a7e9190 View commit details
    Browse the repository at this point in the history
  15. Use BattleLog for chat logs

    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    ab5247f View commit details
    Browse the repository at this point in the history
  16. Support uhtml

    Zarel committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    da9076b View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2018

  1. Router: Support hashes in testclient

    This at least lets me test some router features without pushing it to
    the live server.
    Zarel committed Nov 21, 2018
    Configuration menu
    Copy the full SHA
    bdf1d79 View commit details
    Browse the repository at this point in the history