Skip to content

Environment selector beomces disabled when MOZ_REMOTE_SETTINGS_DEVTOOLS is not set #261

@nordzilla

Description

@nordzilla

Description

I recently had to test the Firefox 135 Release Candidate build with Remote Settings Prod (Preview) environment on both Android and Desktop, and I noticed some behavior that I think could be improved.

It seems to be expected behavior that you can switch between Prod and Prod (Preview), even when MOZ_REMOTE_SETTINGS_DEVTOOLS is not set. However, I noticed that as soon as you attempt to try moving to a disallowed envornment, such as Dev, it disables the environment selector, preventing you from moving back to Prod (Preview) if desired.

Steps to Reproduce

  • Install the Remote Settings Devtools Extension
  • Switch between Prod and Prod (Preview) environments with no issue.
  • Attempt to select the Dev environment.

Expected Behavior

  • The Dev environment is disallowed, and the user can still switch between Prod and Prod (Preview)

Actual Behavior

  • The Dev environment is disallowed, but the environment selector is disabled entirely.
environment-selector.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions