feat(web): enhance sidebar thread interaction with new row button and context menu options#1172
feat(web): enhance sidebar thread interaction with new row button and context menu options#1172SunkenInTime wants to merge 2 commits intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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. Comment Tip CodeRabbit can suggest fixes for GitHub Check annotations.Configure the |
What Changed
Why
Currently whenever you minimize a folder that you're currently viewing a thread within, the thread isn't visible in the side bar. So the change is to persist the current thread right below the minimized folder, which then disappears once navigated away from
UI Changes
Before:
https://l7y6qjyp5m.ufs.sh/f/usun6XPoM0UCUsMcBu84th6DKGW5HSvxpy8cINPrY4sV0bq9
After:
https://l7y6qjyp5m.ufs.sh/f/usun6XPoM0UCUnh8xr4th6DKGW5HSvxpy8cINPrY4sV0bq9l
Checklist
Note
Auto-expand and center active thread in sidebar thread list
renderThreadRowButton,renderThreadListItem,renderThreadListToggleButton) in Sidebar.tsx.data-thread-itemattribute moves from the list item container to the inner clickable button element.Macroscope summarized 46aa3d3.