forgejo_backup/web_src/js/features/comp
Danko Aleksejevs ae00a1d61b fix: Remove 1ms delay before inserting list prefix, fix race condition in tests (#8207)
Fixed the race condition that made the existing E2E tests fail. There was a 1ms delay between inserting a newline and the line prefix to facilitate creation of two "undo" entries (so "ctrl+z" basically undoes the list continuation, but not the newline). Thus scripted text changes may have happened out of order.

This only ever reliably worked in Firefox and seems to still work there even without a timeout.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8207
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Danko Aleksejevs <danko@very.lv>
Co-committed-by: Danko Aleksejevs <danko@very.lv>
2025-06-18 12:58:31 +02:00
..
ComboMarkdownEditor.js fix: Remove 1ms delay before inserting list prefix, fix race condition in tests (#8207) 2025-06-18 12:58:31 +02:00
ConfirmModal.js Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
EasyMDEToolbarActions.js s/Gitea/Forgejo in various log messages and comments 2024-04-21 21:26:15 +05:00
LabelEdit.js chore: enable no-jquery/no-trigger 2025-04-01 04:43:06 +02:00
Paste.js Improve textarea paste (part of gitea#31948) 2024-09-09 10:04:50 +02:00
QuickSubmit.js Remove jQuery from the "quick submit" handler (#29200) 2024-02-17 23:24:31 +01:00
ReactionSelector.js chore: enable no-jquery/no-sizzle 2025-04-01 03:58:09 +02:00
SearchUserBox.js Add DISABLE_ORGANIZATIONS_PAGE and DISABLE_CODE_PAGE settings for explore pages and fix an issue related to user search (#32288) 2024-10-27 11:27:40 +01:00
TextExpander.js Update JS dependencies, remove space after emoji completion (#25266) 2023-06-18 08:38:47 +00:00
WebHookEditor.js Implement CSS-only input toggling, refactor related forms 2024-08-21 15:03:19 +02:00