Skip to content

[2.0] TutorialLayout.astro is missing the showBanner translation feature #1329

@Nwakaego-Ego

Description

@Nwakaego-Ego

Most appropriate sections of the p5.js website?

Home

What is your operating system?

Windows

Web browser and version

Chrome 146.0.7

Actual Behavior

TutorialLayout.astro on the 2.0 branch is missing the showBanner feature, which displays an outdated translation warning banner to users viewing translated tutorials. This feature exists on main but was not carried over to 2.0.

The feature was introduced in PR #1000 as part of the GSoC 2025 Translation Tracker project by @Divyansh013. There is no discussion in that PR about why it was not included in 2.0; it appears to have been omitted.

Expected Behavior

TutorialLayout.astro on 2.0 should include the showBanner translation feature, consistent with main.

Steps to reproduce

No response

Would you like to work on the issue?

Tagging @ksen0 for their opinion before anyone begins work on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions