Skip to content

Fix sticky section headers on the Info Articles list#384

Open
vanjmali wants to merge 1 commit into
eurofurence:mainfrom
vanjmali:fix/infoknowledge-sticky-cards
Open

Fix sticky section headers on the Info Articles list#384
vanjmali wants to merge 1 commit into
eurofurence:mainfrom
vanjmali:fix/infoknowledge-sticky-cards

Conversation

@vanjmali

@vanjmali vanjmali commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Fixes mispositioned sticky headers in the Info Articles page by wrapping it via flex-1.

Summary by CodeRabbit

  • Bug Fixes
    • Improved the Knowledge screen layout so section headers stick correctly beneath the top header while scrolling.
    • Updated the screen structure to better support the search and content list display.

@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: dd788c14-77e9-4374-93b4-541c1b331e61

📥 Commits

Reviewing files that changed from the base of the PR and between 0d0bdea and 722f007.

📒 Files selected for processing (1)
  • src/app/knowledge/index.tsx

📝 Walkthrough

Walkthrough

The Knowledge screen's layout was adjusted by wrapping KbSectionedList in a View with flex-1 className, replacing its previous direct placement as a child of the absolute-fill container. A comment was added explaining this ensures sticky sections work correctly under the header.

Changes

Knowledge Screen Layout

Layer / File(s) Summary
Wrap KbSectionedList in flex-1 View
src/app/knowledge/index.tsx
KbSectionedList is now nested inside a View with className='flex-1' instead of being a direct child of the absolute-fill container, with a comment explaining the change supports sticky section behavior.

Estimated code review effort: 1 (Trivial) | ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: fixing sticky section headers on the Info Articles list.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant