Open nelsonic opened 3 days ago
@MikeRund if you push up your initial code I can help test it. ๐
That'd be great thank you! Writing and testing functions with this tech stack definitely has a learning curve. I'll just tinker with a couple of things and I'll push ๐
@MikeRund stoked that you proactively started building a calculator in
LiveView
to continue your knowledge quest! ๐ Looks like you've already got something working on yourlocalhost
which is sick! ๐งฎ ๐ Don't want to hijack your work, just encourage to continue learning and build something awesome! ๐Todo โ
Please:
.github
directory from one of the other tutorials/examples e.g: https://github.com/dwyl/phoenix-chat-example/tree/main/.github so that tests run onGitHub
Actions CI. ๐งชmain
branch and push commits as you go. โ ๏ธ (we don't tend to work onmain
in practice but it's fine in this case because you are moving fast and are the only one working on it!)Phoenix
... ๐ค ) 100% coverage is our baseline for tutorials/examples and all our open source projects.else
to follow it from scratch. ๐ (go into as much detail as you want/need)Phoenix
app)History โ๏ธ
person
has performed in a side-panel. โช๏ธBonus Level: Make it collaborative! ๐ฅ ๐พ
When the page loads, create an empty record for the calculation e.g:
/calc/420
Put a share link somewhere on the page ๐ When theperson
who created the calculation shares it with someoneelse
they can see the result of the calc. If either of them modify the calc it should create a new version of the calc e.g:/calc/420/1
,/calc/420/2
etc. Showing the history of thiscalc
as a nested list. e.g:I have often wanted to share a the result of a calculation with team members either in the workshop/building-site or just in home/life stuff. always end up having to create a note and share that which feels tedious. If I had a way of sharing a link to a specific calculation it would be awesome. and even more if I could add a small (e.g.
140char
note for the calc explaining what it is.name
variable to the record.desc
field that allows entering a short description for the calculation.@MikeRund LMK your thoughts. ๐ญ ๐ฌ ๐