-
Notifications
You must be signed in to change notification settings - Fork 147
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
Updating Meta Tags #185
Updating Meta Tags #185
Conversation
This first commit is just a demo of how a logo and description can be included in the meta tags. |
…ta-tags # Conflicts: # vizro-core/examples/default/app.py # vizro-core/src/vizro/models/_dashboard.py # vizro-core/src/vizro/models/_page.py
I'd like to do the docs in a separate PR, so this is ready to review. |
This looks great to me, thank you very much for your first PR @AnnMarieW. Probably we should remove the As for tests, here's where our current tests for
I was looking through the Dash tests that you linked me to. Am I right in thinking that all the tests on Dash pages are contained here? And there's no explicit tests for |
Co-authored-by: Antony Milne <[email protected]> Signed-off-by: Ann Marie Ward <[email protected]>
Yes most of the Pages tests are in the links you provided. The Dash tests confirm the meta tags are created as expected based on the |
@AnnMarieW Here's the sort of thing I'd suggest for tests (haven't tried it out at all yet, no doubt has typos and errors, but hopefully you get the idea). Take a look at #228 first for context 🙂
Plus one which tests what happens if you have both |
@antonymilne - I got all your suggested tests added 🎊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work, thank you very much for your contribution @AnnMarieW! 🙏
I've made lots of very small suggested changes, but it's nothing big.
You're going to have to do a couple of extra bits in order to pass our CI checks but I won't say explicitly what that as an experiment to see whether it's easy to figure out how to fix it from our current error messages (FYI @maxschulz-COL). But please do just say if it's not clear what to do or you need any help getting CI to pass 🙂
Co-authored-by: Antony Milne <[email protected]> Signed-off-by: Ann Marie Ward <[email protected]>
Co-authored-by: Antony Milne <[email protected]> Signed-off-by: Ann Marie Ward <[email protected]>
Co-authored-by: Antony Milne <[email protected]> Signed-off-by: Ann Marie Ward <[email protected]>
Co-authored-by: Antony Milne <[email protected]> Signed-off-by: Ann Marie Ward <[email protected]>
for more information, see https://pre-commit.ci
Hi @antonymilne |
@AnnMarieW hopefully you don't need to install Python 3.11 to get this to pass. For now ignore the error message and just running |
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Thank you so much you two @AnnMarieW and @antonymilne 👍
@AnnMarieW - don't forget to add yourself to the list of contributors here. We would love to add you to our list given all your valuable feedback! 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also had a quick read through - looks really good. Small code change that will make a huge difference in many places 💪
As mentioned by Antony, do let us know how you get on from here, very curious if the remaining PR tasks are self-explanatory.
Topic aside: I have started work on the AG Grid for Vizro - would be great to have a catch-up about that in the next year as I recall you helped a lot on that feature on the Dash side right?
Hi @maxschulz-COL I would love to see AG Grid in Vizro, and yes, I'm very involved in that project at Plotly. I look forward to chatting with you about that whenever you have time 🙂 |
Signed-off-by: Ann Marie Ward <[email protected]>
for more information, see https://pre-commit.ci
vizro-core/changelog.d/20231221_052426_amward_update_meta_tags.md
Outdated
Show resolved
Hide resolved
Signed-off-by: Antony Milne <[email protected]>
Description
Closes #176
Checklist
Types of changes
Notice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":