Skip to content

Revert back to Storage.clear() in Onyx.clear() instead of removeItems(). Abort the setItem() queue.#279

Closed
marcaaron wants to merge 3 commits intomainfrom
marcaaron-abortSetItemOnClear
Closed

Revert back to Storage.clear() in Onyx.clear() instead of removeItems(). Abort the setItem() queue.#279
marcaaron wants to merge 3 commits intomainfrom
marcaaron-abortSetItemOnClear

Conversation

@marcaaron
Copy link
Contributor

Details

This is a kind of soft revert of the changes here -> #237

I am not removing the removeItems() code yet until we know why it doesn't work.

For now, this will re-introduce the bug here: Expensify/App#15321

I'm not sure why the issue is open and haven't really caught up on it so maybe @roryabraham has more context.

Regardless, having Guides be able to cleanly log out of their accounts seems higher value.

Related Issues

Expensify/App#21766

Automated Tests

Linked PRs

TBD

@marcaaron marcaaron self-assigned this Jul 14, 2023
@marcaaron marcaaron requested a review from a team as a code owner July 14, 2023 22:43
@marcaaron marcaaron requested a review from roryabraham July 14, 2023 22:43
@melvin-bot melvin-bot bot requested review from deetergp and removed request for a team July 14, 2023 22:43
@roryabraham
Copy link
Contributor

Agree with the evaluation that guides signing in + out is higher priority than multi-tab edge cases.

@marcaaron
Copy link
Contributor Author

I'm going to close this and leave all the context I have in an issue.

@marcaaron marcaaron closed this Jul 14, 2023
@marcaaron marcaaron deleted the marcaaron-abortSetItemOnClear branch July 14, 2023 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants