Skip to content

Conversation

@gabrielseco
Copy link
Collaborator

@gabrielseco gabrielseco commented Dec 23, 2025

This PR introduces a custom pricing plan card component for the contractor onboarding flow, enabling better visualization and selection of subscription plans.

image

@github-actions
Copy link
Contributor

github-actions bot commented Dec 23, 2025

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 172.81 kB 172.09 kB +717 B (+0.4%) 🔴
Total (raw) 458.75 kB 455.64 kB +3.12 kB (+0.7%) 🔴
CSS (gzip) 16.66 kB 16.46 kB +203 B (+1.2%) 🔴
CSS (raw) 91.06 kB 89.35 kB +1.71 kB (+1.9%) 🔴

Size Limits

  • ✅ Total gzipped: 172.81 kB / 180 kB (96.0%)
  • ✅ Total raw: 458.75 kB / 500 kB (91.8%)
  • ✅ CSS gzipped: 16.66 kB / 25 kB (66.6%)

Largest Files (Top 5)

  1. chunk-CR7AIZKA.js - 12.37 kB (0 B (0%))
  2. styles.css - 8.33 kB (+102 B (+1.2%))
  3. index.css - 8.33 kB (+101 B (+1.2%))
  4. index.js - 5.6 kB (+1 B (+0.0%))
  5. chunk-T6Q7IALZ.js - 5.25 kB (0 B (0%))
View All Files (267 total)
File Size (gzip) Change
chunk-CR7AIZKA.js 12.37 kB 0 B (0%)
styles.css 8.33 kB +102 B (+1.2%)
index.css 8.33 kB +101 B (+1.2%)
index.js 5.6 kB +1 B (+0.0%)
chunk-T6Q7IALZ.js 5.25 kB 0 B (0%)
chunk-XHH6OBBN.js 4.07 kB new
chunk-75H7ASIK.js 3.26 kB 0 B (0%)
chunk-Q2XGTGUQ.js 3.26 kB 0 B (0%)
chunk-K4IKYJ3B.js 3.21 kB 0 B (0%)
chunk-HRG5MSVG.js 3.2 kB 0 B (0%)

✅ Bundle size check passed

@github-actions
Copy link
Contributor

github-actions bot commented Dec 23, 2025

Deploy preview for remote-flows ready!

✅ Preview
https://remote-flows-dlo4263h7-remotecom.vercel.app

Built with commit 1ee4330.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link
Contributor

github-actions bot commented Dec 23, 2025

Deploy preview for remote-flows-example-app ready!

✅ Preview
https://remote-flows-example-g6xtxsa2r-remotecom.vercel.app

Built with commit 1ee4330.
This pull request is being automatically deployed with vercel-action

@gabrielseco gabrielseco changed the title Pbyr 3305 move plans to step 2 feat(contractor-onboarding) - add custom pricing cards Dec 24, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 24, 2025

npm warn exec The following package was not found and will be installed: tsx@4.21.0

📊 Coverage Report

✅ Coverage increased! 🎉

Metric Current Previous Change Status
Lines 87.33% 87.28% +0.04% 🟢
Statements 86.96% 86.92% +0.04% 🟢
Functions 83.30% 83.26% +0.04% 🟢
Branches 78.34% 78.45% -0.10% 🔴

Detailed Breakdown

Lines Coverage
  • Covered: 2750 / 3149
  • Coverage: 87.33%
  • Change: +0.04% (11 lines)
Statements Coverage
  • Covered: 2802 / 3222
  • Coverage: 86.96%
  • Change: +0.04% (11 statements)
Functions Coverage
  • Covered: 788 / 946
  • Coverage: 83.30%
  • Change: +0.04% (2 functions)
Branches Coverage
  • Covered: 1758 / 2244
  • Coverage: 78.34%
  • Change: -0.10% (11 branches)

✅ Coverage check passed

@gabrielseco gabrielseco changed the title feat(contractor-onboarding) - add custom pricing cards feat(contractor-onboarding): add custom pricing plan cards with component override support Dec 24, 2025
@gabrielseco gabrielseco self-assigned this Dec 24, 2025
@gabrielseco gabrielseco marked this pull request as ready for review December 24, 2025 12:08
title: 'Payment terms',
description: 'Choose the plan that best fits your needs.',
type: 'string',
oneOf: [],
Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought we had an endpoint, are you missing some data from it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

mmm, we're still using the endpoint

I'll check and see if I a missing something

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We still have the endpoint but the endpoint doesn't bring us the text data that I added it

Should we add it on the endpoint?

 const: 'urn:remotecom:resource:product:contractor:plus:monthly',
              title: 'Contractor Management Plus',
              description: 'Engage and pay contractors with indemnity coverage',
              'x-jsf-presentation': {
                meta: {
                  features: [
                    'Contract between you and contractor',
                    'Access to all Contractor Management features',
                    '$100K indemnity coverage for penalties',
                    '4X monetary coverage than our competitors  in case of penalties',
                  ],
                },
              },

I added description and meta.features to show it on the UI

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, we can add it to the endpoint, that's best

Copy link
Contributor

@remotecom remotecom Dec 30, 2025

Choose a reason for hiding this comment

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

yes but we might have to hardcode the meta.features part as far as I know, I am modifying the current {{SANDBOX_URL}}/v1/contractors/employments/{{employment_id}}/contractor-subscriptions to drop the employment_id and only return the contractor products

EDIT: Wrong account this is Hamza

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.

4 participants