Skip to content

Close new tab when returning from hatch - #9822

Merged
GerardPaligot merged 2 commits into
developfrom
feature/gerard/remove-new-tab-return
Sep 22, 2026
Merged

GerardPaligot merged 2 commits into
developfrom
feature/gerard/remove-new-tab-return

Conversation

@GerardPaligot

@GerardPaligot GerardPaligot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Task/Issue URL: https://app.asana.com/1/137249556945/project/1214749231578703/task/1218059301612508?focus=true
Tech Design URL (if applicable): None
API Proposals URL(s) (if applicable): None

Description

Remove the blank new tab which is created after inactivity to come back on the last tab opened in a previous session.
The hatch cleanup is guarded by a default-on remote contribution, so it can be disabled to restore the previous behavior if needed.

Steps to test this PR

Note

  • Install the Internal Debug variant.
  • Configure inactivity timer to "Always".
  • Open a regular tab with a loaded page and close the app
  • Open the app again and confirm you can see the hatch component on a fresh new tab
  • Tap on the hatch to open the latest page loaded and the fresh new tab is deleted.

UI changes

No ui changes.


Stack created with GitHub Stacks CLI • Give Feedback 💬

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@GerardPaligot
GerardPaligot force-pushed the feature/gerard/remove-new-tab-return branch from 36abe03 to 7f5afa0 Compare September 22, 2026 09:26
@0nko 0nko self-assigned this Sep 22, 2026

@0nko 0nko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the PR and it works as expected, nice job! 🏅
I left some comments for you to consider but pre-approving.

Comment thread app/src/main/java/com/duckduckgo/app/tabs/model/TabDataRepository.kt Outdated
@GerardPaligot
GerardPaligot added this pull request to the merge queue Sep 22, 2026
Merged via the queue into develop with commit f76c7e2 Sep 22, 2026
15 checks passed
@GerardPaligot
GerardPaligot deleted the feature/gerard/remove-new-tab-return branch September 22, 2026 14:56
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