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

Create identity flow #120

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open

Create identity flow #120

wants to merge 22 commits into from

Conversation

cryptosalomao
Copy link
Collaborator

@cryptosalomao cryptosalomao commented Dec 4, 2024

📝 Description

This PR introduces the new identity creation flow for both personal and company types of identity. More details to be added soon.

Relates to #(issue-number)


📸 Screenshots/Screen record (if applicable)

If your changes include UI updates, please add before and after screenshots/screen records:

Before:
[Attach screenshot/screen record]

After:
[Attach screenshot/screen record]


✅ Checklist

Please ensure the following tasks are completed before requesting a review:

  • My code adheres to the style guidelines of this project.
  • I have run npm run lint or the equivalent linting command.
  • I have added or updated tests (if applicable).
  • My changes have been tested thoroughly in different browsers/resolutions (if applicable).
  • I have updated the documentation (if applicable).
  • I have checked that there are no console errors or warnings.
  • I have verified that the application builds without errors.
  • I have tested responsiveness for mobile and desktop views (if applicable).

🚀 Changes Made

  • New Features:

    • [Describe any new features added.]
  • Bug Fixes:

    • [List the bugs fixed.]
  • Refactoring:

    • [Highlight refactored code, if any.]
  • Other Changes:

    • [Describe additional changes not covered above.]

💡 How to Test

Please provide clear instructions on how reviewers can test your changes:

  1. [Step 1]
  2. [Step 2]
  3. [Step 3]

🤝 Related Issues

List any related issues, pull requests, or discussions:


🔗 Additional Context (optional)

Add any other context or information that might be useful for reviewers:

[Additional notes or links]


📄 Relevant Documentation (optional)

Provide links to relevant documentation that reviewers may need:

  • [Link to related documentation]

📋 Review Guidelines

Please focus on the following while reviewing:

  • Does the code follow the repository's contribution guidelines?
  • Are there any potential bugs or performance issues?
  • Is the UI consistent with the overall design?
  • Are there any typos or grammatical errors in the code or comments?

Copy link

vercel bot commented Dec 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
e-bill-frontend ✅ Ready (Inspect) Visit Preview Dec 13, 2024 6:20pm

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 1.04167% with 1425 lines in your changes missing coverage. Please review.

Project coverage is 12.22%. Comparing base (e440507) to head (d4129da).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...ges/create-identity/BillIssuer/PreviewIdentity.tsx 0.00% 227 Missing ⚠️
...create-identity/BillIssuer/OptionalInformation.tsx 0.00% 165 Missing ⚠️
...s/create-identity/BillIssuer/EmailVerification.tsx 0.00% 113 Missing ⚠️
...eate-identity/AuthorizedSigner/PreviewIdentity.tsx 0.00% 112 Missing ⚠️
src/components/DatePicker/datePicker.tsx 0.00% 82 Missing ⚠️
...create-identity/BillIssuer/RequiredInformation.tsx 0.00% 82 Missing ⚠️
src/components/Upload.tsx 0.00% 75 Missing ⚠️
src/pages/create-identity/BillIssuer/index.tsx 0.00% 74 Missing ⚠️
src/pages/create-identity/Category.tsx 0.00% 74 Missing ⚠️
...-identity/AuthorizedSigner/RequiredInformation.tsx 0.00% 70 Missing ⚠️
... and 15 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
- Coverage   13.59%   12.22%   -1.37%     
==========================================
  Files         104      116      +12     
  Lines        6769     7638     +869     
  Branches      228      240      +12     
==========================================
+ Hits          920      934      +14     
- Misses       5849     6704     +855     
Flag Coverage Δ
unittests 12.22% <1.04%> (-1.37%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -34,3 +34,12 @@ export const truncateFileName = (name: string) => {
? `${baseName.slice(0, 5)}...${baseName.slice(-3)}${extension}`
: name;
};

export const getInitials = (name: string): string => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be awesome to have some tests for this. (e.g. with "", "a", "a z", "abc bcd cde", etc.)

@mjkeaton
Copy link
Collaborator

@cryptosalomao Let me know when this is ready for review 🙏

@cryptosalomao cryptosalomao marked this pull request as ready for review December 13, 2024 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants