You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/decisions/0010-upgrade-widget-extraction.md
+148Lines changed: 148 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,3 +36,151 @@ import upgradeWidget from './src/widgets/upgrade/src/index';
36
36
37
37
exportconstSIDEBAR_WIDGETS= [upgradeWidget];
38
38
```
39
+
40
+
---
41
+
42
+
## Migration & Backward Compatibility
43
+
44
+
The following section documents every renamed identifier, the backward-compatibility shims that were added, and what operators and plugin authors need to know. This inventory is structured so that a future OEP-21 DEPR filer can lift it directly.
|`pluginProps` keys `notificationCurrentState` / `setNotificationCurrentState` on the upgrade panel slot |`upgradeCurrentState` / `setUpgradeCurrentState`| PR #1899| TBD |
54
+
|`WIDGETS.NOTIFICATIONS` (value changed from `'NOTIFICATIONS'` to `'UPGRADE'`) |`ID` exported from `@src/widgets/upgrade/src`| PR #1899| TBD |
55
+
56
+
### Default-Behavior Change
57
+
58
+
`upgradeWidgetConfig` is currently included in `DEFAULT_WIDGETS`. A future release will remove it, after which operators who want the Upgrade panel visible must add it to `SIDEBAR_WIDGETS` in `env.config.jsx`. Target release: TBD.
-**Today:** You do not need to configure the Upgrade widget — it is included by default. If you add it to `SIDEBAR_WIDGETS`, the platform will ignore the duplicate and only show the default.
172
+
-**In the future:** You will need to add it to `SIDEBAR_WIDGETS` to keep the Upgrade panel visible.
173
+
- You can safely add `upgradeWidgetConfig` to `SIDEBAR_WIDGETS` now to future-proof your config. It will only take effect once the default is removed.
*~~`org.openedx.frontend.learning.notification_tray.v1`~~_(deprecated / aliased to `upgrade_panel.v1` — see [ADR 0010](../../docs/decisions/0010-upgrade-widget-extraction.md))_
0 commit comments