Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kanban Mouse

A terminal-based Kanban board using Laravel Prompts, inspired by Joe Tannenbaum's blog post.

But with 100% more mouse support. Whether it's sensible or not.

  • Hover
  • Drag & drop
  • Right click context menu
  • Left click 'move card'
  • Scroll wheel card selection

Use locally

git clone git@github.com:ashleyhindle/kanban-mouse.git
cd kanban-mouse
composer install

php kanban.php

Purpose

This is really just to show how to do it, what's available, and what's possible.

It's not production ready, it's not an app you should use to manage your todos.

It's a demo of what's possible if you ignore your other life commitments.

Most interesting files

  • app/Themes/Default/KanbanRenderer.php but particularly the lines using getMoveCursorTo()
    • This shows how we 'overlay' the dragged card, and context menu, on top of the default render
  • app/Mouse.php
  • app/MouseEvent.php
  • app/Kanban.php

Support & Credits

This was developed by Ashley Hindle. If you like it, please star it, share it, and let me know!

About

Demo of mouse support in Laravel Prompts

Topics

Resources

Stars

10 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages