Closed
Bug 1094818
Opened 9 years ago
Closed 6 years ago
Use Bookmarks.jsm in controller.js
Categories
(Firefox :: Bookmarks & History, defect, P1)
Firefox
Bookmarks & History
Tracking
()
People
(Reporter: mak, Assigned: mak)
References
(Blocks 2 open bugs, )
Details
(Keywords: perf, Whiteboard: [reserve-photon-performance] [fxsearch])
Attachments
(1 file, 2 obsolete files)
This involves changes to controller.js, browserPlacesViews.js, tree.xml, treeview.js And very likely some parts of PlacesUIUtils.
Updated•9 years ago
|
Flags: firefox-backlog+
Assignee | ||
Updated•9 years ago
|
Points: --- → 8
Flags: qe-verify+
Comment 1•9 years ago
|
||
Nothing to fix in browserPlacesViews.js and tree.xml afacit. In treeView.js, the only problem is getKeywordForBookmark (because there's no node.keyword). Fixing this is possible, but somewhat annoying (getCellText is synchronous, so we will have to return "", get the keyword and cache it, invalidate the row and return the cached value from getCellText). Alternatively, we could introduce node.keyword, or just do away with the keyword column in the Library (the usecase is very unclear to me). Most of the work to be done is in PlacesUIUtils.
Assignee | ||
Comment 2•9 years ago
|
||
(In reply to Mano (::mano, needinfo? for any questions; not reading general bugmail) from comment #1) > just do > away with the keyword column in the Library (the usecase is very unclear to > me). I'd be fine with getting away with the keyword column. very few bookmarks have keywords, and then we'd better serve the "find all keywords" use case with a Keywords left pane root (I'm not suggesting we do that, but we could ideally)
Assignee | ||
Comment 3•8 years ago
|
||
split keyword column removal to bug 1145063.
Assignee | ||
Comment 5•8 years ago
|
||
there is a call to getKeywordForBookmark and various bookmarks calls in editBookmarkOverlay.js various bookmarks calls in controller.js and, as said, various bookmarks calls in PlacesUIUtils.jsm Some of these will be very tricky since bound to synchronous behaviors (drag&drop or building the Library left pane)
Updated•8 years ago
|
Iteration: --- → 40.3 - 11 May
Assignee | ||
Comment 6•8 years ago
|
||
It's very unlikely we can fix PlacesUIUTils here, a lot of code depends on the synchronous behavior of PlacesUIUtils.leftPaneFolderId and friends (PUIU.leftPaneQueries, PUIU.allBookmarksFolderId, PUIU.getLeftPaneQueryNameFromId, PUIU.isContentsReadOnly) Those require a so deep refactoring that I need to split them to their own bug. That won't block async bookmarks milestone 1 though, it would be too expensive for now.
Assignee | ||
Comment 7•8 years ago
|
||
filed bug 1161091.
Assignee | ||
Comment 8•8 years ago
|
||
Assignee | ||
Comment 9•8 years ago
|
||
Updated•8 years ago
|
Iteration: 40.3 - 11 May → 41.1 - May 25
Assignee | ||
Updated•8 years ago
|
Priority: -- → P1
Updated•6 years ago
|
Whiteboard: [qf]
Updated•6 years ago
|
Blocks: photon-performance-triage
Updated•6 years ago
|
Iteration: 41.1 - May 25 → ---
Points: 8 → ---
Flags: qe-verify-
Flags: qe-verify+
Flags: firefox-backlog+
Whiteboard: [qf] → [photon-performance] [qf]
Updated•6 years ago
|
Whiteboard: [photon-performance] [qf] → [photon-performance] [qf:p1]
Updated•6 years ago
|
Whiteboard: [photon-performance] [qf:p1] → [photon-performance] [qf:p1][fxsearch]
Assignee | ||
Updated•6 years ago
|
Status: ASSIGNED → NEW
Priority: P1 → P2
Updated•6 years ago
|
Blocks: photon-perf-menus
Updated•6 years ago
|
No longer blocks: photon-performance-triage
Updated•6 years ago
|
Priority: P2 → P3
Whiteboard: [photon-performance] [qf:p1][fxsearch] → [reserve-photon-performance] [qf:p1][fxsearch]
Updated•6 years ago
|
Whiteboard: [reserve-photon-performance] [qf:p1][fxsearch] → [reserve-photon-performance] [qf:p2][fxsearch]
Assignee | ||
Updated•6 years ago
|
Priority: P3 → P2
Updated•6 years ago
|
Status: NEW → ASSIGNED
Priority: P2 → P1
Assignee | ||
Updated•6 years ago
|
Summary: Use Bookmarks.jsm in controller and UI views → Use Bookmarks.jsm in controller.js
Assignee | ||
Comment 10•6 years ago
|
||
I'm splitting out a separate bug for editBookmarkOverlay.js
Assignee: mak77 → nobody
Status: ASSIGNED → NEW
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Attachment #8604228 -
Attachment is obsolete: true
Assignee | ||
Updated•6 years ago
|
Attachment #8604229 -
Attachment is obsolete: true
Updated•6 years ago
|
Priority: P1 → P3
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 11•6 years ago
|
||
Not everything is feasible here, canDrop() cannot be easily converted, it needs a way to synchronously fetch the whole hierarchy when dragging a folder. Maybe we could fetch that hiearchy at the time we populate the dataTransfer/clipboard, but that's still a synchronous operation (at least for D&D). There's work ongoing to convert D&D to async, that may help. In the meanwhile, we'll have to keep getFolderIdForItem around and file a bug apart to fix in the future.
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Updated•6 years ago
|
Priority: P3 → P1
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Attachment #8888748 -
Flags: review?(standard8)
Comment 13•6 years ago
|
||
mozreview-review |
Comment on attachment 8888748 [details] Bug 1094818 - Use Bookmarks.jsm in controller.js. https://reviewboard.mozilla.org/r/159784/#review168768 Looks good.
Attachment #8888748 -
Flags: review?(standard8) → review+
Comment 14•6 years ago
|
||
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/e72d0fc07a0b Use Bookmarks.jsm in controller.js. r=standard8
Comment 15•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e72d0fc07a0b
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Updated•6 years ago
|
Iteration: --- → 57.1 - Aug 15
Updated•1 year ago
|
Performance Impact: --- → P2
Whiteboard: [reserve-photon-performance] [qf:p2][fxsearch] → [reserve-photon-performance] [fxsearch]
You need to log in
before you can comment on or make changes to this bug.
Description
•