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

[Simplified Collect][Tags] Fix issues with Tags pages #38192

Closed
4 tasks done
luacmartins opened this issue Mar 12, 2024 · 17 comments
Closed
4 tasks done

[Simplified Collect][Tags] Fix issues with Tags pages #38192

luacmartins opened this issue Mar 12, 2024 · 17 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Reviewing Has a PR in review

Comments

@luacmartins
Copy link
Contributor

luacmartins commented Mar 12, 2024

We have a few known issues with the Workspace Tags Page that need to be addressed:

cc @waterim @mkhutornyi

Issue OwnerCurrent Issue Owner: @luacmartins
@luacmartins luacmartins added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 12, 2024
@luacmartins luacmartins self-assigned this Mar 12, 2024
Copy link

melvin-bot bot commented Mar 12, 2024

Triggered auto assignment to @kadiealexander (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@luacmartins
Copy link
Contributor Author

We're still working on this

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Mar 15, 2024
Copy link

melvin-bot bot commented Mar 18, 2024

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

@luacmartins
Copy link
Contributor Author

Retesting

@melvin-bot melvin-bot bot removed the Overdue label Mar 19, 2024
@luacmartins
Copy link
Contributor Author

Fixed:

Still reproducible:

@waterim could you please take a look at the reproducible issues above?

@waterim
Copy link
Contributor

waterim commented Mar 20, 2024

@luacmartins #37755 (comment) - this one is will be fixed here

@waterim
Copy link
Contributor

waterim commented Mar 20, 2024

@luacmartins Regarding this #38188 - looks like this is an issue with backend, because response is empty and requiresTag is not updating in policy

Request for SetWorkspaceRequiresCategory:
image
Request for SetPolicyRequiresTag:
image

Response for SetWorkspaceRequiresCategory:
image

Response for SetPolicyRequiresTag:
image

@luacmartins
Copy link
Contributor Author

@waterim are we not optimistically setting requiresCategory to true when calling SetPolicyRequiresTag? I don't think we need the response to have data if we do that.

@waterim
Copy link
Contributor

waterim commented Mar 20, 2024

@luacmartins we set it, but after refresh policy will be the same as before switch toggle

@waterim
Copy link
Contributor

waterim commented Mar 20, 2024

Optimistically it works
image

@luacmartins
Copy link
Contributor Author

but after refresh policy will be the same as before switch toggle

Why is that? When we refresh the page we should fetch the details for the policy and if the data was saved in the DB it should be the same as the optimistic data we have locally, no?

@waterim
Copy link
Contributor

waterim commented Mar 20, 2024

Thats what Im saying, as I understand policy requiresTag is not setting to DB

@luacmartins
Copy link
Contributor Author

Ok, I'll investigate!

@waterim
Copy link
Contributor

waterim commented Mar 20, 2024

Thank you!

@trjExpensify trjExpensify changed the title Fix issues with Tags pages [Tags] Fix issues with Tags pages Mar 21, 2024
@luacmartins luacmartins added the Reviewing Has a PR in review label Mar 21, 2024
@luacmartins
Copy link
Contributor Author

We have PRs up for all the issues listed here

@luacmartins luacmartins changed the title [Tags] Fix issues with Tags pages [Simplified Collect][Tags] Fix issues with Tags pages Mar 21, 2024
@luacmartins
Copy link
Contributor Author

PRs have been merged. Just waiting on the deploy

@luacmartins
Copy link
Contributor Author

We're all good here. Closing.

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 Reviewing Has a PR in review
Projects
No open projects
Archived in project
Development

No branches or pull requests

3 participants