Closed kkatusic closed 3 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
giveth-dapps-v2 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 21, 2024 1:20pm |
This pull request implements enhancements to the email verification process across multiple localization files and components. It introduces new labels for email verification messages in Catalan, English, and Spanish, along with modifications for existing labels to ensure consistency. Additionally, new components and methods are added to manage email verification within the user interface, including the VerifyEmailBanner
and InputUserEmailVerify
. The changes also update context and GraphQL queries to incorporate email verification status, improving user feedback and interaction during the email verification workflow.
File | Change Summary |
---|---|
lang/ca.json, lang/en.json, lang/es.json | Added multiple new labels for email verification processes and modified existing labels for consistency. |
pages/account.tsx | Added VerifyEmailBanner component to display email verification status. |
pages/project/[projectIdSlug]/index.tsx | Removed console log from ProjectRoute component; no functional changes made. |
src/apollo/gql/gqlUser.ts | Introduced two new GraphQL mutations for sending email confirmation codes. |
src/apollo/types/types.ts | Added optional isEmailVerified property to the IUser interface. |
src/components/InputUserEmailVerify.tsx | Introduced a new component for handling email verification input, including validation and state management. |
src/components/modals/EditUserModal.tsx | Updated email input handling by importing InputUserEmailVerify and changing the email field label. |
src/components/views/onboarding/InfoStep.tsx | Enhanced email verification workflow with new state variables and functions for handling verification email and code input. |
src/components/views/project/ProjectIndex.tsx | Added conditional rendering for VerifyEmailBanner based on admin email verification status. |
src/components/views/project/projectActionCard/AdminActions.tsx | Introduced VerifyNotification component to prompt email verification for admins, with updated rendering logic for desktop and mobile views. |
src/components/views/userProfile/VerifyEmailBanner.tsx | Created new component for displaying email verification status with navigation functionality. |
src/components/views/userProfile/projectsTab/ProfileProjectsTab.tsx | Added conditional styling for ProjectsContainer based on email verification status. |
src/context/profile.context.tsx | Added updateUser method to ProfileContext for updating user data. |
src/context/project.context.tsx | Introduced isAdminEmailVerified property to IProjectContext for tracking admin email verification status. |
src/features/user/user.queries.ts | Added isEmailVerified field to the GET_USER_BY_ADDRESS GraphQL query. |
🐇 In the meadow, bright and wide,
New messages for all to guide.
Verify your email, take a chance,
With clear instructions, join the dance!
Hops of joy, let’s celebrate,
A smoother path, oh, isn’t it great? 🌼
[!WARNING] There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure.
🔧 eslint (1.23.1)
> If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration. warning eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options. warning eslint > @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead warning eslint > @humanwhocodes/config-array > @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead warning eslint > file-entry-cache > flat-cache > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported warning eslint > file-entry-cache > flat-cache > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported warning eslint > file-entry-cache > flat-cache > rimraf > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. warning jest > jest-cli > jest-config > glob@7.2.3: Glob versions prior to v9 are no longer supported warning jest > @jest/core > jest-runtime > glob@7.2.3: Glob versions prior to v9 are no longer supported warning jest > @jest/core > @jest/reporters > glob@7.2.3: Glob versions prior to v9 are no longer supported warning jest > @jest/core > @jest/transform > babel-plugin-istanbul > test-exclude > glob@7.2.3: Glob versions prior to v9 are no longer supported warning @sentry/nextjs > @rollup/plugin-commonjs > glob@8.1.0: Glob versions prior to v9 are no longer supported warning @sentry/nextjs > @rollup/plugin-commonjs > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Depends also on:
Summary by CodeRabbit
Release Notes
New Features
VerifyEmailBanner
component to notify users about their email verification status.Bug Fixes
Documentation
Chores