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

docs: ensure twitter and og meta tags for all routes #787

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

iisakkirotko
Copy link
Collaborator

No description provided.

Copy link
Collaborator Author

iisakkirotko commented Sep 13, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @iisakkirotko and the rest of your teammates on Graphite Graphite

Comment on lines 262 to 266
Title(title="Solara: Example Apps")
return children[0]
if route_current is not None and route_current.path == "/":
Title(title="Solara: Build high-quality web applications in pure Python")
return Home()
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, this won't work, because the return 'overrides' the auto collecting. Not sure if the layout messes up when we have it without the return (because we get a column around it).
Maybe

with solara.Div():
  Title(..)
  Home()

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removing the return works for the most part, but we run into #626 in a particularly bad way.

Copy link
Contributor

Choose a reason for hiding this comment

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

See 3ebea2d for a solution

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Works now, although the diff looks terrible.

@iisakkirotko iisakkirotko force-pushed the 09-13-docs_ensure_meta_tags_for_all_routes branch from 823dcbc to d6572da Compare September 13, 2024 11:32
@iisakkirotko iisakkirotko force-pushed the 09-13-docs_ensure_meta_tags_for_all_routes branch 2 times, most recently from c08fea6 to 7a29367 Compare September 13, 2024 12:27
Copy link
Collaborator Author

iisakkirotko commented Sep 13, 2024

Merge activity

  • Sep 13, 8:57 AM EDT: @iisakkirotko started a stack merge that includes this pull request via Graphite.
  • Sep 13, 8:59 AM EDT: Graphite rebased this pull request as part of a merge.
  • Sep 13, 9:00 AM EDT: @iisakkirotko merged this pull request with Graphite.

@iisakkirotko iisakkirotko changed the base branch from 09-13-docs_fixes_to_styling to graphite-base/787 September 13, 2024 12:57
@iisakkirotko iisakkirotko changed the base branch from graphite-base/787 to master September 13, 2024 12:57
@iisakkirotko iisakkirotko force-pushed the 09-13-docs_ensure_meta_tags_for_all_routes branch from 7a29367 to 7e76104 Compare September 13, 2024 12:58
@maartenbreddels maartenbreddels temporarily deployed to 09-13-docs_ensure_meta_tags_for_all_routes - solara-stable PR #787 September 13, 2024 12:58 — with Render Destroyed
@iisakkirotko iisakkirotko merged commit 773fe73 into master Sep 13, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants