8000 Omnibar position: Remove the feature flag by 0nko · Pull Request #6240 · duckduckgo/Android · GitHub
[go: up one dir, main page]

Skip to content

Omnibar position: Remove the feature flag #6240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

0nko
Copy link
Member
@0nko 0nko commented Jun 16, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/project/1207418217763355/task/1210556246664936?focus=true

Description

This PR removes the omnibarPosition feature flag and the "disabled" associated logical branches. It also removes the unused attribute matcher used by a remote configuration that's been long removed.

Steps to test this PR

Smoke testing the omnibar position settings (Settings -> Appearance -> Position toggle) should be enough.

@Copilot Copilot AI review requested due to automatic review settings June 16, 2025 18:28
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the legacy omnibar position feature flag logic and its related attribute matcher, streamlining the handling of omnibar position settings.

  • Removed the omnibar position attribute matcher and feature flag observer classes.
  • Deleted feature flag checks and related properties in BrowserTabViewModel and AppearanceViewModel.
  • Updated AppearanceActivity to always display the omnibar position settings without feature flag gating.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
OmnibarPositionAttributeMatcher.kt Deleted obsolete attribute matcher related to the feature flag.
OmnibarFeatureFlagObserver.kt Removed observer responsible for updating omnibar position based on the feature flag.
BrowserTabViewModel.kt Removed unused feature flag dependency and conditional logic updating omnibar view state.
AppearanceViewModel.kt Removed feature flag dependency and associated state property from the view model.
AppearanceActivity.kt Updated UI logic to remove feature flag condition and always display the omnibar position setting.
Comments suppressed due to low confidence (1)

app/src/main/java/com/duckduckgo/app/appearance/AppearanceActivity.kt:145

  • Consider updating documentation or adding comments to indicate that the omnibar position setting is now always visible, given the complete removal of the feature flag logic.
private fun updateSelectedOmnibarPosition(position: OmnibarPosition) {

@malmstein malmstein added PR-task Enables the creation of a PR task and removed PR-task Enables the creation of a PR task labels Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-task Enables the creation of a PR task QA-Optional
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0