8359d0d7ca
refactor: Update TUI sooner when receiving CI status
...
Looking to avoid getting stuck on 'Checking CI status', but this doesn't
appear to be where the problem is coming from.
2024-09-14 12:40:30 +01:00
d4f16e6f5e
feat: should fetch repo on startup when not cloning
...
We already have a copy of the repo, so we don't clone, but we should
perform a `git fetch` to make sure it is up-to-date.
2024-09-14 12:19:24 +01:00
048111202a
feat: Remove branches when fetching from remote
2024-09-14 07:42:24 +01:00
6c60e3fb7a
refactor: reimplement git fetch using git
2024-09-13 18:55:21 +01:00
313d6d79c5
docs: mark tui as complete on roadmap
2024-09-13 09:48:38 +01:00
189d579d33
docs: Add missing port mapping parameter for running in docker
2024-09-13 08:59:38 +01:00
664e424d1a
fix(tui): make tui work from docker image
...
Add missing environment variable in Dockerfile and gave example command
to run via docker.
Closes kemitix/git-next#154
2024-09-12 19:50:29 +01:00
df6b96fbfd
fix(tui): alerts, such as WIP aren't being reset
2024-09-12 10:37:53 +01:00
566125f5c0
fix(test): tests requiring .git pass when not present
...
These are tests that assume they are running in a locally checked out
git repository. If that isn't the case, e.g. when using jujutsu, then
the tests should not fail. They will continue to run as normal under
CI conditions as those do use a locally checked out git repository.
2024-09-12 10:37:46 +01:00
ecd460cdfb
fix(tui): update ui when push next or main finishes
...
Removes the artificial pause while we wait for any CI to start before
checking the CI status.
Closes kemitix/git-next#160
2024-09-06 18:28:02 +01:00
d2e2d00fe1
fix(tui): don't set background for normal repo alias
...
This didn't look good when using a light coloured terminal.
2024-09-06 08:19:43 +01:00
e759e495fd
feat: optionally specify max commits between dev and main
...
The default is 25.
Closes kemitix/git-next#121
2024-09-06 08:10:10 +01:00
1f0b5e867c
fix(tui): alerts are cleared on next repo update
...
Closes kemitix/git-next#151
2024-09-04 06:35:41 +01:00
8ca7aad3c3
docs: Expand docker docmentation
2024-09-03 20:17:59 +01:00
5e0cf270dd
fix: shutdown properly on error
2024-09-03 20:08:12 +01:00
b4a4631a1d
fix: shutdown properly on file parse error
...
Closes kemitix/git-next#152
2024-09-03 06:53:12 +01:00
3c01a822fd
feat: improved error display when startup fails
2024-09-01 13:10:14 +01:00
4160b6d6ee
fix: use configured branch names in user notification
...
Remove near-duplicate to string implementations.
2024-09-01 08:38:08 +01:00
853b862f10
feat(tui): clean up alert display
2024-09-01 07:35:58 +01:00
ca70c03e8b
refactor: flatten nested blocks with early returns
2024-09-01 07:18:05 +01:00
f475095f4a
feat(tui): remove some borders to clean up appearance
2024-09-01 06:57:16 +01:00
c1564807f8
refactor: merge identical match branches
2024-08-31 22:32:09 +01:00
b24005c3fe
fix: remove unused imports
2024-08-31 22:31:49 +01:00
22ce2d431a
feat(tui): make progression of branches clearer
...
Using the branch names configured for the repo, indicate that the
branches move towards dev.
2024-08-31 19:59:16 +01:00
be41842dae
feat(tui): remove label from repo identity widget
2024-08-31 19:55:33 +01:00
9720fd01fc
feat(tui): hightlight repo alias in red when in alert
2024-08-31 19:32:56 +01:00
8550adf79e
fix(tui): remove logging from inside ui loop
2024-08-31 19:26:20 +01:00
2b09872131
feat(tui): branch names look more like 'pills'
...
Use round brackets
2024-08-31 19:20:50 +01:00
d2048d8a34
fix(tui): don't show HEAD in log
2024-08-31 18:20:24 +01:00
02609fdc11
fix(tui): improve colour contrast on light background
2024-08-31 18:19:05 +01:00
01f54d79ae
feat(tui): highlight branchs in log
2024-08-31 18:18:57 +01:00
1df982005e
chore(tui): add regex dependency
2024-08-31 14:17:28 +01:00
2abb36ad6c
fix(tui): remove unused import
2024-08-31 14:17:05 +01:00
576eaaf990
refactor(tui): introduce LogLine to wrap log formatting
2024-08-31 13:33:45 +01:00
97b685363a
refactor(tui): simplify repo identity widget
...
Adds blue to repo alias
2024-08-31 13:23:18 +01:00
a2940ec753
refactor: rename method as peel
...
Method on newtypes `unwrap` could be confused with the risky method of
the same name for Option and Result.
2024-08-31 11:18:09 +01:00
d5d313064a
fix(alert): typo in email message
2024-08-31 09:53:53 +01:00
f9e305afa4
feat(tui): hightlight status message in colour
2024-08-31 09:53:53 +01:00
4555b3ae09
fix(repo): avoid blocking threads when pausing
2024-08-31 09:53:53 +01:00
64da1d8a34
fix(test): give actix more time to process message
2024-08-31 09:53:53 +01:00
a650996ecd
fix(test): give actix more time to process message
2024-08-31 09:31:27 +01:00
eca556f976
feat(tui): use moving heart emoji as liveness indicator
...
The heart moves between two positions every second as long as the ui is
being updated.
2024-08-31 08:56:43 +01:00
a3dd82705f
fix(test): give actix more time to process message
2024-08-31 08:56:43 +01:00
7504ab5a2d
fix(tui): improve reliability of status updates
2024-08-31 07:03:58 +01:00
126d5d3ef5
fix: create git graph log to after doing a fetch
2024-08-30 09:12:57 +01:00
4f6669548c
feat(tui): add scrolling when overflow screen
2024-08-29 09:40:16 +01:00
52bd9cc30b
feat(tui): forge widgets only use required lines
...
Rather than filling all the space available, the ForgeWidget now only
uses as many lines as it needs to show its contents.
2024-08-28 22:25:31 +01:00
2959bdfad4
feat(tui): repo widgets only use required lines
...
Rather than filling all the space available, the RepoWidget now only
uses as many lines as it needs to show its contents.
2024-08-28 09:14:02 +01:00
f85cbce4c6
refactor(tui): child widget can provide constraint to container
2024-08-28 07:53:56 +01:00
4517fe62e4
feat(tui): move forge alias to left and add prefix
2024-08-27 19:15:36 +01:00