Skip to content
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

chore(macros/WebExtAllCompatTables): replace {{Compat}} call #10215

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

teoli2003
Copy link
Contributor

Summary

We deprecated the parameter of {{Compat}} years ago.

To actually remove it and simplify the codebase, we need to get rid of its only call (with a parameter) from yari.

Problem

We cannot remove the (almost dead) code in {{Compat}}

Solution

Hardcode (two lines) the generation of the HTML directly into {{WebExtAllCompatTables}}.

Screenshots

No Change (Verified locally)

How did you test this change?

Tested locally.

@teoli2003 teoli2003 requested a review from a team as a code owner December 21, 2023 10:00
@github-actions github-actions bot added the macros tracking issues related to kumascript macros label Dec 21, 2023
@github-actions github-actions bot added the idle label Jan 24, 2024
@caugner caugner changed the title Replace call to {{Compat}} form {{WebExtAllCompatTables}} chore(macros/WebExtAllCompatTables): replace {{Compat}} call Jan 25, 2024
@github-actions github-actions bot removed the idle label Jan 27, 2024
Copy link
Contributor

@fiji-flo fiji-flo left a comment

Choose a reason for hiding this comment

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

@teoli2003 this is a tough choice. Either we duplicate or we keep the internal usage.
I'm fine with duplicating, but I would ask to mention this in Compat.ejs so we change it in both places (if we ever change it).

@github-actions github-actions bot added the idle label Mar 15, 2024
@caugner caugner marked this pull request as draft March 28, 2024 15:32
@caugner
Copy link
Contributor

caugner commented Mar 28, 2024

@teoli2003 Please take a look at Florian's comment above, when you have a moment.

@github-actions github-actions bot removed the idle label Mar 29, 2024
@github-actions github-actions bot added the idle label Apr 28, 2024
@github-actions github-actions bot removed the idle label Aug 16, 2024
@github-actions github-actions bot added the idle label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle macros tracking issues related to kumascript macros
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants