clarkwinkelmann/flarum-ext-composer-page
最新稳定版本:1.1.1
Composer 安装命令:
composer require clarkwinkelmann/flarum-ext-composer-page
包简介
Dedicated discussion composer page for Flarum
关键字:
README 文档
README
This extension replaces the floating discussion composer with a complete dedicated page.
This improves the user experience on mobile and allows the composer to display infinitely more fields without the need for modals and dropdowns.
Optionally, you can choose for the page to only be used for select tags. This feature might not work with all extensions, and the data entered prior to changing the tag might be lost.
Extensions whose data is confirmed to be preserved when the composer switches from floating to page:
- Native fields (title and content)
- Flarum Tags
- KILOWHAT Formulaire
- Flamarkt Taxonomies (since version 0.1.5 of Taxonomies)
- FriendsOfFlarum Polls (since version 1.2.0 of Polls)
- FriendsOfFlarum Mason (since version 1.2.0 of Mason)
Composer switch not supported:
- FriendsOfFlarum Byobu - Cannot switch tags, so irrelevant. There is a setting in the admin panel to choose whether Byobu will use the composer page
Extensions completely incompatible:
- FriendsOfFlarum Upload - App crashes when trying to write discussion - PR opened
All other extensions should be compatible when the feature is used globally for any tag.
Using the "Uniform discussion composer layout" option in KILOWHAT Formulaire makes the page even more complete by adding labels and horizontal layout styling to the full composer.
The composer page is also perma-linkable. Use https://<forum>/compose or https://<forum>/t/<tag slug>/compose to link directly to the composer.
Additionally, you can include a ?title= and/or ?content= query string to pre-fill the form.
When the composer page is enabled globally, the start discussion button is replaced with a link, so it's possible to open it in a new tab using the browser controls.
When you quit the composer page without submitting, it becomes minimized just like the native composer. Clicking the minimized composer re-opens the composer page.
When the composer page is active, the start discussion button is replaced with a button to quit or resume the composer.
On mobile, there are 2 different links to submit the form, one is the original paper plane icon from Flarum in the top right. Another button is added at the very bottom of the page to improve the user experience.
Installation
composer require clarkwinkelmann/flarum-ext-composer-page
Support
This extension is under active maintenance.
Bugfixes and compatibility updates will be published for free as time allows.
You can contact me to sponsor additional features.
Support is offered on a "best effort" basis through the Flarum community thread.
Links
统计信息
- 总下载量: 4.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-08