Closed
Bug 1135210
Opened 10 years ago
Closed 8 years ago
An empty search on desktop should not say '"" returned X results'
Categories
(Marketplace Graveyard :: Consumer Pages, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cvan, Assigned: waseem.tabraze, Mentored)
References
()
Details
(Keywords: regression, Whiteboard: [good first bug])
Updated•9 years ago
|
Severity: normal → minor
Priority: P3 → P2
Comment 2•9 years ago
|
||
(In reply to Atique Ahmed Ziad from comment #1) > I want to fix this bug.Need Details :) Great! You'll notice that there are two scenarios here. In the search box: 1) a search string of 0 length is accepted 2) a search string that contains multiple consecutive spaces (like " " or " es") reduces the consecutive spaces to one when the search is executed (so, " " becomes " ", and " es" becomes " es"), even though it remains unchanged in the search box So, a straightforward solution might be to check the string when a user submits it in the search box -- and update it accordingly. This would mean that: 1) a search string of 0 length would simply not execute a search 2) a search string that contains multiple consecutive spaces would reduce the consecutive spaces to one (just as it does now), but also in the search box itself
Updated•9 years ago
|
Flags: needinfo?(ddurst)
Updated•9 years ago
|
Whiteboard: [ktlo]
Comment 3•9 years ago
|
||
can I work on this? I have created PR https://github.com/mozilla/fireplace/pull/1230
Comment 4•9 years ago
|
||
The previous PR (submitted by Bharath) is closed, this is good to be picked by anyone.
Mentor: vaishnav.rd
Whiteboard: [ktlo] → [ktlo] [good first bug]
Comment 5•9 years ago
|
||
Hi Kevin, Could you please put here some more information about your suggestions given at https://github.com/mozilla/fireplace/pull/1230. The suggestions given on PR may not be sufficient for a newbie here (as this is a good-first-bug). Thanks, Ram
Flags: needinfo?(kngo)
Comment 6•9 years ago
|
||
I'd just change the displayed search query to "Everything" if there was no input.
Flags: needinfo?(kngo)
Comment 7•9 years ago
|
||
I want to work on this.!
Comment 8•9 years ago
|
||
Sure Dipankar. Assigning you to this bug. For any help you can refer to the documentation at http://marketplace.readthedocs.org/, or ask in #marketplace irc channel. Thanks!
Assignee: nobody → dipankar.sonwane
Status: NEW → ASSIGNED
Comment 9•9 years ago
|
||
FTR Dipankar submitted this PR - https://github.com/mozilla/fireplace/pull/1401. Dipankar, going forward please make sure to put (comment) the PR link on the bug as well.
Comment 10•9 years ago
|
||
Dipankar, thank you for the PR. Looks like the patch could be optimized based on the comments. Are you still working on this?
Flags: needinfo?(dipankar.sonwane)
Comment 11•9 years ago
|
||
clearing assignee as from the github pull request comments Dipankar isn't working on it anymore.
Assignee: dipankar.sonwane → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(dipankar.sonwane)
Comment 12•9 years ago
|
||
I would like to work on this bug . This would be my second good-first-bug.
Flags: needinfo?(vaishnav.rd)
Comment 13•9 years ago
|
||
Assigning this bug to Vidhan. Thanks :)
Assignee: nobody → vidhan1995.jain
Status: NEW → ASSIGNED
Flags: needinfo?(vaishnav.rd)
Comment 14•9 years ago
|
||
I have generated the pull request. Link :https://github.com/mozilla/fireplace/pull/1460
Updated•9 years ago
|
Flags: needinfo?(vaishnav.rd)
Comment 15•9 years ago
|
||
Thanks Vidhan. NI'ing Kevin for review.
Flags: needinfo?(vaishnav.rd) → needinfo?(kngo)
Updated•9 years ago
|
Flags: needinfo?(kngo)
Comment 16•9 years ago
|
||
Hi Vidhan, did you get chance to work on review comments you received on your PR?
Comment 17•9 years ago
|
||
Pull request link generated. https://github.com/mozilla/fireplace/pull/1488
Flags: needinfo?(vaishnav.rd)
Updated•9 years ago
|
Flags: needinfo?(vaishnav.rd) → needinfo?(kngo)
Comment 18•9 years ago
|
||
Any progress on this? If this is still unchanged in two weeks, we'll unassign it. (It looks like you got some feedback from cvan, so you can update that PR accordingly.)
Flags: needinfo?(kngo) → needinfo?(vidhan1995.jain)
Comment 19•9 years ago
|
||
New PR link:https://github.com/mozilla/fireplace/pull/1544
Flags: needinfo?(vidhan1995.jain)
Comment 20•9 years ago
|
||
(In reply to Vidhan Jain from comment #19) > New PR link:https://github.com/mozilla/fireplace/pull/1544 Looks like it's almost there. Are you able to make the recommended change? Let us know.
Flags: needinfo?(vidhan1995.jain)
Updated•9 years ago
|
Assignee: vidhan1995.jain → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(vidhan1995.jain)
Comment 21•9 years ago
|
||
I would like to work on this bug
Comment 22•9 years ago
|
||
Looks like Vidhan is no more working on this bug, assigning this to Vaishali.
Assignee: nobody → vsham20
Comment 23•9 years ago
|
||
(In reply to Ram Dayal Vaishnav [:ramd] from comment #22) > Looks like Vidhan is no more working on this bug, assigning this to Vaishali. i am a newbie and this is my first bug, so can i get some help on how to start
Comment 24•9 years ago
|
||
Hi Vaishali, We have documented few steps for newbies on wiki at https://wiki.mozilla.org/Marketplace/Contributing/Code which should be helpful for you. Let us know if you still have doubts :)
Updated•9 years ago
|
Whiteboard: [ktlo] [good first bug] → [good first bug]
Comment 25•9 years ago
|
||
I would like to work on this bug. This would be my good-first-bug.
Assignee | ||
Comment 26•8 years ago
|
||
Is this bug still open?! I guess it's resolved. Am I wrong? If not, I'm interested to work on this bug.
Flags: needinfo?(vaishnav.rd)
Comment 27•8 years ago
|
||
It is still open.
Assignee | ||
Comment 28•8 years ago
|
||
@David : I'm interested in working on this bug. I'll report the progress soon! Thank You
Updated•8 years ago
|
Flags: needinfo?(vaishnav.rd)
Assignee | ||
Comment 29•8 years ago
|
||
David : Should the search box accept input of length zero and then return "Everything" returns X results or shouldn't it get executed? Thank You.
Comment 30•8 years ago
|
||
I would say that the search box should not accept input of length zero (so, strings that consist of only whitespace characters (space, tab, etc) should not be accepted). This is detailed in #c2. Returning "Everything" (mentioned in #c6) is a sensible explanation of what searching on "" yields, but is probably confusing to the user.
Assignee | ||
Comment 31•8 years ago
|
||
Thanks for the information David. Now I'm clear about the task. Will work in it and report the progress soon.
Assignee | ||
Comment 32•8 years ago
|
||
David : Here's a patch for this bug https://github.com/mozilla/fireplace/pull/1618 I would feel glad if I can get feedback on the patch. Thank You.
Comment 33•8 years ago
|
||
Just bumping this in case you missed the question in github.
Assignee: vsham20 → waseem.tabraze
Flags: needinfo?(waseem.tabraze)
Assignee | ||
Comment 34•8 years ago
|
||
Sorry for the delay David. I was in hospital since a month, So I couldn't go through the mails/github. I was just now looking at it. Will work on it today and ping in you the changes soon. Thank You.
Flags: needinfo?(waseem.tabraze)
Comment 35•8 years ago
|
||
I want to work on this bug. This is my first bug so how do i get started??
Comment 36•8 years ago
|
||
(In reply to Ayush Jain from comment #35) > I want to work on this bug. > This is my first bug so how do i get started?? There is a patch in flight for this. If it does not land, I'll let you know.
Comment 37•8 years ago
|
||
(In reply to David Durst [:ddurst] from comment #36) > (In reply to Ayush Jain from comment #35) > > I want to work on this bug. > > This is my first bug so how do i get started?? > > There is a patch in flight for this. If it does not land, I'll let you know. can you please explain what do you mean by flight??
Flags: needinfo?(ddurst)
Comment 38•8 years ago
|
||
(In reply to Ayush Jain from comment #37) > (In reply to David Durst [:ddurst] from comment #36) > > (In reply to Ayush Jain from comment #35) > > > I want to work on this bug. > > > This is my first bug so how do i get started?? > > > > There is a patch in flight for this. If it does not land, I'll let you know. > > can you please explain what do you mean by flight?? Sorry, idiomatic expression. I mean that there is currently an open Pull Request that would fix this issue, but if the author does not update it, then we're back to needing a patch for this. At that point, you could pick it up.
Flags: needinfo?(ddurst)
Assignee | ||
Comment 39•8 years ago
|
||
@ddurst : Made changes to the PR. :)
Comment 40•8 years ago
|
||
(In reply to Wasim Thabraze from comment #39) > @ddurst : Made changes to the PR. :) Merged! Thank you!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•