Closed
Bug 1815543
Opened 2 years ago
Closed 2 years ago
Sort the migrators in the new migration wizard in MRU order descending.
Categories
(Firefox :: Migration, enhancement)
Firefox
Migration
Tracking
()
RESOLVED
FIXED
113 Branch
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: mconley, Assigned: steven100695)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
We cannot order the individual profiles by MRU (most-recently-used) order, but we can organize the browser list like this. We should do that to make it easier for users to select the browser that they're more likely to want to migrate from (and to select by default the one that was most recently used).
Reporter | ||
Updated•2 years ago
|
Assignee: nobody → steven100695
Reporter | ||
Comment 1•2 years ago
|
||
The easiest way to do this is to update this method here to include the result of calling await migrator.getLastUsedDate()
and assigning that to some property here.
Then, add another step here to sort the Array of objects by that property that you added. Something like:
return results.flat().filter(result => result).sort((a, b) => {
return a.lastModifiedDate - b.lastModifiedDate;
});
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/86941b3c7c5e
Sort the migrators in the new migration wizard in MRU order descending. r=mconley.
Comment 5•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox113:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•