Giter VIP home page Giter VIP logo

chuck-nvim's People

Contributors

gacallea avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

sjomae

chuck-nvim's Issues

feat: parse the log for a list of shreds

To replicate webchuck ui and to avoid running a --status command every time, implement a shred list.

  • log chuck to file, besides having VM output
  • parse logs to populate the shreds table
  • create a list of shreds from the table
  • display shreds in top right pane.

feat: improve UI concerns separation

At the minute, shred_pane and chuck_pane are fed information to display by two Nvim jobs. Possibly improve this by better separating concerns between NUI and the underlying needs.

  • use a table instead of directly setting the NuiLine from action.
  • run chuck in a detached/hidden terminal buffer
    • attach chuck_pane to it and display "raw terminal output" instead of adding lines to NUI (redundant)

fix: avoid opening a buffer for the log

Currently, as soon a second nvim buffer is open the logfile buffer is opened as well.

  • is this a nui issue?
  • is this a bufferline issue?
  • how to exclude it?

feat: layout resembling WebChucK UI

I'd like to reach a window layout like webchuck does, with the same main funcionalities:

  • file explorer (comes with neotree)
  • filed editor (comes with nvim)
  • shreds list (courtesy of nui.nvim!)
  • vm status (comes with chuck)
Screenshot 2024-01-11 at 1 07 30 PM

edit: consider using nui.nvim splits for the layout

feat: use nvim 0.10 and nerdfonts 3.2.0 included ft/syntax/logo

chore: once nvim 0.10 and nerdfonts 3.2.0 are released do these:

  • update readme nvim 0.10 dependency
  • remove filetype and syntax files (as they will be included)
  • check if nvim-web-devicons includes new logo from nerdfonts
  • remove nvim-web-devicons custom icon code from lazy install
  • remove readme temporary dependencies

feat: add elapsed time field to shreds

make the ui display elapsed time for each shred. something like this:

Screenshot 2024-01-19 at 11 30 21 AM
  • use lua sodlib (os.time()?)
  • callback function to pass to NUI
  • find a way to run it continuosly from shred addition

fix: ChuckRemoveShred

for some weird reason string.format %d isn't working for for remove_shred() but it is for replace_shred()

feat: add clickable buttons

it would be nice to have clickable buttons to allow mouse interaction (besides the commands/which-key) to

  • start/stop chuck (won't implement this, cause there is autorun or manual command already)
  • use bufferline to add clickable buttons triggering (add/replace/remove). this makes the most sense.

The buttons on the right are an example, but in the wrong place (custom area). Picture them on each buffer instead.

299250023-d5da773f-d1da-494a-bdbf-fd8f56c65e6a

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.