This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-29
Channels
- # announcements (1)
- # biff (5)
- # calva (10)
- # cljdoc (4)
- # clojure (17)
- # clojure-europe (15)
- # clojure-norway (38)
- # clojurescript (53)
- # community-development (1)
- # cursive (2)
- # datomic (14)
- # fulcro (11)
- # funcool (1)
- # hyperfiddle (7)
- # introduce-yourself (2)
- # jobs-discuss (17)
- # missionary (7)
- # releases (4)
- # shadow-cljs (30)
- # slack-help (6)
- # specter (5)
- # squint (22)
2 questions:
1. is the documentation on github somewhere? this isnt really necessary, but I am wondering if it might be helpful. Not just for folks to submit corrections... but also to have a history (maybe not really helpful, since you always want to be looking at the latest doc?)
2. I am working through https://biffweb.com/docs/tutorial/landing-page/ now, and am at "Update some of the wording in com.eelchat.email
:". I think I know how I should update my code.. but the diff shown doesnt match the current state of the code as generated by -M tutorial
. The generated code uses a let
, whereas the diff as shown on the tutorial has nothing like that. I'm guessing for me that I would basically remove the let
, and just let the function body be the hash? And since the update does not use action
(assigned in let
), I don't need to worry about that. I am attaching an screenshot of the diff as per tutorial, beside what my generated code looks like.
after updating my code, I see this at the console upon signing up for the waitlist:
nREPL server started on port 7888 on host localhost -
TO:
SUBJECT: Join the eelchat waitlist
nil
To send emails instead of printing them to the console, add your API keys for MailerSend and Recaptcha to config.env.
[qtp1122624359-46] INFO com.biffweb.impl.middleware - 42ms 303 post /auth/send-link
I understand that I dont have my API keys set up yet... but should I be seeing the nil
?if I restore the text of defn signin-link
back to the generated code as per -M tutorial
I am able to see the text of the email in the console, so this tells me that this isnt to do with me missing keys.
Comparing generated vs new code, I was able to fix it so that the text of the email shows in the console by fixing the keys in the hash: :html-body
-> :html
, :text-body
-> :text
. Not sure if :message-stream "outbound"
is still necessary though, or what it does
oh whoops, that code has had a couple different updates and I forgot to update the tutorial. the names of the keywords have changed because I switched the default mail provider recently (from Postmark to Mailersend). so you'll want to stick with :html
and :text
(and no need for :message-stream
). I'll update that today.
the docs are here by the way: https://github.com/jacobobryant/biff/tree/master/docs