-
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
Component | Donut: Half Donut Label Placement #9
Conversation
a9a59ca
to
aaa02bd
Compare
4df0ae7
to
66f8c87
Compare
Thanks @rokotyan for the feedback! I made the change, then edited the Git history so there's only one commit now. If this looks good, feel free to merge and publish. Thanks! |
29dcbed
to
d16517b
Compare
@rokotyan It looks like somehow these changes made it into the I made an additional change here.based on feedback from @jakubjosef , then squashed the commit as you mentioned I should always do, and I think now the git history is in a strange place. I could do something like make a new PR with just the type change? It's pretty minor. |
Also curious if I should merge my own PRs on this repo or let you do it @rokotyan , since it's usually tied to releases. Please let me know your preference. Thanks! |
Nikita said in that Slack threat he published it from this PR. Just fix this PR and Nikita will publish new version from it. For some reason he doesn't want to merge it... |
I mean in the commit history on the ![]() https://github.com/ExaForce/unovis/commits/1.5.0-exaforce/ I would have expected this PR to automatically get closed if the branch was merged, even if from CLI. IMO there's a lot of overhead and confusion around "cleaning up" the commit history by squashing commits and force pushing branches. My preference would be to just let the commits stack up and leave the history intact, so that we can leverage all the various GitHub features like automatically merging PRs, and keeping the ability to view the before/after on specific commits, which are tied to the comment threads on the PRs. I think many of those features get broken when I do the force push on the branch, which is required to re-write the commit history with the really nice and clean commit messages. |
@curran It's easy - just maintain nice commit history on your own. Squash feature makes people lazy and just throwing random commits because "it would be eventually squashed". I'm sad we have this enforced for our main repo, but that's my personal opinion. Also using force-push on feature branches is normal, I'm doing it multiple times a day - when you need to add something to existing commit you should use amend and force push - this way you can maintain clean history very easily. |
@curran Let's discuss it on our sync on Friday. This puzzle has many pieces because we also want the same changes to be contributed to the main Unovis repo. |
Currently I'm merging and releasing manually |
Exactly! This is the pattern we need to figure out. |
Current plan:
|
d16517b
to
e9e6c96
Compare
Requesting re-review please @rokotyan . I think this could be ready to go. Thanks! |
@curran The code looks elegant, I like it! I'm planning to run it tomorrow and if everything goes well, I'll release it |
Closing in favor of #11 |
This PR contains a simple solution to the half donut label placement problem that also could be used in the general case of donuts. Thank you @rokotyan for this suggestion!
If we will ultimately be doing text size estimation/measuring, then the changes in the other PR
may not make sense to add yet.
Proposed plan: