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

chore(PaymentCard): refactor payment card to ts #3625

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

Conversation

AadneRo
Copy link
Contributor

@AadneRo AadneRo commented May 29, 2024

  • rewrite the component to typescript
  • remove all use of the daggy library
  • Implement new custom card api
  • Re-write the docs for the component

Please test and give feedback on the docs I've added here

Copy link

vercel bot commented May 29, 2024

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

Name Status Preview Comments Updated (UTC)
eufemia ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 11:16am

@AadneRo AadneRo changed the title Chore/refactor payment card to ts chore(PaymentCard): refactor payment card to ts May 30, 2024
@AadneRo AadneRo force-pushed the chore/refactor-payment-card-to-ts branch from ef394c1 to 26017b1 Compare June 7, 2024 13:13
Copy link
Contributor

@langz langz left a comment

Choose a reason for hiding this comment

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

So far, this looks nice 🍏

Copy link

codesandbox-ci bot commented Jun 13, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

| `Expired` |
| `Blocked` |
| `Active` |
| Properties | Type | Description |
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you think I should change this as well?

@AadneRo AadneRo marked this pull request as ready for review June 14, 2024 10:40
Copy link
Member

@tujoworker tujoworker left a comment

Choose a reason for hiding this comment

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

Would be cool to have an entry in the v11.mdx file ⭐

Copy link
Contributor

@langz langz Jun 14, 2024

Choose a reason for hiding this comment

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

I see there's a few changes/updates to a few card designs in this PR:

  • VX1 has gotten bank axept logo added.
  • VX4 has gotten bank axept logo removed.

Are these changes correct?

When looking at the Figma sketch(Not 100% sure if this is the correct source), there I don't find VX1 anymore, and it looks like VX4 has the bank axept logo:

image

I don't know what's correct here. Is there a designer or so that we could ask to verify it?
Just asking them to look through the snapshot/screenshot, and say if they see anything strange.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice, I like this, very good :)

@langz
Copy link
Contributor

langz commented Jun 14, 2024

I think the Sbanken cards that you've implemented looks great.
I had a thought that I could help verify if they look as expected, vs. the source/truth which I assume is in a FIgma file.
Do you have the link to the Figma file, so that I can do a quick comparison between designs and what've implemented in this PR?

Should we also add a link to Sbanken cards in this PR, like we have a link to DNB cards in PaymentCards docs as well.


export const PaymentCardTypeProperties: PropertiesTableProps = {
displayName: {
doc: 'used by the screan reader.',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
doc: 'used by the screan reader.',
doc: 'used by the screen reader.',

@AadneRo
Copy link
Contributor Author

AadneRo commented Jun 14, 2024

I think the Sbanken cards that you've implemented looks great. I had a thought that I could help verify if they look as expected, vs. the source/truth which I assume is in a FIgma file. Do you have the link to the Figma file, so that I can do a quick comparison between designs and what've implemented in this PR?

Should we also add a link to Sbanken cards in this PR, like we have a link to DNB cards in PaymentCards docs as well.

Here is the link, I'll add it to the docs as well
https://www.figma.com/design/4fgS4rHsGJtU9JxE3DWwFO/Eufemia---Web-(Sbanken)?node-id=21096-10019&t=SxGeJNuxR8Cmo4ze-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants