summaryrefslogtreecommitdiff
path: root/public
AgeCommit message (Collapse)Author
2023-10-27Delay scrollIntoView by using timer, to prevent event handler from interfering.Tor Andersson
This is needed on Chrome when the scrollIntoView is triggered from certain events, otherwise the event processing will interrupt and stop the scrolling.
2023-10-27Make zoom button cycle 100%, fit width, fit both.Tor Andersson
When zoomed in manually, cycle downwards.
2023-10-27Add keyboard shortcuts for zooming.Tor Andersson
2023-10-27Add icons indicate battle boxes can be minimized.Tor Andersson
2023-10-27Don't hide log button on wide screens.Tor Andersson
2023-10-27Scroll into view with margins for battle boxes.Tor Andersson
2023-10-22Fix chat window size and text selecting on desktop.Tor Andersson
2023-10-22Remove stray debugging messages.Tor Andersson
2023-10-21Work around Chrome browser nonsense features...Tor Andersson
2023-10-21Common scroll_into_view and scroll_into_view_if_mobile functions.Tor Andersson
2023-10-21Move "scroll with middle mouse" initialization to common code.Tor Andersson
2023-10-21toolbar menus: Click to open, click anywhere or leave window to close.Tor Andersson
2023-10-21Use <details> to show/hide battle box contents!Tor Andersson
And now we don't need to allow user movement of the battle dialogs.
2023-10-21Simplify user-select:none and pointer-events:none setting.Tor Andersson
Set these at the top level so lower level elements don't need to repeat.
2023-10-21Only toggle fullscreen when double tapping on header.Tor Andersson
2023-10-21More mobile layout improvements.Tor Andersson
2023-10-21Improvements to mobile layout code.Tor Andersson
Fixes for Chrome. Fixes for Safari. Hide log at start if window is small. Toolbar menu and icon buttons using details, menu, and button elements.
2023-10-21Add color themes.Tor Andersson
2023-10-21Add popup menu template code.Tor Andersson
2023-10-20Rename common "play" files to "client".Tor Andersson
Avoids confusion in javascript console which file is which.
2023-10-20Mobile phone interface rework.Tor Andersson
* Redesign responsive layout. * Pan & Zoom with touch (and scroll wheel). Scale main area using transforms and scroll offsets. Toggle zoom button scales map on large screens, full main zoom on small screens. * Automated standard toolbar buttons (remove from play.html files).
2023-10-20Limit size of images in posts to fit.Tor Andersson
2023-10-13Clean up stylesheet and improve layout on small and large screens.Tor Andersson
Use variables for color theming.
2023-10-13Handle invites for active games.Tor Andersson
2023-10-05Tell Google's AI robot to go away.Tor Andersson
2023-10-05Add game "setups" for automated match making and tournaments.Tor Andersson
2023-09-20Don't clip role name ascenders and descenders at edge.Tor Andersson
2023-09-18Enforce limits on how many games you can create and join.Tor Andersson
Also limit joining more games if you have too many games waiting. Generous default limits: 7 open, 29 active, and 3 waiting.
2023-09-18Links to user pages from in-game role display.Tor Andersson
2023-09-15Add user links to join page.Tor Andersson
2023-09-15Fix font-face unicode-range for Noto Emoji.Tor Andersson
2023-09-15Improve sync error handling.Tor Andersson
1) Show warning during one second then resume game. 2) Don't update cookie during simultaneous turns. When playing SoT live, discarding cards at the same time leads to many harmless in-flight action collision errors, which don't really matter. If we stop updating the cookie during simultaneous turns, we can avoid this.
2023-09-13Set player_count in database for faster and easier logic.Tor Andersson
Track ready to start and unjoined games in "active" header.
2023-09-12Fix query during detailed replay.Tor Andersson
2023-08-31Tweak CSS syntax.Tor Andersson
2023-08-12Add deep comparison function to utility library.Tor Andersson
2023-08-12Add commont ".action" cursor CSS property.Tor Andersson
2023-08-12Use synchronization cookie to prevent action de-sync errors.Tor Andersson
2023-07-13Use status constants.Tor Andersson
2023-07-02Lighter replay panel.Tor Andersson
2023-07-01Add "snapshot" replay view during play.Tor Andersson
Snapshots store game state without undo and only log length. Combined with the final game state's log we can recreate the view from any snapshot quickly. Move replay code into separate script file, loaded only when used. Prefix system "setup", "resign", and "restore" actions with a period.
2023-06-30Turn "undo" functions into no-ops if undo stack is not present.Tor Andersson
Allow replaying game states quickly without undo handling.
2023-06-30Remove unused msie.html file.Tor Andersson
2023-06-12Add Tinos web font.Tor Andersson
2023-06-05Add another function to common code library.Tor Andersson
2023-06-05Remove stale stuff.Tor Andersson
2023-05-23Make log updates more robust in preparation for future improvements.Tor Andersson
2023-05-21Remove unused Nimbus Roman web font.Tor Andersson
2023-05-18Remove support for old game parameter format.Tor Andersson
2023-04-28Only toggle body.shift if the active element is the root.Tor Andersson
Avoid toggling shift stuff if the chat input box has focus, etc.