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

[HOLD #15244] Web - Storybook site - The storybook site opens with error in console #15042

Closed
2 of 6 tasks
kbecciv opened this issue Feb 10, 2023 · 27 comments
Closed
2 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Internal Requires API changes or must be handled by Expensify staff Monthly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Feb 10, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Issue found when executing PR #13916

Action Performed:

  1. Visit staging.new.expensify.com/docs/index.html
  2. Verify the storybook site looks normal

Expected Result:

The storybook site opens without error in console

Actual Result:

The storybook site opens with error in console

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • Windows / Chrome
  • MacOS / Desktop

Version Number: 1.2.69.3

Reproducible in staging?: Yes

Reproducible in production?: Yes

If this was caught during regression testing, add the test name, ID and link from TestRail:

Email or phone of affected tester (no customers):

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5932195_13916_Web.mp4

image (10)

Expensify/Expensify Issue URL:

Issue reported by: Applause - internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017f7e671d8cdea696
  • Upwork Job ID: 1625137872852045824
  • Last Price Increase: 2023-02-13
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 10, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Feb 10, 2023
@MelvinBot
Copy link

Triggered auto assignment to @trjExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@MelvinBot
Copy link

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@trjExpensify
Copy link
Contributor

Asking for a second opinion on what to do about these. In the meantime, I can see these errors on Mac chrome web as well:

image

@trjExpensify
Copy link
Contributor

There's another CSP issue here that has recently been put on hold. Asking on that issue whether we proceed with this, close it or if it should be held.

@melvin-bot melvin-bot bot removed the Overdue label Feb 13, 2023
@techievivek
Copy link
Contributor

This is related to the storybook 6 telejson package that uses eval. More here

There is no way we are going to update our CSP rule to allow eval but we can configure storybook to help us fix this. storybookjs/storybook#12364 (comment)

I can give it a try fixing this but we will need to test this on staging.

@techievivek techievivek added the Internal Requires API changes or must be handled by Expensify staff label Feb 13, 2023
@melvin-bot melvin-bot bot unlocked this conversation Feb 13, 2023
@techievivek techievivek self-assigned this Feb 13, 2023
@MelvinBot
Copy link

Job added to Upwork: https://www.upwork.com/jobs/~017f7e671d8cdea696

@MelvinBot
Copy link

Triggered auto assignment to Contributor Plus for review of internal employee PR - @0xmiroslav (Internal)

@techievivek
Copy link
Contributor

Putting this on HOLD as well based on Rory's comments, as it would be a pain testing this. We can look into it when we have moved the worker code to the newDot repo.

@techievivek techievivek changed the title Web - Storybook site - The storybook site opens with error in console [HOLD] Web - Storybook site - The storybook site opens with error in console Feb 14, 2023
@trjExpensify
Copy link
Contributor

Sweet, sounds good!

@melvin-bot melvin-bot bot added the Overdue label Feb 16, 2023
@trjExpensify
Copy link
Contributor

Switching to weekly while on hold. @techievivek is there an issue number to include in the title?

@melvin-bot melvin-bot bot removed the Overdue label Feb 16, 2023
@trjExpensify trjExpensify added Weekly KSv2 Overdue and removed Daily KSv2 labels Feb 16, 2023
@melvin-bot melvin-bot bot removed the Overdue label Feb 16, 2023
@techievivek
Copy link
Contributor

@trjExpensify we don't seem to have any tracking issues yet for CSP errors.

@melvin-bot melvin-bot bot removed the Overdue label Apr 10, 2023
@melvin-bot melvin-bot bot added the Overdue label May 11, 2023
@trjExpensify
Copy link
Contributor

Same, held on server migration.

@techievivek
Copy link
Contributor

On hold for migrating newDot from AWS to our own servers.

@melvin-bot melvin-bot bot removed the Overdue label Jun 15, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 17, 2023
@trjExpensify
Copy link
Contributor

Still held on the migration!

@melvin-bot melvin-bot bot removed the Overdue label Jul 17, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 21, 2023
@trjExpensify
Copy link
Contributor

Still on hold for migrating NewDot from AWS to our own servers, Melv!

@melvin-bot melvin-bot bot removed the Overdue label Aug 21, 2023
@melvin-bot melvin-bot bot added the Overdue label Sep 22, 2023
@trjExpensify
Copy link
Contributor

Still on hold for migrating NewDot from AWS to our own servers, Melv!

@melvin-bot melvin-bot bot removed the Overdue label Sep 25, 2023
@melvin-bot melvin-bot bot added the Overdue label Oct 26, 2023
@trjExpensify
Copy link
Contributor

@techievivek, looks like we should be able to proceed with this issue in short order. Can you address Justin's question here so we can keep it moving?

@melvin-bot melvin-bot bot removed the Overdue label Oct 30, 2023
@melvin-bot melvin-bot bot added the Overdue label Dec 1, 2023
@techievivek
Copy link
Contributor

Sorry, I wasn't able to prioritize this. I will have the GH ready for Justin by this week, which can help us test CSP changes locally.

@melvin-bot melvin-bot bot removed the Overdue label Dec 4, 2023
@melvin-bot melvin-bot bot added the Overdue label Jan 4, 2024
@trjExpensify
Copy link
Contributor

What's the story here @techievivek? Did you get that GH ready?

@melvin-bot melvin-bot bot removed the Overdue label Jan 5, 2024
@techievivek
Copy link
Contributor

Sorry, with budget and retention whispers EOY projects, I couldn't prioritize this. Considering our current# focus and the fact that this doesn't seem to be a blocking issue, I am uncertain if it's worth investing time in at the moment. Let me know what you think about it, thanks.

@trjExpensify
Copy link
Contributor

If the use of Storybook isn't impacted by this console error, I can see closing this out if there isn't a wider CSP concern we need to address either.

@techievivek
Copy link
Contributor

Sure, the issue doesn't affect the functionality of the storybook portal itself. It only seems to affect the loading of certain resources, specifically some Plaid/Onfido resources. I'm going to close this for now. When we have more time to address lower priority tasks, I'll investigate this further. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Internal Requires API changes or must be handled by Expensify staff Monthly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants