You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Description
This PR introduces an initial implementation of an accordion-like effect for displaying file paths in the tab bar. The goal is to improve usability when file paths are too long to fit in the available space.
**Current (Draft) Behavior:**
- The accordion effect is always shown, regardless of whether the file path is truncated.
**Expected Behavior:**
- The accordion effect should only be triggered when a file path is truncated due to limited space in the scroll view.
- If the file path fits within the visible area, the full path should be shown without any animation or effect.
**Request for Feedback:**
- I would appreciate guidance on the best way to detect when a file path is actually truncated, so the effect only triggers in those cases.
- Feedback on the user experience and any edge cases to consider is also welcome.
---
### Related Issues
* Related to #241
---
### Checklist
- [x] I read and understood the [contributing guide](https://github.com/CodeEditApp/CodeEdit/blob/main/CONTRIBUTING.md) as well as the [code of conduct](https://github.com/CodeEditApp/CodeEdit/blob/main/CODE_OF_CONDUCT.md)
- [x] The issues this PR addresses are related to each other
- [x] My changes generate no new warnings
- [x] My code builds and runs on my machine
- [x] My changes are all related to the related issue above
- [x] I documented my code
---
### Screenshots
https://github.com/user-attachments/assets/7ed81d9a-b4ea-4b4b-b97d-b68863e00e87
0 commit comments