Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using v to view an issue not viewable until TUI is exited #810

Closed
paw-lu opened this issue Dec 30, 2024 · 2 comments
Closed

Using v to view an issue not viewable until TUI is exited #810

paw-lu opened this issue Dec 30, 2024 · 2 comments

Comments

@paw-lu
Copy link

paw-lu commented Dec 30, 2024

Describe the bug

When I try to view info about an issue by pressing v, I get a instant flash of the issue description that immediately disappears from the screen. Once i quit the TUI, the info for each issue I pressed v on is visible—it was printed to the "underlying" terminal!

Please provide following details

  1. JiraCLI Version:
    ❯ jira version
    (Version="1.5.2", GitCommit="34221786aaa12d5bc66039d164b6d9587b0799c7", CommitDate="2024-09-20T08:29:56+00:00", GoVersion="go1.23.1", Compiler="gc", Platform="darwin/arm64")
    
  2. Are you using Jira cloud or on-premise jira server?
    ❯ jira serverinfo
    SERVER INFO
    -----------
    
    Version:         1001.0.0-SNAPSHOT
    Build Number:    100277
    Deployment Type: Cloud
    Default Locale:  en_US
    
  3. What operating system are you using? Also mention version.
    macOS Sonoma 14.7
    
  4. What terminal are you using? Also mention version.
    iTerm 2 Build 3.5.10
    

To Reproduce

  1. I view a list of issues, for example by running jira issue list
  2. I scroll down to issue i want to view
  3. I press v to view more information on the issue
  4. I get a message saying Processing. Please wait...
  5. When the message dismisses itself, I get a instant flash of the issue description that immediately disappears from the screen
  6. Repeating the process for different issues gives similar results
  7. Once i quit the TUI, the info for each issue I pressed v on is visible—it was printed to the terminal!

Expected behavior

Looking at the gif in the documentation, I expect to be able to view the issue details in the TUI—without having to exit to the underlying terminal.

Screenshots

Kapture.2024-12-30.at.14.37.32.mp4

Additional context


sidebar: really happy you made and shared this tool, really cool work here!

@paw-lu paw-lu changed the title Using v to view and issue not viewable until TUI is exited Using v to view an issue not viewable until TUI is exited Jan 7, 2025
@christyogi
Copy link

Same here on Windows Powershell. This looks like the same issue with a workaround on Linux: #455 but I don"t know what the equivalent for other platforms is

@paw-lu
Copy link
Author

paw-lu commented Jan 24, 2025

closing issue. this was caused by using F option. solved this by disabling it for jira cli via

export JIRA_PAGER="less -+F"

@paw-lu paw-lu closed this as completed Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants