Closed
Bug 1409803
Opened 7 years ago
Closed 7 years ago
Whitespace handling for bookmark keywords in full-page edit dialogue
Categories
(Firefox for Android Graveyard :: Awesomescreen, enhancement)
Tracking
(firefox58 fixed)
RESOLVED
FIXED
Firefox 58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: JanH, Assigned: JanH)
References
Details
Attachments
(1 file)
The old Edit Bookmark dialogue has some logic that
- strips any leading/trailing whitespace
- disables the save button if a keyword with spaces mid-string is entered
as keywords with spaces don't work. If we're adding keyword editing to the new dialogue, too (bug 1405215), I need to port that logic as well.
Comment 1•7 years ago
|
||
I think that if you port this logic, it'll solve the problem I've reported in bug 1409758...currently the save button is disabled even if leading/trailing (not middle) white space is present, but it shouldn't since the logic should automatically remove leading/trailing white space, I'm right?
BR,
Alessio
Comment hidden (mozreview-request) |
Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Alessio "Spinus" Moscatello from comment #1)
> ...currently the save button is disabled even if
> leading/trailing (not middle) white space is present, but it shouldn't since
> the logic should automatically remove leading/trailing white space, I'm
> right?
We already do that in old dialogue that's used for Beta and Release and the new one won't be any different once this bug and bug 1405215 are resolved, so I'm not quite sure what you're referring to?
Comment 4•7 years ago
|
||
I've just took a look at the patch, it seems that is precisely what I was looking for :) I'll test it once it'll be integrated in official release :)
Thanks
BR,
Alessio
Updated•7 years ago
|
Flags: needinfo?(cnevinchen)
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8920289 [details]
Bug 1409803 - Copy logic to prevent spaces in keywords to new Edit Bookmark dialogue.
https://reviewboard.mozilla.org/r/191282/#review197362
Attachment #8920289 -
Flags: review?(topwu.tw) → review+
Comment 6•7 years ago
|
||
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.
hg error in cmd: hg rebase -s 41fdaf0948ab -d 44455b744ee8: rebasing 431124:41fdaf0948ab "Bug 1409803 - Copy logic to prevent spaces in keywords to new Edit Bookmark dialogue. r=jwu" (tip)
merging mobile/android/base/java/org/mozilla/gecko/bookmarks/BookmarkEditFragment.java
warning: conflicts while merging mobile/android/base/java/org/mozilla/gecko/bookmarks/BookmarkEditFragment.java! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Assignee | ||
Comment 7•7 years ago
|
||
Rebase conflict with bug 1382049.
Comment hidden (mozreview-request) |
Pushed by mozilla@buttercookie.de:
https://hg.mozilla.org/integration/autoland/rev/41625f3d3a6a
Copy logic to prevent spaces in keywords to new Edit Bookmark dialogue. r=jwu
Comment 10•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Updated•7 years ago
|
Flags: needinfo?(cnevinchen)
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•