Skip to content

(rejected)[ENCHANCEMENT] Additional Functionality for Playbars #4229

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

Closed

Conversation

Trofem
Copy link

@Trofem Trofem commented Feb 26, 2025

INGNORE ALL THIS, moved to #4861

Does this PR close any issues? If so, link them below.

Fixes #4141

Briefly describe the issue(s) fixed.

Enhancement:
This PR adds turning on/off logic for all playbars:

Difficulty (playbarDifficulty)

  • Ctrl + Click -> open/close Difficulty Window

BPM (playbarBPM)

  • Ctrl + Click -> open/close Metadata Window

Note Snap (playbarNoteSnap)

  • Ctrl + Click -> open/close Note Window

Song Remaining Time (playbarSongRemaining) (new toolbox function) (hovering color added)

  • Click -> open/close Offsets Window

Also:

Include any relevant screenshots or videos.

23_-_03_2025_18-53-55.mp4

изображение

@github-actions github-actions bot added pr: haxe PR modifies game code. status: pending triage Awaiting review. labels Feb 26, 2025
@github-actions github-actions bot added the size: medium A medium pull request with 100 or fewer changes. label Feb 26, 2025
@Hundrec Hundrec added the type: enhancement Involves an enhancement or new feature. label Feb 26, 2025
@AbnormalPoof AbnormalPoof added the topic: chart editor Related to the operation of the Chart Editor. label Feb 26, 2025
@Lasercar
Copy link
Contributor

Hey, allow me to welcome you for making your first PR!

Though usually, when you have an issue with an existing PR, you simply request changes on it, rather than making your own that makes the change, plus doing more.

I'd make this PR only do the additional changes you've made, and make a PR on my branch for your changes, to mine or suggest changes to it.

@amyspark-ng
Copy link
Contributor

image
i'd make the remaining time thing to have the same glow these do

@Trofem
Copy link
Author

Trofem commented Feb 26, 2025

@Lasercar Oh ok, i could make it as addition to yours

@Trofem
Copy link
Author

Trofem commented Feb 26, 2025

I guess I need to finish this branch and try to PR to yours?

@Lasercar
Copy link
Contributor

Lasercar commented Feb 26, 2025

Yeah, but keep your additional changes - adding the same functionality to note snap and song remaining time, separate, as I had no part in doing that, ofc.

@Lasercar
Copy link
Contributor

Lasercar commented Feb 26, 2025

Actually, no, I'll take the loss on this one, there's no way to separate the changes cleanly.

Don't worry about doing that now, I've closed my PR. You can edit the descriptions of your PRs to remove the part about the conflict with mine.

@Trofem
Copy link
Author

Trofem commented Feb 26, 2025

@Lasercar Oh damn, I guess it will be easier, But I actually used your solution with toolbar.selected, so you are made the contribution with it (Without it I wouldn't have a single idea). I just will change to "made on the basis of" your PR. Ok?

@Lasercar
Copy link
Contributor

Lasercar commented Feb 26, 2025

Sure! I'm a little surprised that you learned off my code and figured out a better implementation. That's never happened to me before!

@Trofem
Copy link
Author

Trofem commented Feb 27, 2025

i'd make the remaining time thing to have the same glow these do

done
PS 3/23
Also updated video to show assets changes

@github-actions github-actions bot added size: large A large pull request with more than 100 changes. pr: documentation PR modifies documentation or README files. pr: github PR modifies GitHub metadata files. and removed size: large A large pull request with more than 100 changes. size: medium A medium pull request with 100 or fewer changes. labels Apr 19, 2025
@Hundrec Hundrec added status: needs revision Cannot be approved because it is awaiting some work by the contributor. and removed status: pending triage Awaiting review. labels Apr 19, 2025
@Hundrec
Copy link
Member

Hundrec commented Apr 19, 2025

Oops! Be sure to rebase your PR on the develop branch!

@Trofem
Copy link
Author

Trofem commented Apr 19, 2025

oh yea i sure did a mess.

@github-actions github-actions bot added the size: large A large pull request with more than 100 changes. label Apr 19, 2025
@Lasercar
Copy link
Contributor

Lasercar commented Apr 19, 2025

Ahhhh, when you're getting the new changes, always add --rebase to the pull/fetch, that way it doesn't create a merge commit.

I'd probably reset it to 1dca768 and then pull --rebase the develop branch, that should hopefully fix all this.

@Trofem Trofem closed this Apr 19, 2025
@Trofem Trofem force-pushed the chart-editor-ui-playbars-enchanced branch from d8f5b13 to d86fe68 Compare April 19, 2025 09:14
@github-actions github-actions bot added size: small A small pull request with 10 or fewer changes. and removed size: large A large pull request with more than 100 changes. labels Apr 19, 2025
@Hundrec Hundrec added status: rejected Issue did not pass review or PR cannot be approved. and removed type: enhancement Involves an enhancement or new feature. topic: chart editor Related to the operation of the Chart Editor. status: needs revision Cannot be approved because it is awaiting some work by the contributor. size: small A small pull request with 10 or fewer changes. pr: haxe PR modifies game code. pr: documentation PR modifies documentation or README files. pr: github PR modifies GitHub metadata files. labels Apr 19, 2025
@Lasercar
Copy link
Contributor

Lasercar commented Apr 19, 2025

You can still fix this, you just have to cherry pick your commits back.

be92f9d
1dca768

git cherry-pick <commit-hash>

so, that'd be

git cherry-pick be92f9d797a18c1978746b1276a65d557fca8e80
and
git cherry-pick 1dca768402a9020d73dec7d9b0ec6272a6d276d0

Might have to fetch them from your fork first though?

For example: git fetch https://github.com/Trofem/Funkin.git be92f9d797a18c1978746b1276a65d557fca8e80

@Trofem
Copy link
Author

Trofem commented Apr 19, 2025

on repo it is fixed but pr is broken. i will later create another pr with same content later once i will get how to manage them more correctly.

@Trofem
Copy link
Author

Trofem commented Apr 19, 2025

also thanks Lasercar. damn, i would be in loss without your help

@Lasercar
Copy link
Contributor

Lasercar commented Apr 19, 2025

Oh, I had a look at it, uh

There's a double up of the commits

Also, whenever you update your develop and/or main branch on your fork to match the upstream, you still have to do it for your local (aka computer) branch, idk if you already know that or not.

git reset --hard 6b9f8d0 should fix that double up

That'll hard reset it to Trofem@6b9f8d0

Hmm, but that merge commit that'd still be included in changes though, so maybe reset back to Trofem@edb270d instead?

And then git pull https://github.com/FunkinCrew/Funkin.git develop --rebase on your playbar branch?

When you get conflicts and have to merge it, you basically want to accept the changes that aren't overriding your stuff, and then accept your changes so that they don't disappear.

If you get both in the same position, then you'll have to fix the conflict manually.

rebasing is basically like a regular merge but it removes commits that don't exactly change anything (depending on how you fix the conflicts, that is), and doesn't create a merge commit.

@Trofem Trofem changed the title [ENCHANCEMENT] Additional Functionality for Playbars (rejected)[ENCHANCEMENT] Additional Functionality for Playbars Apr 28, 2025
@Hundrec Hundrec added status: duplicate Issue or PR is redundant to another. and removed status: rejected Issue did not pass review or PR cannot be approved. labels May 13, 2025
Copy link

This pull request is a duplicate. Please direct all discussion to the original pull request.

@EliteMasterEric EliteMasterEric added the size: tiny A tiny pull request with 4 or fewer changes. label May 14, 2025
@Hundrec Hundrec added size: medium A medium pull request with 100 or fewer changes. and removed size: tiny A tiny pull request with 4 or fewer changes. labels May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: medium A medium pull request with 100 or fewer changes. status: duplicate Issue or PR is redundant to another.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants