mk-5 / fjira

The golang fuzzy-find cli jira interface 🚀
GNU Affero General Public License v3.0
131 stars 3 forks source link

Boards don't horizontally scroll back to the left #91

Closed trincasidra closed 9 months ago

trincasidra commented 9 months ago

Desktop:

Describe the bug When a board has enough columns so that they occupy more space than the available width, the right-most visible column correctly hides midway through. However, when you move to that column, the first column disappears (ie. columns are left-aligned on the first visible column, instead of right-aligned on the last visible column).

After this, when you move back to the left-most column which is now hidden, the board won't scroll to the left. You can see which issue is highlighted since it shows on the top, and you can navigate up/down, but the column just won't show.

To Reproduce Steps to reproduce the behavior:

  1. Launch the terminal and make sure its window is narrow enough to overflow step 3 board horizontally.
  2. Run fjira and open a project.
  3. Open a project dashboard with multiple columns (in my case, 5).
  4. Hit the right-arrow key to navigate to the right-most column.
  5. Hit the left-arrow key to navigate back to the first column.

Expected behavior The left-most column is visible again after moving the pointer back to it and highlighting any of its issues. Additionally, I would also expect the columns to be right-aligned, with the left-most column to just get partially hidden when moving to the right-most one if there is available space, just like how the right-most column is partially hidden when first opening the board.

Additional notes Before moving: 2023-12-18_10-36 After moving right (note that even if blurred, the selected issue is one of the first column): 2023-12-18_10-36_1

trincasidra commented 9 months ago

Reviewing the releases, I noticed that my fjira version is quite outdated, and I believe the specific issue may have been fixed on the latest release thanks to d5d3f69 (fix: paginate boards).

If that is so, then my actual issue would be AUR having a very outdated version. In which case, I'll see what I can do on that end.

trincasidra commented 9 months ago

Precisely, I've built and installed the latest release and it did work. I've added a comment on the AUR to see if it gets updated there.