Commit Graph

109 Commits

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

[skip ci]
2023-08-02 17:04:35 +00:00
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
9feb9dd4eb Bundled output for commit 016503d8c37eab107b36830b6fbcb5468bcb1226
Includes transpiled JS/TS, and Typescript declaration files (typings).

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

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

[skip ci]
2023-05-07 16:49:15 +00:00
e63e161be6 chore: major frontend JS cleanup (#3609) 2023-05-07 17:40:18 +01:00
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
0e238a9c82 Bundled output for commit 64fa35f2f350f98d213b87da6fcd72d465823b18
Includes transpiled JS/TS, and Typescript declaration files (typings).

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

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

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

[skip ci]
2022-07-30 06:22:07 +00:00
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
cf8359daa4 Bundled output for commit 803f4cc792a1cd73e6fdb829d8f20e9ccd032722
Includes transpiled JS/TS.

[skip ci]
2022-04-03 17:30:09 +00:00
524540cb41 chore: use yarn v1 in extensions/core 2022-03-11 19:12:11 -05:00
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
5fc0b4963a chore: flarum-cli audit infra --fix 2022-03-11 18:02:51 -05:00
cd2bba15f3 Bundled output for commit 16d5cc11e3aee5c94aeed877987cdb199a2a0d2c
Includes transpiled JS/TS.

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

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

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

[skip ci]
2021-12-29 20:43:48 +00:00
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
8070247433 chore: add TS config 2021-12-29 13:44:24 +01:00
6155046330 Bundled output for commit ad41c1f27089bd00f54df7d8b59fcae42ee1cd1b
Includes transpiled JS/TS.

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

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

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

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

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

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

[skip ci]
2021-05-18 05:20:53 +00:00
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
f9d97b60d5 Bundled output for commit f076329636819d45a4e2533c873f589124f8d154
Includes transpiled JS/TS.

[skip ci]
2021-05-17 13:44:50 +00:00
f076329636 Fix tooltip deprecation warning 2021-05-17 14:43:35 +01:00
c9af88e721 Use namespaced JS imports 2021-05-17 14:43:21 +01:00
43b6e0818b npm audit fix 2021-05-17 14:33:53 +01:00
be62a33d23 Bundled output for commit 7ea9db7426b37cf78aa94c68d5fa9e128dc0e67d [skip ci] 2021-05-10 21:36:25 +00:00
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