clarkwinkelmann/flarum-ext-composer-page
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
clarkwinkelmann/flarum-ext-composer-page 适用场景与选型建议
clarkwinkelmann/flarum-ext-composer-page 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 4.72k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2022 年 09 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「composer」 「flarum」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 clarkwinkelmann/flarum-ext-composer-page 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 clarkwinkelmann/flarum-ext-composer-page 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 clarkwinkelmann/flarum-ext-composer-page 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Adds more BBCode
Output of discussions lists in form of cards
This composer plugin enables installation of GravityForms WordPress plugin and its addons.
Allow users to log in with QQ
Simple ASCII output of array data
统计信息
- 总下载量: 4.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-08