https://htmx.org logo
Join Discord
Powered by
# htmx-general
  • m

    mysterious-toddler-20573

    08/11/2022, 4:13 PM
    Looks good to me! Is there a diff view I can see?
  • d

    dazzling-refrigerator-62542

    08/11/2022, 4:15 PM
    I'll open a draft pr (netlify should ™️ create a preview)
  • d

    dazzling-refrigerator-62542

    08/11/2022, 4:24 PM
    https://github.com/bigskysoftware/htmx/pull/1003 gonna go thru thangs here and there on my spare time. still working on things, like seeing how to split content and how we can tweak the homepage to better guide users to the right section in the docs
  • b

    bitter-monkey-50309

    08/11/2022, 5:03 PM
    Can I make a suggestion that there's still a link to "Examples" in the header nav bar? When I look at a new project and I don't know what it does (e.g. just seen it recommended somewhere) the first thing I look at are examples to see if it's useful to me.
  • d

    dazzling-refrigerator-62542

    08/11/2022, 5:19 PM
    I'll fiddle around with the header nav. Currently, I treat examples as an entity/section of the docs section. With that in mind, the reasoning for removing the "examples" section was that it's really just a quick link to a section of the docs, so it shouldn't have prominence in the top nav bar. Perhaps once I add a quick link to the examples section in the homepage it'll feel a bit better. If not, well we could always treat the "examples" as a separate section of the site and have tailored accordingly (e.g: with it's own side nav and stuff)
  • d

    dazzling-refrigerator-62542

    08/11/2022, 5:22 PM
    gut feel, we probably do want to have a full on examples section (e.g: putting it back into the nav bar and treating it as it's own thang), as I kinda feel that it's better to have a large ressource of recipes, patterns and integration to onboard folks who are wondering "how to I do X with this new fangled hypertext approach".
  • g

    gorgeous-ghost-95789

    08/11/2022, 9:43 PM
    Does this mean I’m the king of passing the buck upwards? ‘Cause I’ll wear that crown..
  • m

    mysterious-toddler-20573

    08/11/2022, 9:43 PM
    good developers steal great developers wait
  • j

    jolly-kite-167

    08/11/2022, 9:45 PM
    Because any problem ceases to be a problem if you wait long enough.
  • h

    hallowed-architect-39752

    08/12/2022, 10:07 AM
    hey there htmx community can someone please help me install htmx? I've been trying to get it to work for the past 72 hours but no dice. I tried the unpkg links but I'm on a 20kbit/s dial-up connection that disconnects every time my grandma calls her pharmacist and she's on a lot of medications so it took a long time. once it downloaded I had problems getting it to work on my browser. I guess htmx doesn't come with a server? so I ended up learning how to write an http server from scratch in C. then I had to register a domain on GoDaddy and point it to my server. testing it took a long time, again due to my slow connection. just as I was uploading a couple of html files and the htmx script, it hit me that I forgot to give my grandma her insulin shot and she started having symptoms of diabetic ketoacidosis. so I had to take her to the hospital (she's okay now). I came back and my http server segfaulted and crashed so I had to fix some bugs. after that I reuploaded the files which didn't take as long because my grandma was no longer using the landline. I tried doing the lazy loading pattern example but I don't think it's supposed to take this long to show a picture of Sarah Palin's feet? anyway can someone help me so I can use htmx in my AOL browser? thanks much, appreciate it. 👍
  • g

    gorgeous-airport-54386

    08/12/2022, 10:10 AM
    Easy, just run
    Copy code
    shell
    $ magic-toolchain-that-im-sure-everyone-already-has install htmx.org -aAhXvv2 --also-build-my-app-for-me --meaningless-cli-flag
  • t

    tall-dinner-62086

    08/12/2022, 10:11 AM
    You used the
    -v
    flag twice, that's a big no-no and introduces security issues
  • m

    mysterious-toddler-20573

    08/12/2022, 1:37 PM
    > tried doing the lazy loading pattern example but I don't think it's supposed to take this long to show a picture of Sarah Palin's feet? htmx respects the 420 SHOW FEET response code
  • j

    jolly-kite-167

    08/12/2022, 1:49 PM
    i thought response code 420 was PASS THE DUTCHIE ON THE LEFT HAND SIDE
  • m

    mysterious-toddler-20573

    08/12/2022, 3:12 PM
    people say, on a quiet night, if you hold perfectly still and close your eyes, you can still hear the RFC committee flame war raging on usenet
  • r

    red-farmer-97020

    08/13/2022, 12:51 AM
    I sure love my http referer header
  • r

    red-farmer-97020

    08/13/2022, 4:09 AM
    (for those who don't get it, the RFC for the http referer header misspelled referrer, which caused a lot of debate)
  • s

    salmon-church-58191

    08/13/2022, 6:55 PM
    I'm struggling a bit implementing the example at https://htmx.org/examples/edit-row/ I think there may be a a missing 'call' before Swal... in the "Here is the HTML for a row:" example, am I right? Is "if the result's isConfirmed is false' a correct hyperscript statement? Just checking the script for starters. Loving htmx btw.
  • s

    salmon-church-58191

    08/13/2022, 6:57 PM
    I am working on understanding https://hyperscript.org/reference/ to try to get a grip on things.
  • s

    salmon-church-58191

    08/13/2022, 7:00 PM
    I'm guessing the hyperscript is fine... just ruling it out, is all.
  • g

    gorgeous-airport-54386

    08/13/2022, 7:02 PM
    Let's do the checklist: Do you have hyperscript installed on your page?
  • s

    salmon-church-58191

    08/13/2022, 7:03 PM
    It shows as downloaded in the Safari dev console...
  • g

    gorgeous-airport-54386

    08/13/2022, 7:04 PM
    What error message are you seeing?
  • s

    salmon-church-58191

    08/13/2022, 7:05 PM
    (hyperscript 9.3, btw) I don't see an error message, just no activity from the button.
  • s

    salmon-church-58191

    08/13/2022, 7:05 PM
    Full diclosure: I'm using Clojure and Hiccup... .
  • s

    salmon-church-58191

    08/13/2022, 7:06 PM
    It generates a regular html page, however.
  • g

    gorgeous-airport-54386

    08/13/2022, 7:06 PM
    Copy code
    javascript
    _hyperscript(`Swal.fire({title: 'Already Editing',
                             showCancelButton: true,
                             confirmButtonText: 'Yep, Edit This Row!',
                             text:'Hey!  You are already editing a row!  Do you want to cancel that edit and continue?'})
    `)
  • g

    gorgeous-airport-54386

    08/13/2022, 7:06 PM
    try pasting this into the console
  • s

    salmon-church-58191

    08/13/2022, 7:07 PM
    SyntaxError: Unexpected EOF
  • g

    gorgeous-airport-54386

    08/13/2022, 7:07 PM
    hmm
1...777778779...1146Latest