Commit Graph

23 Commits

Author SHA1 Message Date
Ellie Huxtable
128891f53e
fix(gui): do not hardcode db path (#2309)
* feat(gui/backend): add cli_settings tauri command

* chore(gui/backend): overdue cargo fmt

* fix(gui): use configured db path, not hardcoded
2024-07-25 13:40:04 +01:00
Ellie Huxtable
f8c963c7d6
feat(gui): clean up home page, fix a few bugs (#2304)
* wip home screen changes

* more

* adjust

* fixes and things

* patch runbook pty check
2024-07-23 13:18:54 +01:00
Ellie Huxtable
95cef71490
feat(gui): background terminals and more (#2303)
* fixes & allow for background terminals to stay running

* status indicators etc
2024-07-22 16:31:12 +01:00
Ellie Huxtable
97d978c267
fix(gui): terminal resize overflow (#2285) 2024-07-16 11:32:14 +01:00
Ellie Huxtable
7eb985b616
feat(gui): add runbook list, ability to create and delete, sql storage (#2282)
* wip

* saving works :))

* functioning delete button

* persist selection properly
2024-07-15 19:12:01 +01:00
YummyOreo
256a81a17a
fix(gui): add \r for windows (shouldn't effect unix bc they should ignore it) (#2253) 2024-07-10 18:43:18 +01:00
Ellie Huxtable
69def05f75
fix(gui): weekInfo call on Edge (#2252) 2024-07-10 17:11:34 +01:00
Ellie Huxtable
8d9f677c4e
feat(gui): use fancy new side nav (#2243)
* feat(gui): use fancy new side nav

* compact only sidebar, no expand-collapse

* custom drag region, remove titlebar

* add user popup

* wire up login/logout/register, move user button to bottom and add menu

* link help and feedback to forum
2024-07-10 15:56:33 +01:00
Ellie Huxtable
5b38448733
feat(gui): runbooks that run (#2233)
* add initial runbooks frontend

* fix buttons, scroll, add shell support to editor

* work

* some tweaks

* wip - run crate

* functioning executable blocks

* handle resizing, killing ptys

* clear properly on stop

* move terminal to its own component, handle lifecycle better

* fix all build issues

* ffs codespelll

* update lockfile

* clippy is needy once more

* only build pty stuff on mac/linux

* vendor pty handling into desktop

* update lockfile
2024-07-08 11:17:47 +01:00
Ellie Huxtable
12738895ff
feat(gui): toast with prompt for cli install, rather than auto (#2173) 2024-06-20 15:54:45 +01:00
Ellie Huxtable
80d28ea2da
feat(gui): cache zustand store in localstorage (#2168)
* fix(gui): use the store to cache week start

* feat(gui): cache zustand store in localStorage

This means that before we've loaded any data, we can still display
something up-to-date. Avoid flashing!

I'll probably want to switch this to the tauri sqlite plugin later
2024-06-19 15:46:53 +01:00
Ellie Huxtable
b8be23ee99
feat(gui): add activity calendar to the homepage (#2160)
* feat(gui): add activity calendar to the homepage

* localise week start
2024-06-18 17:11:24 +01:00
Ellie Huxtable
88633b8994
feat(gui): automatically install and setup the cli/shell (#2139)
* feat(gui): automatically install and setup the cli/shell

* add shell config and toasts
2024-06-17 15:36:38 +01:00
Ellie Huxtable
eb4a5ab4cd
chore: update email, gitignore, tweak ui (#2094) 2024-06-06 15:03:43 +01:00
Ellie Huxtable
d7f77ebfe1
feat(ui): setup single-instance (#2093) 2024-06-06 10:36:39 +01:00
Ellie Huxtable
467f89c104
feat(ui): add login/register dialog (#2056) 2024-05-30 12:49:22 +01:00
Ellie Huxtable
b49c73de3e
fix(ui): handle being logged out gracefully (#2052)
* fix(ui): handle being logged out gracefully

* use settings.logged_in
2024-05-28 16:28:09 +01:00
Ellie Huxtable
fc4dfe4fff
feat(ui): use correct username on welcome screen (#2050)
* wip

* fetch and use username
2024-05-28 14:54:05 +01:00
Ellie Huxtable
34265613b8
feat(ui): add history explore (#2022)
* break out HistoryRow, add drawer

* syntax highlighting!

* smaller text

* allow inspecting all old commands, no drag command

* fix query bug

* add loader
2024-05-14 12:16:04 +07:00
Ellie Huxtable
754ddeaa8d
feat(ui): scroll history infinitely (#1999)
* wip, history scrolls right!

* wip

* virtual scroll fucking worksssss

* paging works :)

* scroll search results now too
2024-05-06 08:11:47 +01:00
Ellie Huxtable
cea48a1545
feat(ui/dotfiles): add vars (#1989) 2024-04-29 14:59:59 +01:00
Ellie Huxtable
cb19925011
feat(gui): work on home page, sort state (#1956)
1. Start on a home page, can sort onboarding/etc from there
2. Introduce zustand for state management. It's nice!

Did a production build and clicked around for a while. Memory usage
seems nice and chill.
2024-04-17 14:06:05 +01:00
Ellie Huxtable
6cd4319fcf
feat(gui): add base structure (#1935)
* initial

* ui things

* cargo

* update, add history refresh button

* history page a bit better, add initial dotfiles page

* re-org layout

* bye squigglies

* add dotfiles ui, show aliases

* add default shell detection

* put stats in a little drawer, alias import changes

* use new table for aliases, add alias deleting

* support adding aliases

* close drawer when added, no alias autocomplete

* clippy, format

* attempt to ensure gdk is installed ok

* sudo

* no linux things on mac ffs

* I forgot we build for windows too... end of day

* remove tauri backend from workspace
2024-04-11 16:59:01 +01:00