From 92b345039170feab7771783264b117ee3e37b96b Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Sat, 21 Mar 2026 09:33:55 +0100 Subject: [PATCH 1/3] docs: add documentation Accompanying PR to https://github.com/flarum/framework/pull/4474 --- docs/extend/update-2_0.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/extend/update-2_0.md b/docs/extend/update-2_0.md index 944546fac..066fc8790 100644 --- a/docs/extend/update-2_0.md +++ b/docs/extend/update-2_0.md @@ -161,6 +161,9 @@ There have been many changes to the core frontend codebase, including renamed or * The `avatar` and `icon` helpers have been refactored to new `Avatar` and `Icon` components. Which now allows you to extend them to modify their behavior. * The `Modal` component has been split into `Modal` and `FormModal`. The `Modal` component is now a simple modal that can be used for any content, while the `FormModal` component is a modal that is specifically designed for forms. * `app.extensionData` has been removed. You must now use the `Admin` extender to register settings, permissions and custom extension pages. +* `NicknameModal.prototype` has been moved to `ChangeNicknameModal.prototype` and now requires a `user` prop. +* `ChangePasswordModal.prototype` has been moved to `RequestPasswordResetModal.prototype` and now requires a `user` prop. +* The `settings` route has been removed. Settings are now accessible at `user.settings` (`/u/:username/settings`). Extensions which extend the settings page must refactor their implementation to use `this.user`instead of `app.session.user` for fetching and saving settings. ##### Notable * The admin sidebar navigation has been overhauled. Extension categories are now collapsible groups with count badges and category icons. Categories start collapsed by default, and searching auto-expands categories with matching results. The active extension's category is pre-expanded on page load. Extensions should declare their category in `composer.json` under `extra.flarum-extension.category`. See the [Extension Categories](./admin.md#extension-categories) section in the admin docs for the full list of available categories and how to register custom ones. From 11d77d4fd8507af9231d87f0c68d0b9d29228202 Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Sat, 21 Mar 2026 09:36:26 +0100 Subject: [PATCH 2/3] style: whitespacing --- docs/extend/update-2_0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extend/update-2_0.md b/docs/extend/update-2_0.md index 066fc8790..f54fd185d 100644 --- a/docs/extend/update-2_0.md +++ b/docs/extend/update-2_0.md @@ -163,7 +163,7 @@ There have been many changes to the core frontend codebase, including renamed or * `app.extensionData` has been removed. You must now use the `Admin` extender to register settings, permissions and custom extension pages. * `NicknameModal.prototype` has been moved to `ChangeNicknameModal.prototype` and now requires a `user` prop. * `ChangePasswordModal.prototype` has been moved to `RequestPasswordResetModal.prototype` and now requires a `user` prop. -* The `settings` route has been removed. Settings are now accessible at `user.settings` (`/u/:username/settings`). Extensions which extend the settings page must refactor their implementation to use `this.user`instead of `app.session.user` for fetching and saving settings. +* The `settings` route has been removed. Settings are now accessible at `user.settings` (`/u/:username/settings`). Extensions which extend the settings page must refactor their implementation to use `this.user` instead of `app.session.user` for fetching and saving settings. ##### Notable * The admin sidebar navigation has been overhauled. Extension categories are now collapsible groups with count badges and category icons. Categories start collapsed by default, and searching auto-expands categories with matching results. The active extension's category is pre-expanded on page load. Extensions should declare their category in `composer.json` under `extra.flarum-extension.category`. See the [Extension Categories](./admin.md#extension-categories) section in the admin docs for the full list of available categories and how to register custom ones. From 47aefad0acda87a9dc041da575b47229b0a4715e Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Sat, 21 Mar 2026 09:39:28 +0100 Subject: [PATCH 3/3] chore: change example --- docs/extend/routes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extend/routes.md b/docs/extend/routes.md index 853266187..f1081a352 100644 --- a/docs/extend/routes.md +++ b/docs/extend/routes.md @@ -252,7 +252,7 @@ import Link from 'flarum/common/components/Link'; Hello World! // You'll frequently use Link with generated routes: -Hello World! +Hello World! // Link can even generate external links with the external attr: Hello World!