zulip/web
Varun Singh b1943f560a settings_preferences: Refactor initialize function.
Before this commit the `user_settings_panel` object was declared as
a `const` and assigned an initial value of `{}`. Later, inside the
initialize function the object was mutated with three fields (`container`,
`settings_object`, `for_realm_settings`).

TypeScript does not allow this.Hence,we have removed the initial
value(`{}`) and changed the object to be a `let` var. This means,
when the `initialize` function is called `user_settings_panel` object is
undefined and hence `user_settings_panel.foo` will throw an exception.
To avoid this we have refactored the function by changing the way
`user_settings_panel` object is assigned value.
2024-06-04 08:50:07 -07:00
..
e2e-tests e2e-tests: Fix TypeScript noUncheckedIndexedAccess errors. 2024-05-30 16:19:14 -07:00
generated
html 5xx: Fix development server preview of 500 error page. 2024-05-30 10:49:03 -07:00
images onboarding_steps: Remove hotspot as an onboarding_step. 2024-05-10 12:30:22 -07:00
server katex_server: Fix implicit use of any. 2024-05-04 18:53:34 -07:00
shared tsconfig: Enable noUncheckedIndexedAccess. 2024-05-30 16:29:23 -07:00
src settings_preferences: Refactor initialize function. 2024-06-04 08:50:07 -07:00
styles billing-css: Remove out-of-date rule for input styling. 2024-06-04 08:49:43 -07:00
templates popovers: Add the missing aria-hidden attribute to popover icons. 2024-05-31 15:28:01 -07:00
tests messages: Rename convert_raw_message_to_message_with_booleans. 2024-06-03 15:42:41 -07:00
third typeahead: Use tippy to position typeaheads without a specified parent. 2024-05-08 10:05:27 -07:00
.browserslistrc
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2024-04-25 16:46:03 -07:00
debug-require-webpack-plugin.ts tsconfig: Enable exactOptionalPropertyTypes. 2024-05-16 08:58:20 -07:00
debug-require.js
postcss.config.js eslint: Fix unicorn/no-anonymous-default-export. 2024-04-25 16:46:03 -07:00
webpack.assets.json support: Set discounted price instead percentage for customers. 2024-05-16 02:18:43 -07:00
webpack.config.ts 5xx: Fix development server preview of 500 error page. 2024-05-30 10:49:03 -07:00
webpack.dev-assets.json development: Update modal in emails page to use micromodal. 2023-10-05 09:28:27 -07:00