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

[BUG] Stencil.js - Cannot read properties of undefined (reading 'isProxied') #237

Open
developernm opened this issue Aug 2, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@developernm
Copy link
Contributor

Elasticsearch logs are showing errors from a Web Crawler (GoogleBot 2.1) when looking at the properties:

  • user_agent.device.name
  • user_agent.name

Error: Cannot read properties of undefined (reading 'isProxied')

When researching this error, I'm brought to these pages:

ionic-team/stencil#5035

ionic-team/stencil#5759

https://stenciljs.com/docs/v2/react#:~:text=TypeError%3A%20Cannot%20read%20properties%20of,the%20Stencil%20config's%20extras%20object.

Elastic error:

image

image

image

I understand this maybe broad and I haven't found a way at the moment to replicate it, but the stencil.js documentation does mention the below (which is linked above).

TypeError: Cannot read properties of undefined (reading 'isProxied')
If you encounter this error when running the React application consuming your proxy components, you can set the experimentalImportInjection flag on the Stencil config's extras object. Once set, this will require you to rebuild the Stencil component library and the React component library.

@developernm developernm added the bug Something isn't working label Aug 2, 2024
@developernm
Copy link
Contributor Author

Need to upgrade Data Upload UI to use the latest design library to see if its still an issue. as its already integrated with elastic search.

@developernm developernm self-assigned this Nov 27, 2024
@developernm
Copy link
Contributor Author

developernm commented Dec 10, 2024

Updated design system with latest version, Draft PR for EDU

We agreed as alot of changes have been made since, that the design system needs updating on the project. I've done this however there are a bunch of other changes which need to be made alongside it (more specific to the project).

Issues identified when updating design system for EDU.

  • Select element data is bold. (autocomplete isn't so we need consistency)
  • file input has a solid border when selecting a file, as an active state
  • hover state (tab selected state) has a smaller box in yellow and another line underneath (header tabs)
  • Double underline on my surveys page
  • Some alignment issues with the submit button and file size (can be fixed in project.)
  • Has the data been interpolated alignment
  • depths and soundings alignment (Reduction of sounding to datum method)
  • are depths shoal biased alignment

I believe most of the alignment issues are related to removing the blanket import of bulma and targeting the specifics, the main culprit being the missing class for "is-block"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant