zulip/web
evykassirer c7b12c996c typeahead: Convert module to typescript.
This contains two more complex changes:

- The default versions of sorter and matcher assume that ItemType is a
string. But the Typeahead class works on a generic ItemType and I'm
not aware of a way to assert that this function is only called for
typeaheads with string items. For `matcher`, we can assert that the
items are strings. `sorter` is now a required option instead of an
optional one that could fall back to the default.

- `element` can be either an `input` element or a `contenteditable`
`div`. We distinguish between them using `.is("[contenteditable]"))`
but TypeScript doesn't understand that. So we replaced `this.$element`
with `this.input_element` where `input_element` is an object with the
`$element` and also a `type` specifying which type of element it is
(input or contenteditable).
2024-03-30 10:41:38 -07:00
..
e2e-tests eslint: Fix @typescript-eslint/use-unknown-in-catch-callback-variable. 2024-03-29 09:37:38 -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 left-sidebar: Change recent conversation icon. 2024-03-26 12:55:34 -07:00
src typeahead: Convert module to typescript. 2024-03-30 10:41:38 -07:00
styles invite_user_modal: Replaced email text_area with input_pill. 2024-03-29 11:13:03 -07:00
templates tooltips: Fix incorrect "required" tooltip on custom profile fields. 2024-03-29 12:35:01 -07:00
tests typeahead: Convert module to typescript. 2024-03-30 10:41:38 -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