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

feat(DH): Add card last created #7

Merged
merged 7 commits into from
Feb 1, 2024
Merged

feat(DH): Add card last created #7

merged 7 commits into from
Feb 1, 2024

Conversation

Angi-Kinas
Copy link
Contributor

@Angi-Kinas Angi-Kinas commented Jan 30, 2024

This PR adds the "results-card-last-created" for the homepage:

image

Clicking on the card leads you to the dataset details page. Clicking on the keyword, sets the search filter to the keyword.

Copy link
Member

@tkohr tkohr left a comment

Choose a reason for hiding this comment

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

Thanks for the precise implementation @Angi-Kinas ! I've left some more comments inline.

apps/datahub-e2e/src/e2e/home.cy.ts Outdated Show resolved Hide resolved
{{ record.abstract }}
</p>
</div>
<h1 class="font-bold text-[17px] line-clamp-2">
Copy link
Member

Choose a reason for hiding this comment

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

Could it make sense to define a tailwind component for card titles, for example?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes and no. In the favorite card the title is only supposed to be one line... that leaves only font-bold text-[17px] for the tailwind component. I don't know if it's worth the implementation.

for mel-badge-button,
finish styling card
from current project,
adjust some design,
use angular17 if and for,
fix update search with routerFacade
add e2e tests for testing card on homepage
Fix CI by adding geojson type to dev dependency
@Angi-Kinas Angi-Kinas merged commit aa8b0f5 into main Feb 1, 2024
6 checks passed
@Angi-Kinas Angi-Kinas deleted the card-last-created branch February 1, 2024 14:23
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