Skip to content

Tags: idursun/jjui

Tags

v0.10.6

Toggle v0.10.6's commit message

Verified

This commit was signed with the committer’s verified signature.
idursun ibrahim dursun
fix: hide stale cursor after returning from exec commands

v0.10.5

Toggle v0.10.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(ui): add ctrl-n/p list navigation aliases (#667)

Co-authored-by: Vivaldi <aim@outlook.sg>

v0.10.4

Toggle v0.10.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(bookmarks): match bookmark names exactly (#650)

Updated to use `exact:"string"` to match strings exactly equal to string.

details see [Revset: String Pattern - Jujutsu docs](https://docs.jj-vcs.dev/latest/revsets/#string-patterns)

Fixes #632

v0.10.3

Toggle v0.10.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(lua): install Lua meta types (#617)

* feat(lua): generate types.lua meta file

* feat(lua): create .luarc.json file if doesn't exist

* refactor(lua): simplify Lua type generation

v0.10.2

Toggle v0.10.2's commit message

Verified

This commit was signed with the committer’s verified signature.
idursun ibrahim dursun
fix(rebase): use source prefix for insert between

fixes #598

v0.10.1

Toggle v0.10.1's commit message

Verified

This commit was signed with the committer’s verified signature.
idursun ibrahim dursun
fix(startup): cache terminal background detection

v0.10.0

Toggle v0.10.0's commit message

Verified

This commit was signed with the committer’s verified signature.
idursun ibrahim dursun
refactor(render): remove display context inspection api

v0.9.12

Toggle v0.9.12's commit message

Verified

This commit was signed with the committer’s verified signature.
idursun ibrahim dursun
fix: update list rendering in git, bookmarks and custom commands modals

Previous rendering code relied on rendering full string (including the bg style) over the modal window box but the new system is only rendering to the relevant areas while leaving some gaps. Fixed using AddFill for the whole area and calling AddDraw on skip lines.

#535

v0.9.11

Toggle v0.9.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(preview): update preview window after squash operation (#518)

Root cause: startSquash() called SetCursor() to move to the parent revision
but never emitted a SelectionChangedMsg. The preview panel only refreshes
when it receives that message, so it stayed stale until the user pressed
j/k which does emit the message via updateSelection().

Fix: batch updateSelection() alongside the operation init command in
startSquash(), matching the pattern used by all other cursor-moving
operations.

Closes #516

v0.9.10

Toggle v0.9.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ui,preview: fix preview pane ctrl-u/d scrolling (#472)

Commit 8481b92 broke ctrl-u/d scrolling in the preview pane, see below
code:
```
if common.IsInputMessage(msg) {
    if m.oplog != nil {
        cmds = append(cmds, m.oplog.Update(msg))
    } else {
        cmds = append(cmds, m.revisions.Update(msg))
    }
    return tea.Batch(cmds...)
}
```
This causes unhandled key messages to be routed only to oplog or
revisions, and then returns early, so they never reach the preview
model's Update() call which happens later in the function.


This fix groups preview related commands and make sure they are always
handled.

Also, added a YOffset() method to internal/ui/preview/preview.go to
expose the viewport's Y offset for testing purposes.