-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
532e990
to
11f0b3a
Compare
apps/datahub/src/app/common/results-list/results-list-grid/results-list-grid.component.ts
Outdated
Show resolved
Hide resolved
apps/datahub/src/app/common/results-list/results-list-grid/results-list-grid.component.html
Outdated
Show resolved
Hide resolved
.../common/results-list-item/results-card-last-created/results-card-last-created.component.html
Outdated
Show resolved
Hide resolved
.../common/results-list-item/results-card-last-created/results-card-last-created.component.html
Outdated
Show resolved
Hide resolved
apps/datahub/src/app/common/results-list/results-list-grid/results-list-grid.component.ts
Outdated
Show resolved
Hide resolved
.../common/results-list-item/results-card-last-created/results-card-last-created.component.html
Outdated
Show resolved
Hide resolved
02a56ff
to
82ed697
Compare
There was a problem hiding this 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.
.../common/results-list-item/results-card-last-created/results-card-last-created.component.html
Outdated
Show resolved
Hide resolved
{{ record.abstract }} | ||
</p> | ||
</div> | ||
<h1 class="font-bold text-[17px] line-clamp-2"> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
...pp/common/results-list-item/results-card-last-created/results-card-last-created.component.ts
Outdated
Show resolved
Hide resolved
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
adapt style
Fix CI by adding geojson type to dev dependency
93db0c8
to
ab006b3
Compare
This PR adds the "results-card-last-created" for the homepage:
Clicking on the card leads you to the dataset details page. Clicking on the keyword, sets the search filter to the keyword.