Commit Graph
5 Commits
Author SHA1 Message Date
weishauptandClaude Opus 5.5 807903fe0f Add wIRC main scrollback, route services to it, remember window bounds, bump to 0.1.7
wIRC main scrollback
- The main window now has a "Server messages" scrollback using the same
  rendering and stick-to-bottom code as channel windows (extracted from
  ChannelScreen into a shared MessageScrollback composable).
- MOTD, numerics, errors, connection status, user modes, INVITE, ERROR,
  non-ACTION CTCP requests and notices/messages from services
  (NickServ, ChanServ, *Serv, Global, ...) and the server go there. Its
  history persists like any other buffer (history/wirc-main__main.json).
- Unread indicator: lines arriving while the main window is unfocused
  show as "N new" next to the label and in the window title/taskbar.

Private messages and /whois
- A PM or notice from a real user opens its query window, and reopens it
  if it was closed. Services and the server no longer open windows.
- /whois <nick> sends WHOIS and shows the formatted reply in the window
  it was typed in, or in wIRC main if that window has since closed.
- /me now sends a proper CTCP ACTION (the \x01 wrapper was missing).

Window position and size
- Main, channel and PM windows remember position and size in
  window_prefs.json under the existing "<serverId>__<name>" key (main
  uses "wirc-main__main"). The new windowX/windowY/windowWidth/
  windowHeight fields are optional, so older files still load.
- A saved position is only used if the window's title strip is on a
  connected monitor; otherwise, and for windows with no saved position,
  windows cascade from the primary screen's top-left with a 32dp offset.
- window_prefs.json is now written via a temp file + atomic move.

Cleanup
- Remove the TEMP DEBUG aliasDebug tracing, ServerRepository.upsert
  printlns and connmgr-debug printlns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 15:08:38 -04:00
weishauptandClaude Opus 5.5 242d7a7c42 Fade title-bar buttons in on hover, remove temp debug logger, bump to 0.1.6
- Nicklist, settings, minimize and close buttons in the channel window
  title bar now rest at alpha 0 and fade to full opacity on hover
  (graphicsLayer alpha, so they stay laid out and clickable). Resting
  alpha, hover alpha and fade duration are constants at the top of
  ChannelScreen.kt. Channel name and window dragging are unchanged.
- Remove the unused temporary ircUiDebug helper now that the scrollback
  fix is confirmed.
- Bump version to 0.1.6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 14:07:02 -04:00
weishaupt 21b52477aa Bump version to 0.1.5, remove outdated 0.1.4 installers 2026-10-04 16:55:28 -04:00
weishaupt 4f717709d2 Fix scrollback: burst-proof stick-to-bottom, cap-proof layout wait, serialized buffer updates, atomic history saves 2026-10-04 16:29:21 -04:00
weishaupt defdefdb28 Initial commit 2026-09-01 12:32:15 -04:00