mirror of
https://github.com/flarum/framework.git
synced 2025-01-23 05:56:15 +08:00
5e281136f6
* feat: add tag search Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * feat(mentions): tag mentions backend Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * feat: tag mention design Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * refactor: revamp mentions autocomplete Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * fix: unauthorized mention of hidden groups Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * feat(mentions,tags): use hash format for tag mentions Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * refactor: frontend mention format API with mentionable models Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * feat: implement tag search on the frontend Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * fix: tag color contrast Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * fix: tag suggestions styling Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * test: works with disabled tags extension Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * chore: move `MentionFormats` to `formats` Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * fix: mentions preview bad styling Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * docs: further migration location clarification Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * Apply fixes from StyleCI * fix: bad test namespace Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * fix: phpstan Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * fix: conditionally add tag related extenders Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * Apply fixes from StyleCI * feat(phpstan): evaluate conditional extenders Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * feat: use mithril routing for tag mentions Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> --------- Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> Co-authored-by: StyleCI Bot <bot@styleci.io>
22 lines
987 B
JSON
22 lines
987 B
JSON
{
|
|
// Use Flarum's tsconfig as a starting point
|
|
"extends": "flarum-tsconfig",
|
|
// This will match all .ts, .tsx, .d.ts, .js, .jsx files in your `src` folder
|
|
// and also tells your Typescript server to read core's global typings for
|
|
// access to `dayjs` and `$` in the global namespace.
|
|
"include": ["src/**/*", "../../../framework/core/js/dist-typings/@types/**/*", "@types/**/*"],
|
|
"compilerOptions": {
|
|
// This will output typings to `dist-typings`
|
|
"declarationDir": "./dist-typings",
|
|
"paths": {
|
|
"flarum/*": ["../../../framework/core/js/dist-typings/*"],
|
|
"flarum/tags/*": ["../../tags/js/dist-typings/*"],
|
|
// TODO: remove after export registry system implemented
|
|
// Without this, the old-style `@flarum/core` import is resolved to
|
|
// source code in flarum/core instead of the dist typings.
|
|
// This causes an inaccurate "duplicate export" error.
|
|
"@flarum/core/*": ["../../../framework/core/js/dist-typings/*"],
|
|
}
|
|
}
|
|
}
|