Skip to content
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

Rules - Rules in left hand navigation does not follow the order in More features list #48266

Closed
6 tasks done
lanitochka17 opened this issue Aug 29, 2024 · 8 comments
Closed
6 tasks done
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Reviewing Has a PR in review

Comments

@lanitochka17
Copy link

lanitochka17 commented Aug 29, 2024

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.0.26-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace settings > More features
  3. Enable all the features

Expected Result:

The features in the left hand navigation should follow the order of features in More features list
Rules should be arranged between Workflows and Categories

Actual Result:

Rules is at the end of the list in the left hand navigation

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6586551_1724936172274.20240829_205227.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Aug 29, 2024
Copy link

melvin-bot bot commented Aug 29, 2024

Triggered auto assignment to @puneetlath (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@neonbhai
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Rules - Rules in left hand navigation does not follow the order in More features list

What is the root cause of that problem?

The rules menuItem is at the end of the list in WorkspaceInitialPage.tsx

What changes do you think we should make in order to solve the problem?

We will move the rules menuItem from here:

if (featureStates?.[CONST.POLICY.MORE_FEATURES.ARE_RULES_ENABLED] && canUseWorkspaceRules) {
protectedCollectPolicyMenuItems.push({
translationKey: 'workspace.common.rules',
icon: Expensicons.Feed,
action: singleExecution(waitForNavigate(() => Navigation.navigate(ROUTES.WORKSPACE_RULES.getRoute(policyID)))),
routeName: SCREENS.WORKSPACE.RULES,
});
}

to here.

@puneetlath
Copy link
Contributor

Demoting since rules is under beta. cc @marcaaron

@puneetlath puneetlath added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Aug 29, 2024
Copy link

melvin-bot bot commented Aug 29, 2024

Current assignee @puneetlath is eligible for the Bug assigner, not assigning anyone new.

@WojtekBoman
Copy link
Contributor

We'll adjust this in one of our rules related PRs

Guccio163 added a commit to software-mansion-labs/expensify-app-fork that referenced this issue Aug 30, 2024
@Guccio163
Copy link
Contributor

Guccio163 commented Aug 30, 2024

Hi, I just fixed it in the #48184 PR as per @WojtekBoman 's request, it is already approved by C+ so I think it'll be soon merged 👌

Screen.Recording.2024-08-30.at.10.41.52.mov

Copy link

melvin-bot bot commented Sep 2, 2024

@puneetlath, @Guccio163 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@puneetlath puneetlath added the Reviewing Has a PR in review label Sep 2, 2024
@melvin-bot melvin-bot bot removed the Overdue label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

5 participants