#####Background
See Epic: {T384758}
#####Requirements
- Users can open articles in new tabs and go to them, or open them in the background for reading later
- Update the long-press contextual menu across the app to add two new options
- ‘Open in new tab’ (opens article link in new tab, and takes the user there)
- ‘Open in new background tab’ (opens article link in new tab, and does NOT take the user there)
- These two options always open the article in a new tab (regardless of whether an item is already open).
- Keep current behavior in when navigating links in articles with a short press
- Update the default behavior for opening articles with a short press
- Web browser:
- Article opens in new tab, user is taken there.
- If the tab limit is reached (500), the article opens in the current tab.
- Search input (anywhere in the app)
- Article opens in the current tab, user is taken there
- Explore:
- Article opens in the current tab, user is taken there.
- Places:
- Article opens in the current tab, user is taken there.
- Saved:
- Article opens in the current tab, user is taken there.
- History
- Article opens in the current tab, user is taken there.
- Anywhere else:
- Article opens in the current tab, user is taken there.
Nice-to-have
- Switch to existing tabs when an article is already open, instead of opening a new one [1]
- For web browsers: If the article is open at the top of an existing tab, switch to it
- For in-app search (anywhere in the app): If the article is open at the top of an existing tab, switch to it
[1] The history of that tab is not that important in this scenario. The main point is that tabs shouldn’t be duplicated to stay manageable. Back could simply take users to the root view from where the tabs has been opened initially (e.g. Explore, Places, Saved, History, Search).
#####Designs ([[ https://www.figma.com/design/Z7ms5T86rziBoY9XKBOy62/iOS---Tabs?node-id=261-10378&t=CLBPHIjMmq3eHD3T-4 | Figma ]])
| {F59335598} | {F59335600}
| Updated contextual menu | Nice to have, show open tab in search
- We aren’t complicating things for existing users who haven’t dealt with tabs before. Tabs are here when you use them, but stay out of the way if you don’t.
#####Engineering Notes