Skip to content

fix: Fix how the task menu panel covers the knowledge filter panel#979

Merged
lucaseduoli merged 4 commits into
mainfrom
panels-fix
Feb 19, 2026
Merged

fix: Fix how the task menu panel covers the knowledge filter panel#979
lucaseduoli merged 4 commits into
mainfrom
panels-fix

Conversation

@mfortman11

Copy link
Copy Markdown
Contributor

Previously if you have the Tasks panel open and click to create a knowledge filter it is hidden behind the tasks panel

Fixes #799

This pull request refactors the layout and context logic for the right-side panels (task notifications and knowledge filter) in the frontend. The main improvement is consolidating the notifications and filter panels into a single "right panel" area, ensuring only one is open at a time, and adding animated transitions for a smoother user experience. Context providers are updated to support this new logic.

Layout and UI improvements:

  • Consolidated the notifications and knowledge filter panels into a single right-panel area in the CSS grid, replacing the previous separate notifications and filters areas. Only one panel can be open at a time, and the grid and variable names are updated accordingly (frontend/app/globals.css). [1] [2]
  • Updated the LayoutWrapper component to render the right panel with animated transitions using framer-motion, and to ensure only one of the panels (notifications or filter) is visible at a time (frontend/components/layout-wrapper.tsx). [1] [2]

Context logic updates:

  • Added closeMenu and closePanelOnly methods to the task and knowledge filter contexts, respectively, and updated their usage to enforce the rule that only one right panel can be open at a time (frontend/contexts/task-context.tsx, frontend/contexts/knowledge-filter-context.tsx). [1] [2] [3] [4] [5]

@lucaseduoli lucaseduoli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when switching from tasks to knowledge filter and vice versa, the animation is triggered, showing a black screen underneath. Could you make it so that, when opening the tasks with the knowledge filter opened, it closes the knowledge filter before opening tasks (or removing the animation on that case)?

@lucaseduoli

Copy link
Copy Markdown
Collaborator

I believe the best bet would be using the sidebar from shadcn

@lucaseduoli lucaseduoli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@lucaseduoli lucaseduoli merged commit bddb4c3 into main Feb 19, 2026
3 checks passed
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.

[Bug]: Tasks pane hides Knowledge Filter pane

2 participants