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

Add support for body #420

Merged
merged 3 commits into from May 16, 2022
Merged

Add support for body #420

merged 3 commits into from May 16, 2022

Conversation

arctic-hen7
Copy link
Contributor

This just lets users use the body element. I'm not at all familiar with this part of the codebase, so please let me know if there's anything else I need to do to make this work.

Once this is merged, a new beta release would be greatly appreciated so that Perseus can take advantage of this as soon as possible!

@lukechu10
Copy link
Collaborator

Unfortunately, the http-request-builder example broke because we're using the body as an identifier. This conflict problem between html tags and identifiers should be fixed with #416 because of changes to the element macro codegen. If you don't mind, I'll just edit this PR so as to fix the example and I'll merge this.

The previous change added the `<body>` html tag which conflicts with the identifiers used in this example
@codecov
Copy link

codecov bot commented May 16, 2022

Codecov Report

Merging #420 (88424bb) into master (33c4f0f) will not change coverage.
The diff coverage is n/a.

❗ Current head 88424bb differs from pull request most recent head c24da22. Consider uploading reports for the commit c24da22 to get more accurate results

@@           Coverage Diff           @@
##           master     #420   +/-   ##
=======================================
  Coverage   64.97%   64.97%           
=======================================
  Files          49       49           
  Lines        8080     8080           
=======================================
  Hits         5250     5250           
  Misses       2830     2830           
Impacted Files Coverage Δ
packages/sycamore/src/html/mod.rs 44.44% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33c4f0f...c24da22. Read the comment docs.

@lukechu10 lukechu10 merged commit 3b3e39e into sycamore-rs:master May 16, 2022
@lukechu10 lukechu10 added the C-bug Category: bug, something isn't working label May 16, 2022
lukechu10 added a commit that referenced this pull request May 16, 2022
commit 3b3e39e
Author: arctic_hen7 <arctic_hen7@pm.me>
Date:   Tue May 17 02:50:59 2022 +1000

    Add support for `body` (#420)

    * feat: added support for `body` element

    * Fix http-request-builder example

    The previous change added the `<body>` html tag which conflicts with the identifiers used in this example

    * Satisfy cargo clippy

    Co-authored-by: Luke Chu <lukewchu@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug, something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants