Commit 00ad072
committed
refactor: remove dead MessageMenu component and finish useAudioPlayer rename
MessageMenu was left in the v9 public surface even though the overlay path
no longer renders it; the source file carried a `// TODO: V9: Either remove
this or refactor it` note. Delete the component, its DEFAULT_COMPONENTS
entry, and its barrel re-export. The surrounding MessageMenu folder stays —
MessageActionList, MessageActionListItem, MessageReactionPicker, and
MessageUserReactions are the live replacements and remain overridable via
WithComponents.
Also finish the useAudioPlayerControl -> useAudioPlayer rename. The
byte-identical `useAudioPlayer.ts` was already being imported directly by
the internal callers (AudioAttachment, AudioRecordingPreview); only the
barrel still pointed at the old name. Flip the barrel and delete the dead
duplicate file.1 parent 607120f commit 00ad072
File tree
5 files changed
+1
-170
lines changed- package/src
- components
- MessageMenu
- contexts/componentsContext
- hooks
5 files changed
+1
-170
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | 166 | | |
168 | 167 | | |
169 | 168 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | 126 | | |
128 | 127 | | |
129 | 128 | | |
| |||
226 | 225 | | |
227 | 226 | | |
228 | 227 | | |
229 | | - | |
230 | 228 | | |
231 | 229 | | |
232 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
This file was deleted.
0 commit comments