Open jaybuidl opened 3 weeks ago
The changes in this pull request involve modifications to the AtlasProvider
component and the index.html
file. In AtlasProvider
, logic was added to the fetchUser
function to initialize the Mava
service after user data retrieval, enhancing user tracking. Additionally, error handling was improved to correctly set the isVerified
state during authentication errors. In index.html
, a <meta>
tag was removed, and a new <script>
tag was added to include the Mava Web Chat widget, consolidating its attributes for configuration.
File | Change Summary |
---|---|
web/src/context/AtlasProvider.tsx | - Added logic in fetchUser to initialize Mava service with user email and wallet address. - Updated error handling in fetchWithAuthErrorHandling to set isVerified to false on specific errors. |
web/src/index.html | - Removed <meta> tag for keywords. - Added <script> tag for Mava Web Chat widget with various attributes. |
fetchWithAuthErrorHandling
function and enhance error handling in the AtlasProvider
component, directly relating to the updates made in the main PR.Type: Enhancement :sparkles:
, Package: Web
In the land of code, where rabbits play,
New features hop in, brightening the day.
With Mava's charm, we fetch with delight,
Errors managed well, everything feels right.
So hereβs to the changes, a joyful cheer,
For a smoother experience, we hold dear! πβ¨
Name | Link |
---|---|
Latest commit | de304f3f698049ec3f2df548ca40e80fd080a618 |
Latest deploy log | https://app.netlify.com/sites/kleros-v2-testnet/deploys/6728f87545bd4900080044e3 |
Deploy Preview | https://deploy-preview-1734--kleros-v2-testnet.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | de304f3f698049ec3f2df548ca40e80fd080a618 |
Latest deploy log | https://app.netlify.com/sites/kleros-v2-neo/deploys/6728f87545bd4900080044e7 |
Deploy Preview | https://deploy-preview-1734--kleros-v2-neo.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | de304f3f698049ec3f2df548ca40e80fd080a618 |
Latest deploy log | https://app.netlify.com/sites/kleros-v2-university/deploys/6728f875a1bc310008bf643b |
Deploy Preview | https://deploy-preview-1734--kleros-v2-university.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Code Climate has analyzed commit de304f3f and detected 1 issue on this pull request.
Here's the issue category breakdown:
Category | Count |
---|---|
Style | 1 |
View more on Code Climate.
Name | Link |
---|---|
Latest commit | de304f3f698049ec3f2df548ca40e80fd080a618 |
Latest deploy log | https://app.netlify.com/sites/kleros-v2-testnet-devtools/deploys/6728f87576fe9e00088f36e9 |
Deploy Preview | https://deploy-preview-1734--kleros-v2-testnet-devtools.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
PR-Codex overview
This PR introduces user identification and integration with the
Mava
widget in theAtlasProvider
, along with minor adjustments in theindex.html
file to include theMava
script.Detailed summary
web/src/context/AtlasProvider.tsx
:Mava
if the user is verified and has an email.web/src/index.html
:<script>
tag to include theMava
widget.<meta>
tag for keywords to a self-closing format.Summary by CodeRabbit
New Features
Bug Fixes
Chores
<meta>
tag for keywords in the HTML document.