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

Cover Art Label & Cover Art Full Size composition with menu #4864

Merged
merged 3 commits into from
Aug 10, 2022

Conversation

fatihemreyildiz
Copy link
Contributor

Hey everyone!

I want to add cover art fetcher [on this PR], but for to do that I need to have another cover art label's without/different menu and DlgCoverArtFullSize. I have tried to make a base class without menu and inherit the existing label-full-size from that. But this caused as code duplication and new files which can make the code base crowded. Also, adding everything in a huge pr would make it difficult to review and also to merge. So, we wanted to move with small steps. Here is the first little PR of the cover art-fetcher.

To display cover arts without menu, I have tried composition approach, according to my tests, if there is no cover art menu passed to these two classes, it doesn't pop-up the menu on right click. In order for me to move forward, I need to find a best solution for to display cover art's with or without menu.

Any feedback would be so good!

Thanks in advance.

Copy link
Member

@daschuer daschuer 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.

src/library/dlgcoverartfullsize.cpp Outdated Show resolved Hide resolved
src/library/dlgtrackinfo.cpp Outdated Show resolved Hide resolved
@daschuer
Copy link
Member

Thank you. I think we can go out of draft state and ask for a second pair of unbiased eyes for review.

@fatihemreyildiz fatihemreyildiz marked this pull request as ready for review July 25, 2022 21:06
@fatihemreyildiz
Copy link
Contributor Author

Done 👍 Thank you for the help and the review!

@daschuer
Copy link
Member

This LGTM.

@fatihemreyildiz can you rebase out the experimental commits?

@ronso0
Copy link
Member

ronso0 commented Jul 26, 2022

(this still needs a 2nd approval : )

I can take a look at the UI in the next days.

@fatihemreyildiz
Copy link
Contributor Author

This LGTM.

@fatihemreyildiz can you rebase out the experimental commits?

Thank you, Done, all clear 👍 . All experimental commits are out and just one left.

@daschuer daschuer requested a review from ronso0 August 9, 2022 05:11
@ronso0
Copy link
Member

ronso0 commented Aug 9, 2022

(this still needs a 2nd approval : )

I can take a look at the UI in the next days.

Oh, when I wrote that I must have confused this PR with the cover art fetcher.
This one doesn't change/add UI, "only" code changes, and for that my expertise is not sufficient 😬
or did I miss something?
I guess someone else needs to take a look.

@daschuer
Copy link
Member

I already did a detailed review. We just need a second pair of eyes that I have not missed something obvious, because I am probably biased. @ronso0 so if there is nothing wrong from you perspective I would be happy about a merge so that we can start to integrate it in the new MusicBrainz dialog. Thank you.

src/library/dlgcoverartfullsize.cpp Outdated Show resolved Hide resolved
src/widget/wcoverartlabel.h Outdated Show resolved Hide resolved
@ronso0
Copy link
Member

ronso0 commented Aug 10, 2022

Alright, LGTM*

@ronso0 ronso0 merged commit 5473fa8 into mixxxdj:main Aug 10, 2022
@fatihemreyildiz
Copy link
Contributor Author

Thank you for the feedback and reviews @daschuer and @ronso0 🐙

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

Successfully merging this pull request may close these issues.

3 participants