Commit Graph

109 Commits

Author SHA1 Message Date
flarum-bot
e731fb6189 Bundled output for commit 229a7affa5
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2023-08-02 17:04:35 +00:00
Sami Mazouz
229a7affa5
feat: Code Splitting (#3860)
* feat: configure webpack to allow splitting chunks
* feat: `JsDirectoryCompiler` and expose js assets URL
* chore: support es2020 dynamic importing
* feat: control which URL to fetch chunks from
* feat: allow showing async modals & split 'LogInModal'
* feat: split `SignUpModal`
* feat: allow rendering async pages & split `UserSecurityPage`
* fix: module might not be listed in chunk
* feat: lazy load user pages
* feat: track the chunk containing each module
* chore: lightly warn
* chore: split `Composer`
* feat: add common frontend (for split common chunks)
* fix: jsDoc typing imports should be ignored
* feat: split `PostStream` `ForgotPasswordModal` and `EditUserModal`
* fix: multiple inline async imports not picked up
* chore: new `common` frontend assets only needs a jsdir compiler
* feat: add revision hash to chunk import URL
* fix: nothing to split for `admin` frontend yet
* chore: cleanup registry API
* chore: throw an error in debug mode if attempting to import a non-loaded module
* feat: defer `extend` & `override` until after module registration
* fix: plugin not picking up on all module sources
* fix: must override default chunk loader function from webpack plugin
* feat: split tags `TagDiscussionModal` and `TagSelectionModal`
* fix: wrong export name
* feat: import chunked modules from external packages
* feat: extensions compatibility
* feat: Router frontend extender async component
* chore: clean JS output path (removes stale chunks)
* fix: common chunks also need flushing
* chore: flush backend stale chunks
* Apply fixes from StyleCI
* feat: loading alert when async page component is loading
* chore: `yarn format`
* chore: typings
* chore: remove exception
* Apply fixes from StyleCI
* chore(infra): bundlewatch
* chore(infra): bundlewatch split chunks
* feat: split text editor
* chore: tag typings
* chore: bundlewatch
* fix: windows paths
* fix: wrong planned ext import format
2023-08-02 17:57:57 +01:00
flarum-bot
9feb9dd4eb Bundled output for commit 016503d8c3
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2023-06-29 18:24:31 +00:00
flarum-bot
3757bde4fc Bundled output for commit f67ca5782a
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2023-06-07 10:45:14 +00:00
flarum-bot
c766881e1f Bundled output for commit e63e161be6
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2023-05-07 16:49:15 +00:00
David Wheatley
e63e161be6
chore: major frontend JS cleanup (#3609) 2023-05-07 17:40:18 +01:00
dependabot[bot]
13e655aca5
chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761)
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 07:45:00 +01:00
flarum-bot
0e238a9c82 Bundled output for commit 64fa35f2f3
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-11-25 17:25:24 +00:00
flarum-bot
c50c924242 Bundled output for commit 18bdd48835
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-11-16 10:30:13 +00:00
flarum-bot
ab56aefeaa Bundled output for commit 259db92b9a
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-11-10 23:30:18 +00:00
flarum-bot
f96f914576 Bundled output for commit f610f8aa67
Includes transpiled JS/TS.

[skip ci]
2022-07-30 06:22:07 +00:00
Sami Mazouz
27fb011bf5
chore: with yarn workspaces we only need a single yarn.lock (#3464)
* chore: yarn workspaces means we only need a single `yarn.lock`
* fix: add a `cache_dependency_path` workflow input
* fix: re-introduce `env.cache_dependency_path`
2022-06-19 19:01:21 +01:00
flarum-bot
cf8359daa4 Bundled output for commit 803f4cc792
Includes transpiled JS/TS.

[skip ci]
2022-04-03 17:30:09 +00:00
Alexander Skvortsov
524540cb41 chore: use yarn v1 in extensions/core 2022-03-11 19:12:11 -05:00
Alexander Skvortsov
f2910d8763 chore: add version to core/ext package.json
This is necessary for yarn workspaces to work.
2022-03-11 19:12:11 -05:00
Alexander Skvortsov
5fc0b4963a chore: flarum-cli audit infra --fix 2022-03-11 18:02:51 -05:00
flarum-bot
cd2bba15f3 Bundled output for commit 16d5cc11e3
Includes transpiled JS/TS.

[skip ci]
2022-03-10 00:54:56 +00:00
Sujit Kumar
16d5cc11e3 Add toolbar support for admin panel (#36) 2022-03-09 19:53:33 -05:00
Alexander Skvortsov
547cce9799 chore: update yarn lockfile 2022-01-27 16:42:07 -05:00
Alexander Skvortsov
77da783ff6 chore: flarum-cli audit infra --fix 2022-01-20 03:42:53 -05:00
flarum-bot
f67b5f3742 Bundled output for commit 3d864fd413
Includes transpiled JS/TS.

[skip ci]
2022-01-19 18:48:38 +00:00
David Wheatley
3d864fd413 chore: switch to Webpack 5 (#35) 2022-01-19 13:46:20 -05:00
flarum-bot
6946c9f2cb Bundled output for commit 1738957af7
Includes transpiled JS/TS.

[skip ci]
2021-12-30 21:05:08 +00:00
David Wheatley
1738957af7 feat: make markdown toolbar extensible (#33) 2021-12-30 22:02:25 +01:00
flarum-bot
e70bcdb8df Bundled output for commit ac83e9b667
Includes transpiled JS/TS.

[skip ci]
2021-12-29 20:43:48 +00:00
David Wheatley
ac83e9b667 fix: re-use of texteditor with markdown ext breaks markdown toolbar items (#34)
* fix: re-use of texteditor with markdown ext breaks markdown toolbar items

* code review
2021-12-29 20:41:19 +00:00
David Wheatley
8070247433 chore: add TS config 2021-12-29 13:44:24 +01:00
flarum-bot
6155046330 Bundled output for commit ad41c1f270
Includes transpiled JS/TS.

[skip ci]
2021-12-29 12:20:04 +00:00
David Wheatley
81b27ede28 feat: add prettier formatting 2021-12-29 13:17:02 +01:00
David Wheatley
252cd8455b chore: switch to Yarn 2021-12-29 13:11:42 +01:00
David Wheatley
28e636b5b0 chore: fully remove mdarea references; bump dependencies 2021-12-29 13:05:04 +01:00
flarum-bot
d840205161 Bundled output for commit 1adb9ca553
Includes transpiled JS/TS.

[skip ci]
2021-10-25 17:59:41 +00:00
David Wheatley
1adb9ca553 Revert "feat: encapsulate markdown buttons in itemlist"
This reverts commit d4aecfc9e3.
2021-10-25 19:58:28 +02:00
flarum-bot
11f5958dae Bundled output for commit d4aecfc9e3
Includes transpiled JS/TS.

[skip ci]
2021-10-25 17:57:50 +00:00
David Wheatley
d4aecfc9e3 feat: encapsulate markdown buttons in itemlist 2021-10-25 19:56:35 +02:00
Alexander Skvortsov
162784f611 Release v1.1.0 2021-10-11 21:12:06 -04:00
flarum-bot
48b29b90db Bundled output for commit 8111b5a56c
Includes transpiled JS/TS.

[skip ci]
2021-09-20 22:07:46 +00:00
David Sevilla Martin
8111b5a56c Prevent browser/system shortcuts from triggering when applying editor style from shortcut (#32) 2021-09-20 18:06:47 -04:00
flarum-bot
153138c770 Bundled output for commit e376358e64
Includes transpiled JS/TS.

[skip ci]
2021-09-20 14:20:01 +00:00
Hasan Özbey
e376358e64 Add spoiler and strikethrough buttons (#30)
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2021-09-20 10:18:48 -04:00
flarum-bot
4ad2bfc172 Bundled output for commit fd3300d7e5
Includes transpiled JS/TS.

[skip ci]
2021-05-31 13:28:37 +00:00
David Wheatley
fd3300d7e5 Add missing link button to Markdown toolbar (#29) 2021-05-31 14:26:44 +01:00
flarum-bot
5ccac5d607 Bundled output for commit 7f37e36241
Includes transpiled JS/TS.

[skip ci]
2021-05-18 05:20:53 +00:00
Alexander Skvortsov
7f37e36241 Avoid submitting forms with MarkdownButton
Add type="button" to the component so that it won't submit if placed inside a form.

Fixes https://github.com/flarum/core/issues/2875
2021-05-18 01:19:52 -04:00
flarum-bot
f9d97b60d5 Bundled output for commit f076329636
Includes transpiled JS/TS.

[skip ci]
2021-05-17 13:44:50 +00:00
David Wheatley
f076329636 Fix tooltip deprecation warning 2021-05-17 14:43:35 +01:00
David Wheatley
c9af88e721 Use namespaced JS imports 2021-05-17 14:43:21 +01:00
David Wheatley
43b6e0818b npm audit fix 2021-05-17 14:33:53 +01:00
flarum-bot
be62a33d23 Bundled output for commit 7ea9db7426 [skip ci] 2021-05-10 21:36:25 +00:00
Alexander Skvortsov
7ea9db7426 Editor Consolidation (#28)
- Move insertText to core
- Move styles and apply to core
- Simplify shortcut and button system
- Drop mdarea for now. In the future, we could implement the features we use (list continue, indent) in core.
- Remove admin dist (only admin setting was mdarea)
- Move inline style to css
2021-05-10 17:35:22 -04:00