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

fix: handle race condition in resetUiState #1043

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

acezard
Copy link
Contributor

@acezard acezard commented Nov 29, 2023

It is meant to be a temporary solution to fix an issue where resetUIstate has to know the state of this feature before executing its logic. Still, at the time of writing, resetUIState has no connection to the React tree.

ResetUIState should be refactored to use a proper React context. It can't be done during this commit for time constraints.

@acezard acezard force-pushed the fix--handle-race-condition-in-resetUiState branch 2 times, most recently from b27e22b to d6be0fd Compare December 3, 2023 09:18
@acezard acezard marked this pull request as ready for review December 3, 2023 09:19
@acezard acezard force-pushed the fix--handle-race-condition-in-resetUiState branch from d6be0fd to 8c4e234 Compare December 3, 2023 09:25
using dirty hack to fix prod build with no side effects
If files to upload,
then resetUIState will use dark icons instead of home theme
@acezard acezard force-pushed the fix--handle-race-condition-in-resetUiState branch from 8c4e234 to fa367a2 Compare December 3, 2023 09:39
@acezard acezard merged commit b12f101 into master Dec 5, 2023
1 check passed
@acezard acezard deleted the fix--handle-race-condition-in-resetUiState branch December 5, 2023 08:34
Ldoppea added a commit that referenced this pull request Dec 18, 2023
Ldoppea added a commit that referenced this pull request Dec 18, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 18, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 19, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 19, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 19, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 19, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 19, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 19, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 19, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 19, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 19, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 19, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 19, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Dec 20, 2023
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Jan 4, 2024
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
Ldoppea added a commit that referenced this pull request Jan 5, 2024
Now that OsReceive uses the new FlagshipUI API, then this hack is not
needed anymore

Related PR: #1043
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