-
Notifications
You must be signed in to change notification settings - Fork 2
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
PR: Simplify MVP + Update to Phoenix 1.6 #89 #90
Conversation
Codecov Report
@@ Coverage Diff @@
## main #90 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 19 7 -12
Lines 167 131 -36
=========================================
- Hits 167 131 -36
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
@SimonLab I feel this is now in a reviewable state. (Hope you agree ... 🤞 ) |
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.
Fix a few typos in the Readme and BUILDIT files
…dance! dwyl/dev-setup#45 ...] Co-authored-by: Simon <simon.labondance@gmail.com>
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.
@SimonLab typo fixes applied. ✅ (thanks again)
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.
LGTM, I might spot more things to improve on later on, but I'll open issues for them
👍
@@ -1,5 +1,4 @@ | |||
export ALLOW_API_ORIGINS=* |
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.
I'm not sure if we use this env?
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.
Nope it's a remnant from the previous version where we had an API and a Frontend UI. 👍
Feel free to remove when you are doing your work. #119
@impl true | ||
def mount(_params, _session, socket) do | ||
# subscribe to the channel | ||
if connected?(socket), do: AppWeb.Endpoint.subscribe(@topic) |
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.
I'll do some research and write somwhere when to use Endpoint
vs PubSub
This PR contains a re-write of the app to use the
PETAL
Stack. 🚀The bulk of the code is in
LiveView
to facilitate realtime interactions between devices. 😍There isn't very much code ... scroll down to the CodeCov comment ...
131 lines
of (relevant) code. 🤯Most of the changes in this PR are docs/comments. 📜
Details in the
Epic
#89 ⛰️The code + tutorial is split into a separate file:
BUILDIT.md
(I didn't have a better name ... feel free to re-name if you do!)Thanks. 👌