
AdminPage
abstract component into Typescript (#2996)
* Rewrite AdminPage.js into Typescript * Export more interfaces and types * Use Stream type * Update js/src/admin/components/AdminPage.tsx Co-authored-by: Sami Mazouz <sychocouldy@gmail.com> * Move `HTMLInputTypes` type to global declarations * Add missing app import * Export options interface * Remove unused method * Add random element ID generator * Add attrs for Page component Full rewrite needed later * Provide correct attrs * Add missing a11y attributes for help text and labels * Update TSDoc comment * Allow Children to be passed for label/help text * Extract setting types to arrays * Make Page class abstract; fix incorrect Component generic call * Mark AdminPage as abstract * Mark `content` as abstract * Revert "Move `HTMLInputTypes` type to global declarations" This reverts commit c900cb3f6d50c7e315aeb9a97ec966c5fe2134d1. * Restore TSDoc on HTMLInputTypes type * Fix typo Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
About Flarum
Flarum is a delightfully simple discussion platform for your website. It's fast and easy to use, with all the features you need to run a successful community. It is designed to be:
-
Fast and simple. No clutter, no bloat, no complex dependencies. Flarum is built with PHP so it’s quick and easy to deploy. The interface is powered by Mithril, a performant JavaScript framework with a tiny footprint.
-
Beautiful and responsive. This is forum software for humans. Flarum is carefully designed to be consistent and intuitive across platforms, out-of-the-box.
-
Powerful and extensible. Customize, extend, and integrate Flarum to suit your community. Flarum’s architecture is amazingly flexible, with a powerful Extension API.
Installation
This repository contains Flarum's core code. If you want to set up a forum, visit the Flarum skeleton repository.
Contributing
Thank you for considering contributing to Flarum! Please read the Contributing guide to learn how you can help.
Security Vulnerabilities
If you discover a security vulnerability within Flarum, please send an e-mail to security@flarum.org. All security vulnerabilities will be promptly addressed. More details can be found in our security policy.
License
Flarum is open-source software licensed under the MIT License.