-
Notifications
You must be signed in to change notification settings - Fork 25
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
Simplify Jump Options #3683
Simplify Jump Options #3683
Conversation
That's from lines like this: A few more things:
|
Oh and I updated your checklist of things for the PR, you checked a bunch of boxes that weren't actually done! 😉 |
Sorry @misaugstad! Will fix it up over the weekend. Sorry about the title 😭 - I think it just took my commit message when I pushed, I forgot to change it. Yes, will change for all languages (that was very helpful), I'll change the text, and I'll parse the code thoroughly for stuff that isn't used/logging related issues. I'll come back with a more thorough pr after the weekend. I will make sure to be more thorough in the PR template and also I will change the wiki appropriately! |
Thanks @aslassi777 and no worries, it's all part of the learning process!! Just looking for improvement going forward, and hoping that you have a better idea of the attention to detail we're looking for! |
thanks @misaugstad, appreciate it... got started on the pull request again, hope to have it done this week! |
…ed uneccessary logs and functions for the first jump page that we removed
…e removed (such as click unavailable, click explore, and cancel first)
@misaugstad made relevant changes to PR. Please tell me if everything looks good, if not I can promptly fix. I updated my original comment! |
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.
So there's still a bunch of stuff that's no longer being used that can be removed! The two buttons that we're no longer using: the HTML hasn't been removed, neither has the translations for the text in those buttons, nor the reference to the HTML ID in Main.js
.
PR is looking more clean though, def an improvement!
Yep! That all makes sense! Wasn't 100 percent sure the translations automatically default to plain english, that's very helpful. I'll go ahead and rename. Renaming makes sense. I did not look at main.js but I will go through that now and remove anything that I see, along with removing the translations for the buttons. Thanks again for pointers @misaugstad, I'll have another PR shortly |
…actored to first box only, and made changes to main and css to reflect refactor in regards to function IDs that were referenced in main and relevant firstbox changes
@misaugstad I think I've fixed everything! very sorry for all of the changes, still learning how everything works together in the code base, your reviews have been very helpful |
… css accordingly to match removal of the html
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.
Okay, still just working on renaming things to wipe away the history that we used to have :) Looks like almost everything that needed to be deleted is gone though!
…e html, renaming the cancel button, and ensuring any traces of all code, including first box and second box have now been removed
@misaugstad all changes are fixed and I took another look. I think we are good to go now! |
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.
Alright, nicely done!! I made a tiny commit to do a final bit of cleanup, but the only thing there to note for you is that you accidentally removed #modal-comment-box
from the CSS file, which messed up the "Feedback" button UI.
Other than that, all I did was reorder the lines in Main.js to match the structure of the HTML, and I added a jquery object for #modal-skip-background
so that it matched everything else.
Thanks for going through all the iteration, I'm really happy with how it looks now! Much more clean :)
thank you for bearing with me @misaugstad! hoping it can only get better from here haha |
Resolves #3676
Removed first page of the jump modal and now it only displays the second page automatically. Also adjusted the text to help users understand that if they are stuck, they should use the "stuck" button instead of jump. Also cleaned/reorganized the code, added some comments to help clarify things.
Edit: Also adjusted code and PR in regards to comments you made at the original PR. I updated the PR title, shortened the length of the sentence, added translations, and removed logs, functions (and event bindings related to those functions) we don't need anymore (removed cancel first, ClickUnavailable, clickExplore) since we removed the first jump page. Didn't update or add any logs, so no changes made to wiki page you mentioned.
Also removed html of the unused buttons and "first box", and also refactored UIModal code and relevant CSS to match. Also adjusted naming of cancelation function, and removed unnecessary HTML calls in main as well as unnecessary translations in NZ file.
Before/After screenshots (if applicable)
Before:

After:

Things to check before submitting the PR