Fix: Search Input Placeholder Text Inconsistency #506
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
The placeholder text in the search input on the Processing website shows inconsistency. Initially, it displays 'Search,' but upon clicking the input box, it changes to 'Search with Google,' deviating from the expected behavior of consistently displaying 'Search with Google.'
Fixes Issue: #502
Changes Made
Modified the
id
property for the search input to ensure the placeholder text remains 'Search with Google' both before and after clicking on the input box.id: focused ? 'searchWithGoogle' : 'search'
id: 'searchWithGoogle'
Updated the placeholder text in the code to reflect the expected behavior.
"search": "Search"
to"search": "Search with Google"
"search": "Buscar"
to"search": "Buscar con Google"
Test
Verified the changes by following the steps to reproduce the issue:
Additional Notes
These changes address the placeholder text inconsistency and align the behavior with the expected outcome. The modified code ensures a better user experience on the Processing website by providing clear and consistent placeholder text in the search input.
Please review and merge these changes. If there are any concerns or questions, feel free to discuss them in the comments.
Attached a video demonstration showcasing the implemented changes. The demo illustrates the search input behavior confirming that the placeholder text now consistently displays 'Search with Google'.
Processing-Website-Fix.mp4