-
Notifications
You must be signed in to change notification settings - Fork 882
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
helpful Search only visible in advance mode #4203
Conversation
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.
As I said, I am still able to re-create the issue. I have used docker for testing. Also what you have done in Line 503 is the same condition from line 460 and essentially adding line inside 455-457 seems pointless because we have essentially removed a condition and added it again somewhere else .
// Add event listener to remove the search div from the DOM | ||
const modeButton = docById("begIconText"); | ||
closeButton.addEventListener("click", this._hideHelpfulSearchWidget); | ||
modeButton.addEventListener("click", this._hideHelpfulSearchWidget); |
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.
what does this even accomplish? I assume the solution is due to the missing condition from L503
@@ -498,6 +498,9 @@ class Activity { | |||
if (docById("helpfulWheelDiv").style.display !== "none") { | |||
docById("helpfulWheelDiv").style.display = "none"; | |||
} | |||
if (this.helpfulSearchDiv && this.helpfulSearchDiv.parentNode) { |
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.
this makes sense but I am still able to recreate the issue in my local system.
Yes, condition of Line 460 to 464 and Line 496 this two are same. Updated in this commit |
@walterbender Sir, is this okay ? |
and vice versa |
Yes Sir done. Please check |
resolve #4202
The helpful search option is now only visible in advance mode
Screen.Recording.2024-12-29.014923.mp4