Skip to content

Bug 2003434 - Fallback to mobile bookmarks root if last saved folder does not exist#33

Closed
segunfamisa wants to merge 1 commit intomozilla-firefox:autolandfrom
segunfamisa:sf/bug-2003434-fix-bookmarks-save
Closed

Bug 2003434 - Fallback to mobile bookmarks root if last saved folder does not exist#33
segunfamisa wants to merge 1 commit intomozilla-firefox:autolandfrom
segunfamisa:sf/bug-2003434-fix-bookmarks-save

Conversation

@segunfamisa
Copy link
Copy Markdown
Contributor

@segunfamisa segunfamisa changed the title Bug 2003434 - Fallback to mobile bookmarks root if last saved folder … Bug 2003434 - Fallback to mobile bookmarks root if last saved folder does not exist Jan 21, 2026
@github-actions
Copy link
Copy Markdown
Contributor

View this pull request in Lando to land it once approved.

@segunfamisa segunfamisa force-pushed the sf/bug-2003434-fix-bookmarks-save branch from b2e1a43 to 9a0986e Compare January 21, 2026 13:30
@boek
Copy link
Copy Markdown
Contributor

boek commented Jan 21, 2026

Are there any other places that we may need to do this?

@segunfamisa
Copy link
Copy Markdown
Contributor Author

Are there any other places that we may need to do this?
I'm not really sure. I mostly based this PR on MarkH's work on phab and I added tests.

In my opinion, all of this dance should already be part of our "AddBookmarks" usecase. There's no reason for last saved cache to be used by the menu in order to determine where to save things. That should be part of our flow to add bookmarks.

And that would solve for "other places we should do this".

I have generally found it less than ideal that we have usecases, and we still reference and use the storage layers directly in various places.

I figured this required a slightly more involved refactoring that I wish we would do after we land this quick fix.

What are your thoughts? @boek @MatthewTighe

@boek
Copy link
Copy Markdown
Contributor

boek commented Jan 22, 2026

That sounds great, let's add a follow up and put it on our list.

@lando-prod-mozilla
Copy link
Copy Markdown

Pull request closed by commit cab6a91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants