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

Refactor share-page macro for compatibility Jinja2 templates #3177

Merged
merged 3 commits into from
May 13, 2024

Conversation

SriHV
Copy link
Contributor

@SriHV SriHV commented May 7, 2024

What is the context of this PR?

#3170... Removed .push method which was used for adding facebook and twitter icons to a list. This is done to make share-page work in Jinja templates.

How to review this PR

  • Test the changes in Design system
  • Pull the latest PR (link) which is in review. Follow the updated readme.
  • Update the macro and test it in Flask.

Checklist

This needs to be completed by the person raising the PR.

  • I have selected the correct Assignee
  • I have linked the correct Issue

Copy link

netlify bot commented May 7, 2024

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit 203d004
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/6641e9e2daac5800089555cb
😎 Deploy Preview https://deploy-preview-3177--ons-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@SriHV SriHV self-assigned this May 7, 2024
@SriHV SriHV added the Bug Something isn't working label May 7, 2024
@SriHV SriHV linked an issue May 7, 2024 that may be closed by this pull request
@SriHV SriHV requested a review from a team May 7, 2024 11:00
@SriHV SriHV marked this pull request as ready for review May 7, 2024 11:00
@rmccar rmccar changed the title Refactor share-page macro to suit Jinja2 templates Refactor share-page macro for compatibility Jinja2 templates May 9, 2024
Copy link
Contributor

@rmccar rmccar left a comment

Choose a reason for hiding this comment

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

Line 9 in the macro can now be removed

@SriHV SriHV merged commit 948f29d into main May 13, 2024
9 checks passed
@SriHV SriHV deleted the fix/3170/refactor-sharePage-to-suit-Jinja2 branch May 13, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor share-page macro to suit Jinja2 templates
4 participants