Commit aa2a0c1
authored
DEV: Silence
Wraps the post widget lookup in `withSilencedDeprecations` to suppress
noisy `post-stream-widget-overrides` warnings when the checklist plugin
accesses the legacy post stream widget.
The deprecation warning was being triggered when incompatible extensions
forced the use of the legacy widget post-stream, even though the code
already properly handles the Glimmer Post Stream case. This change
maintains the existing functionality while eliminating unnecessary
console noise.post-stream-widget-overrides in the checklist plugin (#33743)1 parent 8fea4ea commit aa2a0c1
File tree
1 file changed
+10
-5
lines changed- plugins/checklist/assets/javascripts/discourse/initializers
1 file changed
+10
-5
lines changedLines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 62 | | |
67 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| |||
0 commit comments