Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GEN-1485] fix: num of selected app bug (#1581)
This pull request includes changes to update UI labels, improve data filtering logic, and standardize code formatting. The most important changes include modifying the title in the `SelectSourcesContainer`, updating the filtering logic in `useSectionData`, and enhancing the `EMPTY_SOURCE` message. UI Label Updates: * [`frontend/webapp/containers/main/sources/choose.sources/index.tsx`](diffhunk://#diff-5eba8e65b9945f09d70123675f6205d939f20cbc54ae21ff29dda89f6b63cfadL18-R18): Changed the title in `OverviewHeader` from `OVERVIEW.MENU.SOURCES` to `OVERVIEW.ADD_NEW_SOURCE`. * [`frontend/webapp/utils/constants/string.tsx`](diffhunk://#diff-6b7ecf63c9f57c564b2f2f5d7998fd2cc45aee9e4dfc71aeeeb8361a39ba66cbL78-R78): Updated the `EMPTY_SOURCE` message to be more descriptive by adding "in this namespace". Data Filtering Logic: * [`frontend/webapp/hooks/useSectionData.tsx`](diffhunk://#diff-4be3e790a193b5fb82050c23380608aef1b9b0ea3f0a201ea87e2cb8e620f7daL10-R15): Enhanced the filtering logic in `useSectionData` to exclude items with `app_instrumentation_labeled` set to true. Code Formatting: * [`frontend/webapp/hooks/useSectionData.tsx`](diffhunk://#diff-4be3e790a193b5fb82050c23380608aef1b9b0ea3f0a201ea87e2cb8e620f7daL1-R1): Standardized import statements to use single quotes instead of double quotes.
- Loading branch information