Commit 7f8802a
feat(boxai-sidebar): Add logic to render remote sidebar from prop (#4106)
* feat: add and use remote sidebar component in sidebar props
* feat(boxai-sidebar): add unit test
* feat(boxai-sidebar): address some comments
* feat(boxai-sidebar): fix failed test
* fix(boxai-sidebar): pass itemsize in prop as optional
* feat(boxai-sidebar): refactor code based on comments
* feat(boxai-sidebar): fix unit tests and remove css import
* feat(boxai-sidebar): replace remoteModule prop with renderRemoteModule for improved flexibility
* fix(boxai-sidebar): simplify return statement for renderRemoteModule
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>1 parent 02cb22e commit 7f8802a
File tree
2 files changed
+26
-1
lines changed- src/elements/content-sidebar
- __tests__
2 files changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
133 | 138 | | |
134 | 139 | | |
135 | 140 | | |
| |||
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
350 | 370 | | |
351 | 371 | | |
352 | 372 | | |
| |||
0 commit comments