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

feat: add Helia Angular example #309

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

paschal533
Copy link

I added how to implement helia in an Angular project

Copy link

vercel bot commented Aug 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
verified-fetch ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2024 2:22pm

Copy link
Contributor

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

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

I tried running this locally and the page ends up crashing after a few seconds.. the only errors I see are webtransport errors.. I will have to dive into this a bit further

Comment on lines 1 to 16
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
Copy link
Contributor

Choose a reason for hiding this comment

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

just to keep things normalized in examples, we should remove this

@@ -0,0 +1,27 @@
# HeliaAngular
Copy link
Contributor

Choose a reason for hiding this comment

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

we should update the readme to match language of other examples. e.g. https://github.com/ipfs-examples/helia-examples/blob/56a4790086c39dd635e230135d4a774cbd4783ce/examples/helia-jest/README.md

most important are the sections below (and including) the About the project section

Copy link
Contributor

Choose a reason for hiding this comment

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

delete empty file?

Copy link
Contributor

Choose a reason for hiding this comment

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

we should reduce a lot of this angular specific styling to focus on keeping a similar style as our other examples, like https://github.com/ipfs-examples/helia-examples/blob/56a4790086c39dd635e230135d4a774cbd4783ce/examples/helia-vite/src/index.css

@@ -0,0 +1 @@
/* You can add global styles to this file, and also import other style files */
Copy link
Contributor

Choose a reason for hiding this comment

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

we should use the same styles as our other examples. one example: /examples/helia-vite/src/index.css

@achingbrain achingbrain changed the title Feat:Helia Angular example added feat: Helia Angular example added Oct 7, 2024
@achingbrain achingbrain changed the title feat: Helia Angular example added feat: add Helia Angular example Oct 7, 2024
@achingbrain
Copy link
Contributor

@paschal533 thanks so much for opening this - do you have some time to address @SgtPooki's review comments?

@paschal533
Copy link
Author

@paschal533 thanks so much for opening this - do you have some time to address @SgtPooki's review comments?

I totally forgot 🤦. Let me work on it right away. Thank you so much.

@paschal533
Copy link
Author

@SgtPooki Thank you for taking the time to review this pull request and providing such insightful suggestions. The necessary changes have been made accordingly.

@SgtPooki
Copy link
Contributor

I tested this locally again and tried making some improvements, but no matter what I do Chrome will crash the page for some reason. I am thinking it's the WebTransport errors because it doesn't happen in FF

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.

3 participants