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: file recovery not working if file has comma in it. don't save not be treated as crash, new project dialog size change #2082

Merged
merged 2 commits into from
Jan 19, 2025

Conversation

abose
Copy link
Member

@abose abose commented Jan 19, 2025

Following changes are done to file recovery logix:

  1. We should not show file recovery dialog if the user selected dont save in when exiting phcode
  2. Our integrity checks saves the file as checksum,filecontent. but if file content itself has a comma, our logic used to break due to improper string.split(",") usage

other changes

Defaulting to bigger size for new project dialog for small screens for better UX. The dialog is no longer re-sizable and gives the same ui experience in all screen sizes.
image

abose added 2 commits January 19, 2025 20:28
…t be treated as crash

We should not show file recovery dialog if the user selected dont save in when exiting phcode
Our integrity checks saves the file as `checksum,filecontent`.  but if file content itself has a
comma, out logic used to break due to improper `string.split(",")` usage.
@abose abose changed the title fix: file recovery not working if file has comma in it. don't save not be treated as crash fix: file recovery not working if file has comma in it. don't save not be treated as crash, new project dialog size chane Jan 19, 2025
@abose abose changed the title fix: file recovery not working if file has comma in it. don't save not be treated as crash, new project dialog size chane fix: file recovery not working if file has comma in it. don't save not be treated as crash, new project dialog size change Jan 19, 2025
@abose abose merged commit 23c02aa into main Jan 19, 2025
17 of 18 checks passed
@abose abose deleted the i branch January 19, 2025 16:09
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.

1 participant