-
Notifications
You must be signed in to change notification settings - Fork 12
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
Review + Expand Instructions #42
Comments
Took a minor detour to investigate using Tailwind ... https://fly.io/phoenix-files/tailwind-standalone/ 💭 |
Technology stacks are like Automobile Brands. There are dozens of them.
|
Looking at the failing tests, the error is linked to |
The build passed on Simon's PR #45 going to try and re-run it just to see if it's an intermittent failure or perm one. ♻️ |
Lame. Looks like an issue in |
The timeout issue is due to the auth Heroku app not being awake for the login test I think. We could mock this call to Auth maybe |
@SimonLab yeah, I think our
|
Could not render "messages.html" for LiveviewChatWeb.MessageView,
please define a matching clause for render/2
or define a template at "lib/liveview_chat_web/templates/message/*".
The following templates were compiled:
* message.html subtle ... Current instructions: had: LiveviewChatWeb.MessageView.render("messages.html", assigns) Should be: LiveviewChatWeb.MessageView.render("message.html", assigns) i.e. the template file is Anyway, updated it. Working. ✅ |
Hmm ... Resolving Hex dependencies...
Failed to use "plug" (versions 1.10.2 to 1.13.6) because
phoenix (version 1.6.10) requires ~> 1.10
phoenix_ecto (version 4.4.0) requires ~> 1.9
phoenix_html (version 3.2.0) requires ~> 1.5
ping (version 1.1.0) requires ~> 1.12.1
plug_cowboy (version 2.5.2) requires ~> 1.7
Failed to use "plug" (version 1.12.1) because
auth_plug (version 1.4.13) requires ~> 1.13.4
phoenix (version 1.6.10) requires ~> 1.10
phoenix_ecto (version 4.4.0) requires ~> 1.9
phoenix_html (version 3.2.0) requires ~> 1.5
ping (version 1.1.0) requires ~> 1.12.1
plug_cowboy (version 2.5.2) requires ~> 1.7
Failed to use "telemetry" (versions 0.4.0 and 0.4.1) because
ecto_sql (version 3.8.3) requires ~> 0.4.0 or ~> 1.0
phoenix (version 1.6.10) requires ~> 0.4 or ~> 1.0
phoenix_live_view (version 0.17.10) requires ~> 0.4.2 or ~> 1.0
plug (versions 1.10.0 and 1.10.1) requires ~> 0.4
telemetry_metrics (version 0.6.1) requires ~> 0.4 or ~> 1.0
Failed to use "telemetry" (versions 0.4.2 and 0.4.3) because
ecto_sql (version 3.8.3) requires ~> 0.4.0 or ~> 1.0
phoenix (version 1.6.10) requires ~> 0.4 or ~> 1.0
phoenix_live_view (version 0.17.10) requires ~> 0.4.2 or ~> 1.0
plug (versions 1.10.0 and 1.10.1) requires ~> 0.4
telemetry_metrics (version 0.6.1) requires ~> 0.4 or ~> 1.0
telemetry_poller (version 1.0.0) requires ~> 1.0 |
Resolving Hex dependencies...
The dependency resolver is taking more than 30 seconds. This typically happens when Hex cannot find a suitable set of dependencies that match your requirements. Here are some suggestions:
1. Do not delete mix.lock. If you want to update some dependencies, do mix deps.update dep1 dep2 dep3
2. Tighten up your dependency requirements to the latest version. Instead of {:my_dep, ">= 1.0.0"}, try {:my_dep, "~> 3.6"} ⏳ |
Took a minor detour to learn |
This is not a particularly beginner-friendly error message/page: 🙄 attempting to set id attribute to 1, but the DOM ID cannot be set to a number Where does someone new to Luckily it's on But if I were trying to follow along with the tutorial and saw this I would be pretty discouraged! |
The offending line of code is: <li id={message.id}>
It's correct in the file: phoenix-liveview-chat-example/lib/liveview_chat_web/templates/message/message.html.heex Line 3 in 4857be7
But not in the |
Going to leave this on Heroku for now. We can deploy to Fly.io in a follow-up PR. 💭 |
PR: #46 |
…ix-liveview-chat-example into expand-instructions-issue-#42
PR: Expand Tutorial Instructions #42
Heroku App not auto-deploying: #47 🙃 |
Context
We are using
LiveView
for a Client project.The project already has some basic
LiveView
UI but has barely scratched the surface of what's possible.Specifically I want to add "who is logged in" (presence) to our
gitea-demo
App's "advanced" example: dwyl/gitea-demo#12This
LiveView
Chat Example App is already an excellent starting point for understanding how to do this.But I feel that as a complete beginner a couple of steps can be expanded. 💭
Todo
localhost
admin
of the new org.Going to spend
T4h
on this tomorrow morning as I want to reference it in the work I'm doing in dwyl/gitea-demo#12Will assign PR once ready. 👍
The text was updated successfully, but these errors were encountered: