Activity log panel

Open
#312 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
mysql, postgresql, rust, sql
Domain
cli, database

Research direction

Start by reading the TUI entry points and the code that runs user statements and builds table, filter, paging, count, and metadata queries. Trace how connection and transaction events are represented, then identify where a bottom panel can receive and display them. Done means the panel covers the in-scope events and actions, preserves the exact sent statement text, and keeps file logging opt-in in settings.

Written by the indexing model from the issue text.

Description

enhancement roadmap
Summary

A panel that shows, in time order, what datarig did on your connections: connects and disconnects, every statement sent to the server, rows and time, errors, and transaction begin, commit and rollback. It answers "what did I just run?" and "what did the app send for me?".

Scope

In:

  • A panel that can be shown or hidden, at the bottom of the window.
  • Statements you run and statements datarig builds itself (table tabs, filters, paging reads run again, counts, metadata reads), each marked so they can be told apart.
  • View for the current tab or for all tabs; copy a statement; open it in a console.
  • Kept in memory by default. Writing it to a file only when turned on in the settings, since statements can contain values you would not want on disk.

Out (for now): search across past sessions, export of the log.

Design notes
  • The panel shows the text exactly as sent, never a rewritten version.
  • Large statements are shortened in the list and shown in full on request.
Status

Backlog.

Plan history
  • 2026-11-10: Issue opened.
Dominant language
Rust
Stars
166
Forks
8
Avg merge
4h 24m
Merged PRs (30d)
291

Getting set up

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.

More from DokaDev/datarig

All issues in DokaDev/datarig

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.