While looking into https://linear.app/comm/issue/ENG-530/inline-sidebar-re-style for web, I noticed that code in inline sidebar is exactly the same in native/ moving this code to a shared hook seemed like the logical choice moving forward with the feature. Additionally, the native design is very close to the web design so I should update them both at the same time to keep consistency.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/hooks/inline-sidebar-text.react.js | ||
---|---|---|
32 ↗ | (On Diff #12122) | I feel like this should be in a useMemo. I'm going to make a new diff since this diff is purely about moving code around. |
lib/hooks/inline-sidebar-text.react.js | ||
---|---|---|
32 ↗ | (On Diff #12122) |
Comment Actions
Thanks for factoring this out! I didn't look too closely at the red/green... assuming that this is just a simple move