zulip/web
N-Shar-ma 9cedf0e8bc compose: Trigger language typeahead on using code formatting button.
To increase the discoverability of the possibility of specifying the
language for a code block, we trigger the language typeahead when code
syntax is added using the code formatting button. A blank option is
shown preselected in the typeahead, so that pressing enter will not
mistakenly add a language to the code block.

We only trigger the typeahead on empty opening fences when added by the
button, by setting a state variable to true when adding the syntax using
the button, checking for this state when sourcing languages for the code
typeahead, and then resetting the state variable to false.

Fixes: #29150.
2024-03-25 16:30:03 -07:00
..
e2e-tests typeahead: Improve compose topic typeahead behaviour. 2024-03-13 10:00:56 -07:00
generated
html
images portico: Remove screenshots from /apps. 2024-01-31 16:10:32 -08:00
server katex_server: Add Prometheus metrics. 2024-03-15 15:34:12 -07:00
shared typeahead: Add option for word order not mattering for query matching. 2024-03-22 15:20:40 -07:00
src compose: Trigger language typeahead on using code formatting button. 2024-03-25 16:30:03 -07:00
styles compose: Trigger language typeahead on using code formatting button. 2024-03-25 16:30:03 -07:00
templates compose: Redesign the arrow between stream and topic. 2024-03-25 16:12:32 -07:00
tests compose: Trigger language typeahead on using code formatting button. 2024-03-25 16:30:03 -07:00
third typeahead: Move module to web/src. 2024-03-11 09:56:18 -07:00
.browserslistrc
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2024-02-22 12:46:40 -08:00
debug-require-webpack-plugin.ts eslint: Fix @typescript-eslint/no-confusing-void-expression. 2023-12-21 16:14:40 -08:00
debug-require.js
postcss.config.js
webpack.assets.json corporate: Update directories for activity and support frontend files. 2024-02-29 15:11:48 -08:00
webpack.config.ts katex: Replace subprocess call with minimal external service. 2024-03-15 15:34:12 -07:00
webpack.dev-assets.json