mattermost-mobile/app/actions/remote
Elias Nahum d1d3fda83a
Request metrics improvements (#8420)
* Network metrics

* update network-client ref

* fix unit tests

* missing catch error parsing

* Replace API's to fetch all teams and channels for a user
Update groupLabel to use a type definition
Include effective Latency and Average Speed in the metrics
Include parallel and sequential request counts

* update network library and fix tests

* feat(MM-61865): send network request telemetry data to the server (#8436)

* feat(MM-61865): send network info telemetry data

* unit testing

* fix latency vs effectiveLatency

* cleanup test

* fix failing tests

* fix spelling error

* fix failing test

* more cleanup

* fix: improve parallel requests calculation (#8439)

* fix: improve parallel requests calculation

* fix test issue

* multiple parallelGroups testing

* calculateAverageSpeedWithCategories test

* categorizedRequests in it's own describe

* clean up duplicate tests

* check for when groupLabel is non-existent

* a case when groupLabel is non-existent

* more testing with effective latency.

* resolveAndFlattenModels with a capital F

* add try..catch within resolveAndFlattenModels

* update groupLabel to fix failing lint

* fix linting issue due to unknown group label

* forgot to push changes

* fix the indentation problem again

* add env var option for COLLECT_NETWORK_METRICS

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-16 13:55:29 -07:00
..
entry Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
apps.ts Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
category.test.ts Add tests for actions/remote/category (#8371) 2024-11-25 11:58:50 -05:00
category.ts Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
channel.test.ts Login improvement (#8306) 2024-11-13 08:06:12 +08:00
channel.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
channel_bookmark.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
command.test.ts Increase branch test coverage of actions/remote files (#8370) 2024-11-25 12:02:34 -05:00
command.ts MM-59444 Add tests for actions/remote/command (#8326) 2024-11-11 08:29:32 -05:00
custom_emoji.test.ts MM-59432 Add tests for actions/remote/custom_emoji (#8372) 2024-11-25 12:02:59 -05:00
custom_emoji.ts MM-59432 Add tests for actions/remote/custom_emoji (#8372) 2024-11-25 12:02:59 -05:00
file.test.ts test(MM-59431): file.ts unit test (#8424) 2025-01-08 20:19:24 -07:00
file.ts Channel Bookmarks (#7817) 2024-07-18 09:10:28 +08:00
general.ts Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
groups.test.ts Add tests to actions/remote/groups (#8303) 2024-11-04 19:24:01 +08:00
groups.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
integrations.ts Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
notifications.test.ts Network metrics (#8390) 2024-12-17 19:51:26 +08:00
notifications.ts Add test notification tool (#8271) 2024-11-11 10:22:57 +01:00
nps.ts Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
performance.test.ts Add performance metrics to the app (#7953) 2024-06-12 09:45:27 +02:00
performance.ts Add performance metrics to the app (#7953) 2024-06-12 09:45:27 +02:00
permalink.ts Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
post.test.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
post.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
preference.test.ts Remove app alias for imports (#8314) 2024-11-07 08:34:49 +08:00
preference.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
reactions.test.ts Remove app alias for imports (#8314) 2024-11-07 08:34:49 +08:00
reactions.ts [MM-42586] Reaction toggle behavior (#7674) 2023-11-22 21:05:58 +08:00
retry.test.ts MM-59433 Add unit tests to actions/remote/retry (#8445) 2025-01-08 12:30:16 -05:00
retry.ts Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
role.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
search.test.ts MM-59422 Add tests to actions/remote/search (#8304) 2024-11-04 08:26:50 -05:00
search.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
session.test.ts Increase branch test coverage of actions/remote files (#8370) 2024-11-25 12:02:34 -05:00
session.ts Increase branch test coverage of actions/remote files (#8370) 2024-11-25 12:02:34 -05:00
systems.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
team.test.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
team.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
terms_of_service.ts Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
thread.test.ts Login improvement (#8306) 2024-11-13 08:06:12 +08:00
thread.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
user.test.ts Add tests to actions/remote/user (#8273) 2024-10-21 11:12:42 -04:00
user.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00