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
- Branch
- inline-side-bar-ENG-530
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
lib/hooks/inline-sidebar-text.react.js | ||
---|---|---|
32 | 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 |
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