-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-05-22] [Due for payment 2025-05-20] Tags - Introduction sentence is below the search field, instead of above the search field #61687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Triggered auto assignment to @adelekennedy ( |
Triggered auto assignment to @srikarparsi ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
ProposalPlease re-state the problem that we are trying to solve in this issue.On the "Workspace Settings > Tags" page, the introductory sentence (e.g., "Tags add more detailed ways to classify costs.") appears below the "Find tag" search field. This is inconsistent with the "Workspace Settings > Categories" page, where a similar introductory sentence appears above its search field. We need to make the Tags page consistent by placing its introductory sentence above the search field. What is the root cause of that problem?The root cause is the conditional rendering logic and component structure, particularly for narrow (mobile) layouts. When the Tags page has data to display on a narrow screen:
This resulted in the App/src/pages/workspace/tags/WorkspaceTagsPage.tsx Lines 487 to 495 in 819bf62
What changes do you think we should make in order to solve the problem?We should adjust the rendering order in the
{getHeaderText()}
{!isLoading && hasVisibleTags && tagList.length > CONST.SEARCH_ITEM_LIMIT && (
<SearchBar
label={translate('workspace.tags.findTag')}
inputValue={inputValue}
onChangeText={setInputValue}
shouldShowEmptyState={!filteredTagList.length}
/>
)} {hasVisibleTags && !isLoading && (
<SelectionListWithModal
canSelectMultiple={canSelectMultiple}
turnOnSelectionModeOnLongPress={!isMultiLevelTags}
onTurnOnSelectionMode={(item) => item && toggleTag(item)}
sections={[{data: filteredTagList, isDisabled: false}]}
onCheckboxPress={toggleTag}
onSelectRow={navigateToTagSettings}
shouldSingleExecuteRowSelect={!canSelectMultiple}
onSelectAll={toggleAllTags}
ListItem={TableListItem}
customListHeader={getCustomListHeader()}
shouldPreventDefaultFocusOnSelectRow={!canUseTouchScreen()}
listHeaderWrapperStyle={[styles.ph9, styles.pv3, styles.pb5]}
onDismissError={(item) => !isMultiLevelTags && clearPolicyTagErrors(policyID, item.value, 0)}
listHeaderContent={null}
showScrollIndicator={false}
addBottomSafeAreaPadding
/>
)} This approach ensures that if the introductory text and search bar are meant to be shown, they are always rendered in the correct order (text above search) in the main page flow. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We should add or update tests to verify the layout of the introductory text and search bar on the Tags page under various conditions: None What alternative solutions did you explore? (Optional)None ResultScreen.Recording.2025-05-08.at.16.41.12.mov |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
I think we should update this but this is not a deploy blocker IMO - @srikarparsi if you disagree, going to drop the priority |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.44-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-05-20. 🎊 |
@srikarparsi @adelekennedy @srikarparsi The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.45-21 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-05-22. 🎊 |
@srikarparsi @adelekennedy @srikarparsi The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.1.42-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: iPhone 15 Pro Max / iOS 18.4
App Component: Workspace Settings
Action Performed:
Precondition:
Expected Result:
In Tags page, the introduction sentence should be above the search field.
Actual Result:
In Tags page, the introduction sentence is below the search field, which is not consistent with the placement in Categories page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
1.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @adelekennedyThe text was updated successfully, but these errors were encountered: