Skip to content

Fix message on "Mark as" confirmation page#19363

Merged
ashb merged 3 commits into
apache:mainfrom
astronomer:fix-message-on-confirm-page
Nov 3, 2021
Merged

Fix message on "Mark as" confirmation page#19363
ashb merged 3 commits into
apache:mainfrom
astronomer:fix-message-on-confirm-page

Conversation

@ashb

@ashb ashb commented Nov 2, 2021

Copy link
Copy Markdown
Member

In an earlier refactor I created a macro called message which
"stomped" on the variable of the same name set in the view, meaning the
page shows <Macro message> instead of the string we meant to set.

This "fixes" it by using a less-likely-to-clash name for the macro (and
fixing the typo in dismissible parameter.)

In an earlier refactor I created a macro called `message` which
"stomped" on the variable of the same name set in the view, meaning the
page shows `<Macro message>` instead of the string we meant to set.

This "fixes" it by using a less-likely-to-clash name for the macro (and
fixing the typo in `dismissible` parameter.)
@boring-cyborg boring-cyborg Bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Nov 2, 2021
@ashb ashb requested a review from ephraimbuddy November 2, 2021 10:56
Comment thread airflow/www/templates/airflow/main.html Outdated
Comment thread airflow/www/templates/airflow/dags.html
@ashb ashb requested review from ephraimbuddy and kaxil November 2, 2021 16:34
@github-actions

github-actions Bot commented Nov 2, 2021

Copy link
Copy Markdown
Contributor

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions Bot added the okay to merge It's ok to merge this PR as it does not require more tests label Nov 2, 2021
@ashb ashb merged commit 2709153 into apache:main Nov 3, 2021
@ashb ashb added this to the Airflow 2.2.2 milestone Nov 3, 2021
jedcunningham pushed a commit that referenced this pull request Nov 3, 2021
In an earlier refactor I created a macro called `message` which
"stomped" on the variable of the same name set in the view, meaning the
page shows `<Macro message>` instead of the string we meant to set.

This "fixes" it by using a less-likely-to-clash name for the macro (and
fixing the typo in `dismissible` parameter.)

(cherry picked from commit 2709153)
@ashb ashb deleted the fix-message-on-confirm-page branch November 4, 2021 11:11
@jedcunningham jedcunningham added the type:bug-fix Changelog: Bug Fixes label Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues okay to merge It's ok to merge this PR as it does not require more tests type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants