You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Simplified Collect][Tags] Fix issues with Tags pages #38192
@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.
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?
Activity
melvin-bot commentedon Mar 12, 2024
Triggered auto assignment to @kadiealexander (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.luacmartins commentedon Mar 15, 2024
We're still working on this
melvin-bot commentedon Mar 18, 2024
@luacmartins, @kadiealexander Whoops! This issue is 2 days overdue. Let's get this updated quick!
luacmartins commentedon Mar 19, 2024
Retesting
luacmartins commentedon Mar 19, 2024
Fixed:
Still reproducible:
@waterim could you please take a look at the reproducible issues above?
2 remaining items
luacmartins commentedon Mar 20, 2024
@waterim are we not optimistically setting
requiresCategoryto true when callingSetPolicyRequiresTag? I don't think we need the response to have data if we do that.waterim commentedon Mar 20, 2024
@luacmartins we set it, but after refresh policy will be the same as before switch toggle
waterim commentedon Mar 20, 2024
Optimistically it works

luacmartins commentedon Mar 20, 2024
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 commentedon Mar 20, 2024
Thats what Im saying, as I understand policy requiresTag is not setting to DB
luacmartins commentedon Mar 20, 2024
Ok, I'll investigate!
waterim commentedon Mar 20, 2024
Thank you!
[-]Fix issues with Tags pages[/-][+][Tags] Fix issues with Tags pages[/+]luacmartins commentedon Mar 21, 2024
We have PRs up for all the issues listed here
[-][Tags] Fix issues with Tags pages[/-][+][Simplified Collect][Tags] Fix issues with Tags pages[/+]luacmartins commentedon Mar 21, 2024
PRs have been merged. Just waiting on the deploy
luacmartins commentedon Apr 2, 2024
We're all good here. Closing.