glguy / glguy/irc-core

reopen log tail / playback

Open
#71 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Haskell
Stars
168
Forks
27
PR merge metrics
No merged PRs in 30d

Description

When I re-open the client I'd like to also re-attach to my log files/scrollback then replay znc playback since I disconnected so it appears to me as if I never closed or left the channel/client

I also want this functionality when I join a znc detached a channel, or when I've left a channel completely. (this would kinda require a way to /close a channel or window without /clear'ing it)

This scrollback could be limited to X lines, that's fine with me

So on /join or on client start I'd like if it did this:

  1. Open the channel window
  2. Attach the tail of the log files for that channel so I can Pg Up/Pg Down in it
  3. Send JOIN to server
  4. replay znc playback (I think that's automatic)

Why? Well I want to use /grep rather than having to go dig in my logs dir just because the message is a day old

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the client-start and /join flows, then inspect how channel windows, log files, scrollback, and ZNC playback are currently handled. Confirm the behavior for reopening the client, joining a detached channel, and rejoining after leaving, including a bounded tail and /grep access; done means the requested sequence works without clearing existing history.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.