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

Contracting offering v.0 #17

Merged
merged 20 commits into from
Nov 20, 2024
Merged

Contracting offering v.0 #17

merged 20 commits into from
Nov 20, 2024

Conversation

NaryLozano
Copy link
Collaborator

@NaryLozano NaryLozano commented Nov 12, 2024

Hey this is v0 of contracting offering.

What's new?

  • contracting page
  • components:
    - Asset
    - Credentials
    - Dataset Info
    - Price Card
    - Recommender
    - Terms & conditions modal
    Everything is being rendered with mocked data, from the catalogue you can click any offering and it will take you to the same mocked contracting page
    please make suggestions and pinpoint things that might not be on the figma.

closes #9

@NaryLozano NaryLozano requested a review from xamcost November 12, 2024 16:30
@NaryLozano NaryLozano self-assigned this Nov 12, 2024
@NaryLozano
Copy link
Collaborator Author

Screenshot 2024-11-12 172342

Base automatically changed from migration/publishform to main November 12, 2024 18:20
Copy link
Collaborator

@xamcost xamcost left a comment

Choose a reason for hiding this comment

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

Thank you for this work @NaryLozano ! This is pretty neat for a first draft. I've dropped a few comments/suggestions, let me know if you want to discuss them.

src/app/catalogue/asset/components/Asset.jsx Outdated Show resolved Hide resolved
src/app/catalogue/asset/components/Asset.jsx Outdated Show resolved Hide resolved
src/app/catalogue/asset/components/PriceCard.jsx Outdated Show resolved Hide resolved
src/app/catalogue/asset/components/PriceCard.jsx Outdated Show resolved Hide resolved
src/app/catalogue/asset/components/PriceCard.jsx Outdated Show resolved Hide resolved
src/app/catalogue/asset/page.js Outdated Show resolved Hide resolved
@NaryLozano NaryLozano requested a review from xamcost November 13, 2024 17:03
@NaryLozano NaryLozano marked this pull request as ready for review November 13, 2024 17:04
@NaryLozano NaryLozano force-pushed the feat/contracting-page-v0 branch from ccf0d99 to 8ba4361 Compare November 14, 2024 15:08
Copy link
Collaborator

@xamcost xamcost left a comment

Choose a reason for hiding this comment

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

Thank you for your efforts @NaryLozano ! The new offering contracting page is really looking great! I don't have deep structural changes to suggest, only small sugestions here and there. Let me know if any of them need clarification.

src/app/catalogue/asset/components/Asset.jsx Outdated Show resolved Hide resolved
src/app/catalogue/asset/components/Asset.jsx Outdated Show resolved Hide resolved
src/app/catalogue/asset/components/Asset.jsx Outdated Show resolved Hide resolved
src/app/catalogue/asset/components/Asset.jsx Outdated Show resolved Hide resolved
src/app/catalogue/asset/components/Credentials.jsx Outdated Show resolved Hide resolved
src/app/catalogue/asset/components/Asset.jsx Outdated Show resolved Hide resolved
src/app/catalogue/asset/components/ProviderCard.jsx Outdated Show resolved Hide resolved
{recommendations.map((offering, index) => {
return (
<Link key={`${offering.title}-${offering.created_at}-${index + 1}`} href='#'>
<OfferingItem
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks a bit cramped with OfferingItem out of the box, and in case the name of the provider ends up being a little long, it may look ugly. Anyway, since we do not have the backend yet for all this, I would suggest not spending time on this, we can simply remove the dataset entry, and impose a minimum space between the left and right side of the card. What do you think ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I created a new component with a few modifications, let me know what you think :)

src/app/catalogue/components/OfferingItem.jsx Outdated Show resolved Hide resolved
@NaryLozano NaryLozano changed the title Add Asset,PriceCard amd DatasetInfo components Contracting offering v.0 Nov 20, 2024
Copy link
Collaborator

@xamcost xamcost left a comment

Choose a reason for hiding this comment

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

Awesome work, thank you @NaryLozano ! This page looks fierce great, let's get back to it once we get the backend sorted out.

@xamcost xamcost merged commit 3181aac into main Nov 20, 2024
@xamcost xamcost deleted the feat/contracting-page-v0 branch November 20, 2024 19:00
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.

Implement the offering contracting page v0 (with no backend)
2 participants