Skip to content

Add PageUp/PageDown support for resource description view#95

Merged
huseyinbabal merged 1 commit intomasterfrom
feature/pageup-down-describe-view
Jan 16, 2026
Merged

Add PageUp/PageDown support for resource description view#95
huseyinbabal merged 1 commit intomasterfrom
feature/pageup-down-describe-view

Conversation

@huseyinbabal
Copy link
Owner

@huseyinbabal huseyinbabal commented Jan 16, 2026

Summary

  • Add PageUp/PageDown and Ctrl+b/Ctrl+f key bindings for faster scrolling when viewing resource details
  • Fix scroll position clamping to prevent over-scrolling past content bounds
  • Update help screen with new Details View section

Changes

  • src/event.rs: Add PageUp, PageDown, Ctrl+b, Ctrl+f handlers in describe mode with proper scroll clamping
  • src/app.rs: Add describe_scroll_down() and describe_scroll_up() methods with max scroll bounds
  • src/ui/help.rs: Add "Details View" section documenting all available scroll keybindings
  • src/ui/mod.rs: Remove broken scrollbar from describe view, fix scrollbar in log tail view

Key Bindings (Describe Mode)

Key Action
j / Scroll down one line
k / Scroll up one line
PageDown / Ctrl+f Scroll down one page (20 lines)
PageUp / Ctrl+b Scroll up one page (20 lines)
g / Home Go to top
G / End Go to bottom

Closes #93

- Add PageUp/PageDown and Ctrl+b/Ctrl+f key bindings for faster scrolling in describe mode
- Add proper scroll clamping to prevent scroll position from exceeding content bounds
- Add describe_scroll_down/up methods with max scroll clamping
- Remove broken scrollbar from describe view
- Update help screen with Details View section documenting all scroll keybindings
- Fix scrollbar calculation in log tail view

Closes #93
@huseyinbabal huseyinbabal force-pushed the feature/pageup-down-describe-view branch from aa75cdc to 86e07d6 Compare January 16, 2026 12:08
@huseyinbabal huseyinbabal merged commit 3bc9ab3 into master Jan 16, 2026
7 checks passed
@huseyinbabal huseyinbabal deleted the feature/pageup-down-describe-view branch January 16, 2026 12:22
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

Successfully merging this pull request may close these issues.

PageUp/Down on resource description

1 participant