gitea/web_src/js/features/comp
wxiaoguang 3f9c3e7bc3
Refactor render system (#32492)
There were too many patches to the Render system, it's really difficult
to make further improvements.

This PR clears the legacy problems and fix TODOs.

1. Rename `RenderContext.Type` to `RenderContext.MarkupType` to clarify
its usage.
2. Use `ContentMode` to replace `meta["mode"]` and `IsWiki`, to clarify
the rendering behaviors.
3. Use "wiki" mode instead of "mode=gfm + wiki=true"
4. Merge `renderByType` and `renderByFile`
5. Add more comments

----

The problem of "mode=document": in many cases it is not set, so many
non-comment places use comment's hard line break incorrectly
2024-11-14 05:02:11 +00:00
..
ComboMarkdownEditor.ts Refactor render system (#32492) 2024-11-14 05:02:11 +00:00
ConfirmModal.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
EasyMDEToolbarActions.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
EditorMarkdown.test.ts Add some handy markdown editor features (#32400) 2024-11-04 10:14:36 +00:00
EditorMarkdown.ts Add some handy markdown editor features (#32400) 2024-11-04 10:14:36 +00:00
EditorUpload.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
EditorUpload.ts Add some handy markdown editor features (#32400) 2024-11-04 10:14:36 +00:00
LabelEdit.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
QuickSubmit.ts Correctly query the primary button in a form (#32438) 2024-11-07 04:21:53 +08:00
ReactionSelector.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
SearchUserBox.ts Add `DISABLE_ORGANIZATIONS_PAGE` and `DISABLE_CODE_PAGE` settings for explore pages and fix an issue related to user search (#32288) 2024-10-22 13:09:19 +08:00
TextExpander.ts Fix suggestions for issues (#32380) 2024-10-30 20:06:36 +00:00
WebHookEditor.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00