Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

The previously enabled theme is not restored if the “Undo” button is clicked

未关闭
#997 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
frontend

调研方向

在 Firefox Color 中选择一个预设或更改 Custom colors,然后点击 Undo,以重现该问题;将其与 Revert All 进行比较,后者已经能够恢复之前的主题。追踪 Preset themes 和 Custom colors 标签页背后的主题状态处理逻辑,并在两种情况下 Undo 都能恢复之前启用的主题时,视为问题已解决。

由索引模型根据 Issue 内容生成。

描述

[QA]:Normal issue

[Affected versions]:

  • Firefox Release 94.0.1 - Build ID: 20211103134640
  • Firefox Beta 95.0b10 - Build ID: 20211121185651
  • Firefox Nightly 96.0a1 - Build ID: 20211123094249

[Affected Platforms]:

  • Windows 10 x64
  • macOS 11.6
  • Linux MX-21

[Prerequisites]:

  • Have a Firefox profile with the latest version of the “Firefox Color” addon installed from here (version 2.1.7).

[Steps to reproduce]:
Open the browser with the profile from the prerequisites.
Click the “Firefox Color” toolbar button.
Click the “Preset themes” tab and select any theme.
Click the “Undo” button from the top-right part of the page.
Observe the behavior.

[Expected result]:

  • The previous theme is applied.

[Actual result]:

  • The theme is reverted to the colors set in the “Custom colors” tab.

[Notes]:

  • The issue is also reproducible if, in step 3, the change was made from the “Custom colors” tab instead of the “Preset themes” one.
  • The issue is not reproducible if the “Revert All” button is clicked instead. In this case, the previous theme is restored.
  • Attached is a screen recording of the issue.
    FirefoxColor
主要语言
JavaScript
星标
506
派生
100
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mozilla/FirefoxColor 的其他 Issue

查看 mozilla/FirefoxColor 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。