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

[Dataset page] Main block #11

Merged
merged 23 commits into from
Feb 8, 2024
Merged

[Dataset page] Main block #11

merged 23 commits into from
Feb 8, 2024

Conversation

tkohr
Copy link
Member

@tkohr tkohr commented Feb 5, 2024

The PR adds the section visible on the screenshot below.

Amongst others

  • it adds a button-primary.component that can be reused in other parts of the app. I decided for an angular component instead of a tailwind component to centralize the indication of the icons' path.
  • it adds the functionality to edit favorites, which can be reused in other parts of the app (possibly by refactoring the component into a base component and various extending components)

To-dos:

  • add e2e tests
  • possibly improve refreshing favorite search state
  • move icons into dedicated folder
  • only enable favorite button when logged in
  • use markup parser for abstract

dataset_abstract

@tkohr tkohr force-pushed the dataset-abstract branch 2 times, most recently from 4927497 to 3a11f0d Compare February 7, 2024 16:00
@tkohr tkohr marked this pull request as ready for review February 7, 2024 16:01
Copy link
Contributor

@Angi-Kinas Angi-Kinas left a comment

Choose a reason for hiding this comment

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

This looks great already! Thanks a lot!

The most significant thing I discovered while testing, was the disabled style of the favorite button when being clicked and also on hover on all the buttons. You can check their design system for reference (https://zeroheight.com/3b9e7ec84/p/937c12-boutons/b/32e1a2).

tkohr added 21 commits February 8, 2024 11:51
and display list with gn-ui components for now
…e-star by favorite-heart

allowing to reuse the connect tooltip from gn-ui
Copy link
Contributor

@Angi-Kinas Angi-Kinas left a comment

Choose a reason for hiding this comment

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

LGTM 👍
Thanks for the refactoring :)

@tkohr
Copy link
Member Author

tkohr commented Feb 8, 2024

Thanks for the reviews @Angi-Kinas !

@tkohr tkohr merged commit a155970 into main Feb 8, 2024
7 checks passed
@tkohr tkohr deleted the dataset-abstract branch February 8, 2024 13:19
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