Michael Telatynski
|
77670eb369
|
Add lint rule to protect against this access on unbound methods (#32578)
* Add Actions to ViewModel utility types and specify `this: void` signature
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add https://typescript-eslint.io/rules/unbound-method/ linter to shared-components
also fix stray lint config which doesn't apply to SC
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add https://typescript-eslint.io/rules/unbound-method/ linter to element-web
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix genuine issues identified by the linter
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Specify this:void on i18napi
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update Module API
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add comment for MapToVoidThis
Added utility type to map VM actions to unbound functions.
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
|
2026-02-23 15:37:58 +00:00 |
|
Zack
|
134c7cde46
|
resolve undefined this in onClick handler (#32576)
* resolve undefined this in onClick handler
* add regression test for bound DisambiguatedProfileViewModel onClick
* Update docs
* add regression for sender profile click mention insertion
* Eslint Fix
|
2026-02-19 13:55:52 +00:00 |
|
Florian Duros
|
9360f0e5e2
|
Update MVVM examples and guidelines (#32437)
* doc: update MVVM examples and guidelines
* doc: typo `costlyDescriptionLoading`
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
* doc: typo `costlyDescriptionLoading`
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
---------
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
|
2026-02-10 17:36:54 +00:00 |
|
R Midhun Suresh
|
7d72775af9
|
Add more MVVM documentation (#31680)
* Move benefits section to the top
* Improve existing doc
* Add more documentation
|
2026-01-08 12:59:40 +00:00 |
|
Florian Duros
|
0d1da4ff45
|
doc: update path in MVVM doc (#31001)
|
2025-10-14 09:00:03 +00:00 |
|
Florian Duros
|
65eb4ce1d3
|
Update mvvm doc (#30872)
* doc: update mvvm doc
* Apply suggestions from code review
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
* doc: keep v1 version
* doc: fix formatting
---------
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
|
2025-09-25 09:27:40 +00:00 |
|
R Midhun Suresh
|
76b3be6263
|
Add some basic documentation for MVVM (#29316)
|
2025-02-19 13:13:28 +00:00 |
|