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

Errors and UI Break on Clicking Settings #2308

Closed
keeganedwin opened this issue Oct 6, 2023 · 11 comments
Closed

Errors and UI Break on Clicking Settings #2308

keeganedwin opened this issue Oct 6, 2023 · 11 comments
Labels
☠️ Archive Suggest to remove issue, fixed, duplicate, stale bug Something isn't working settings - plugin page

Comments

@keeganedwin
Copy link
Collaborator

Describe the bug
Clicking on certain settings options triggers errors and leads to a complete UI break.

From @SorsOps after reading the user's crash reports from their session ID:

  • The issue seems to be caused by the use of spread on properties in React.
  • There is a React hook that is being broken and called conditionally, contributing to the problem.

Not easily reproduced
Steps to reproduce the behavior:

  1. Navigate to the Settings page
  2. Click on certain settings options

Expected behavior
The settings should open without any errors, and the UI should remain functional.

@keeganedwin keeganedwin added the bug Something isn't working label Oct 6, 2023
@six7 six7 moved this from 📥 Triage to 🧑‍🎨 Shaping in Tokens Studio for Figma Roadmap Oct 9, 2023
@six7
Copy link
Collaborator

six7 commented Oct 9, 2023

@keeganedwin can you add more reproduction steps? Not able to reproduce.

@keeganedwin
Copy link
Collaborator Author

@six7 yea it's tough, even the user wasn't sure what he exactly clicked on that caused this... I don't know if @SorsOps has more information with the crash reports.

@esthercheran
Copy link
Collaborator

@keeganedwin can you add the session id of the user?

@keeganedwin
Copy link
Collaborator Author

keeganedwin commented Oct 10, 2023

@esthercheran ID: f42091db199c48e7831f8112100a9c12

Adding user's console log screenshots:
Screenshot 2023-10-04 at 10 26 54 am

Screenshot 2023-10-04 at 10 27 24 am

Screenshot 2023-10-04 at 10 27 36 am

@keeganedwin
Copy link
Collaborator Author

keeganedwin commented Oct 13, 2023

Another similar one: 2486ca8852bb4e9d91e8c7414237e94b
Bug Recording

@esthercheran
Copy link
Collaborator

@SorsOps can you add more details on what you found?

@esthercheran esthercheran moved this from 🧑‍🎨 Shaping to 📤 Ready for dev in Tokens Studio for Figma Roadmap Oct 16, 2023
@SorsOps
Copy link
Member

SorsOps commented Oct 20, 2023

Looks like the recording got lost off of sentry, but I took a look at the new one. I can't see the exact trigger, but I did look through all the UI components around the Token Listing. Nothing jumped out at me as a conditional react hook, unless one of the hooks uses another hook internally conditionally

@rbosker
Copy link
Collaborator

rbosker commented Dec 4, 2023

@keeganedwin check if this is maybe already solved by another fix.

@SamIam4Hyma
Copy link
Collaborator

@keeganedwin another one to check on pretty please!

@SamIam4Hyma
Copy link
Collaborator

@LukeFinch proposing we archive as its stale and the convo has gone cold. if you agree please close, if you think it needs ot be fixed please add the right label (bug) and remove archive.

@SamIam4Hyma SamIam4Hyma added the ☠️ Archive Suggest to remove issue, fixed, duplicate, stale label Apr 9, 2024
@SamIam4Hyma
Copy link
Collaborator

closing as it can't be reproduced

@SamIam4Hyma SamIam4Hyma closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
@github-project-automation github-project-automation bot moved this from 📤 Ready for dev to ✅ Done in Tokens Studio for Figma Roadmap May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☠️ Archive Suggest to remove issue, fixed, duplicate, stale bug Something isn't working settings - plugin page
Projects
Status: ✅ Done
Development

No branches or pull requests

6 participants