-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Importer UI overhaul rebase/update #3721
Conversation
Wow! This would be awesome to finally get finished! Thanks for taking this on. Instead or targeting the ui branch, I think if you target master it will help you find actual conflicts and make the diff much more manageable Edit: not sure if you can change the target branch on your end without opening a new PR or not. If you can't I can change it for you. |
This is amazing. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I would love to keep this overhaul in play. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Yes, let's keep it open. |
After some hefty re-working of the great work by @mxmerz (now over 5 years ago!) I'm hopeful that these changes are ready for a code review, and some documentation / publicity. If anyone would like to help add some screenshots from their setups it could be a good opportunity for non-code contributions to beets! I've moved the vast majority of the new UI into the The changes are best understood via |
Absolutely incredible work! Thank you for reviving this effort. I would love to merge this in when we're confident in it! Would you mind doing a little publicity to encourage some extra pairs of eyes on the new UI? As you mentioned, getting people to try it out and take screenshots would be an awesome non-code contribution to the project. Perhaps you could make a post or two in the GitHub Discussions area and/or on Discourse to help encourage people to take a look? |
This is amazing, any ETA for a merge? |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, I'd hope this is still relevant, although this PR has indeed gone stale. |
Rebased on latest master, and removed the unnecessary lines from the diff (blank lines or apostrophe substitutions). Happy for this to be reviewed and merged! |
I have to confess that I still haven't tested this myself; but I'll try to gradually read the code, hopefully sooner than later. One small thing upfront: I think we can drop all the explicit unicode prefixes |
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.
Added a first round of comments, see the inline notes.
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.
... and a few more suggestions :)
Hi @wisp3rwind I've implemented the changes you suggested, apologies for the delay. This is ready for a re-review and (hopefully) merge. |
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.
Two small nitpicks on the new changes, otherwise they're looking great!
hey @wisp3rwind I have addressed the comments you made. |
to config reference docs.
Fixes behaviour to what we documented already.
Instead of just stating config_default.yaml's values, provide a copy/paste-able example that changes _all_ the values and still kind of works (visually).
to make linking to it possible.
"Major new features:" similar to what we had with 1.6.0.
@Serene-Arc after resolving the conflict because of the just-merged #4547 I'm getting this error in the new UI. You know by heart if I failed with the conflict-resolving or if it really is an incompatibility with the new UI?
|
Almost certainly the latter. I wrote that PR so I'll take a look. |
Might have to wait a few hours, Musicbrainz doesn't seem to be responding correctly. Either that or it's a bug with the new interface? I'm not sure. |
Got it working, I can't for the life of me remember what that option was supposed to be but it doesn't exist on the album info object, so I removed it from the default configuration. In other words, all good now. |
Awesome, thanks for fixing so quickly! OMG, I'll hit that b.... |
OMG, 8 (in words: "Eight") years later....beets finally has an updated importer UI. Thanks to @RollingStar, @Serene-Arc for the awesome teamwork! @sampsyo and @wisp3rwind, @arsaboo and @wazabees for testing, all the others I'm sure I forgot to mention that tested or sent feedback and everyone else I forgot! But most of all, thanks to @mxmerz for the initial implementation, and @davidswarbrick for bringing it back to life and fixing some rather nasty, tricky bugs!!! ❤️ ❤️ ❤️ |
This is awesome guys....thanks to everyone who contributed to (and more importantly persisted with) this. Let us keep an eye out for bugs as more folks test the new UI. |
Haha, so apparently it took eight (or more) people eight years to clean up my messy code 😉 But in all seriousness – thanks to you all! Truly incredible, I can't wait to try it out! |
Thanks to all who contributed, reviewed, documented, reported bugs and fixed (& continues to fix) them! So excited to see these changes in the main branch and get them out into the wider beets community!! |
"Major new features:" similar to what we had with 1.6.0.
@davidswarbrick I think I found a regression in this changes. When someoen uses non dark theme, like me for last couple of weeks, it leads to almost not used UI. See: You may repeat it by used Xterm with this theme: https://github.com/janoamaral/Xresources-themes/blob/master/light/PaperColor.Xresources |
Hi @catap, if you could open a bug for this, it'll be easier to track. |
@Serene-Arc here it is: #5342 |
Colors can be configured: https://beets.readthedocs.io/en/stable/reference/config.html#colors |
Description
Continuing work on PR #1685 implementing an improved UI, with more discussion/screenshots at #1593.
Previous work has been rebased on
beetbox/beets/master
. Currently I've fixed many of the tests which were failing due to the code targeting Python 2.7 (such asisinstance(basestring)
) taking care to retain backwards compatibility so that we can get this into release 1.5.0. The current tests that are failing are asserting the output of the UI,I'm not sure if that's because they are yet to be updated for the new UI but that shouldn't be hard to address if soUpdate: The failing tests were due to a change in UI. I've adjusted the failing tests to match the new UI output, however there are extra tests that must be written to check, for example, Unicode output of the "not equals" sign if we wish to adopt the new UI.Once all tests are passing a substantial reformat is needed to adhere to
flake8
rules, I'd prefer to do this with black in one commit but that might be best to do after #3694 is merged.To Do
master
branchflake8
(might be easiest to automate whitespace with black)docs/changelog.rst
near the top of the document