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

    strong-guitar-63405

    10/22/2020, 10:43 PM
    And yea, I read that post. This is what the fellow I linked above had to say: https://mobile.twitter.com/WebReflection/status/1309975607250489344
  • s

    strong-guitar-63405

    10/22/2020, 10:44 PM
    Anyway, this is perhaps beside the point of HTMX Discord... Sorry. I’ll have to retire for the day anyway 👋
  • g

    gorgeous-ghost-95789

    10/22/2020, 10:45 PM
    No worries! I think it's great to see how this library fits into a larger ecosystem. It's crazy how long browsers have managed to get by without some basic controls (like date pickers) but here we are. I'll definitely check out that link -- it may help me out when I get far enough along.
  • s

    strong-guitar-63405

    10/22/2020, 10:47 PM
    One suggestion: perhaps @mysterious-toddler-20573 could add a channel or two for these topics..? off-topic or web-dev or some such
  • g

    gorgeous-ghost-95789

    10/22/2020, 10:47 PM
    We're also working on some documentation for how to use HTMX in the real world (I'm supposed to be making some examples for some widget libraries, but don't tell @mysterious-toddler-20573 how slow its going). So, all these resources may be very relevant to that push, as well.
  • u

    user

    10/22/2020, 10:51 PM
    Is it possible to extend htmx way on SVG? Meaning that I could manipulate SVG DOM in the way htmx can work with the HTML DOM?
  • t

    thankful-addition-60522

    10/22/2020, 11:03 PM
    > This is what the fellow I linked above had to say: my suspicion is it relies on retarded standards
  • m

    mysterious-toddler-20573

    10/22/2020, 11:18 PM
    > Is it possible to extend htmx way on SVG? Meaning that I could manipulate SVG DOM in the way htmx can work with the HTML DOM? @User I don't know, would be interested to see. I assume that it will work with the general SVG tag, but not on elements within it.
  • m

    mysterious-toddler-20573

    10/22/2020, 11:19 PM
    regarding components: It's such a big topic that I'm not sure even where to begin. htmx is trying to complete HTML as a hypertext. I'm glad to see people like @User and @User using it for component systems, but that's just not my wheelhouse.
  • t

    thankful-addition-60522

    10/23/2020, 6:19 AM
    @User well, still, it'd be nice to take on it as a separate library, and no, that library from above is based on retarded standards therefore it's not fitting
  • a

    ancient-soccer-8576

    10/23/2020, 1:23 PM
    Hello, I am trying to add a post trigger to a form... when i inspect the network in chrome devtools i see a POST request with a 301 status response and then a GET request to the same URL... I do not know where it is generated this 301 status (moved permanently)... ?! Is it normal?
  • g

    gorgeous-ghost-95789

    10/23/2020, 1:26 PM
    Hey @ancient-soccer-8576. Thats generated by your web server. What back end language are you using? You probably have code in there that says “after i receive this data, redirect the user to this other page”
  • g

    gorgeous-ghost-95789

    10/23/2020, 1:28 PM
    (Wow, my typing was awful on that one)
  • a

    ancient-soccer-8576

    10/23/2020, 1:30 PM
    using php
  • a

    ancient-soccer-8576

    10/23/2020, 1:30 PM
    this is apche log: [23/Oct/2020:15:29:43 +0200] "POST /qrweb/api HTTP/1.1" 301 589 "/qrweb/index.php?action=newMenu" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36" [23/Oct/2020:15:29:44 +0200] "GET /qrweb/api/ HTTP/1.1" 200 777 "/qrweb/index.php?action=newMenu" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36"
  • g

    gorgeous-ghost-95789

    10/23/2020, 1:34 PM
    I’m not too familiar with PHP, but it looks like this header is set using the header() function. Look for something in that page handler that looks like this https://www.systutorials.com/permanent-redirect-with-http-301-in-php/
  • a

    ancient-soccer-8576

    10/23/2020, 2:22 PM
    i removed the file from a subfolder and the redirect is gone...
  • a

    ancient-soccer-8576

    10/23/2020, 2:22 PM
    strange
  • m

    mysterious-toddler-20573

    10/23/2020, 2:22 PM
    > i removed the file from a subfolder and the redirect is gone... @User welcome to web development, enjoy your stay
  • m

    mysterious-toddler-20573

    10/23/2020, 2:23 PM
    > @User well, still, it'd be nice to take on it as a separate library @User agreed, any interest in working on that?
  • t

    thankful-addition-60522

    10/23/2020, 2:26 PM
    oh man, i don't know how to write libraries to begin with, let alone mucking with
    <template>
    trickery
  • t

    thankful-addition-60522

    10/23/2020, 2:26 PM
    i'd need a mentor for that 😛
  • t

    thankful-addition-60522

    10/23/2020, 2:43 PM
    the notable part is - i'm serious
  • m

    mysterious-toddler-20573

    10/23/2020, 2:46 PM
    🙂 I didn't either when I started
  • t

    thankful-addition-60522

    10/23/2020, 2:58 PM
    i'm not really opting for long-term here
  • m

    mysterious-toddler-20573

    10/23/2020, 3:13 PM
    lol, i get it
  • t

    thankful-addition-60522

    10/23/2020, 3:55 PM
    so, yeah, if you throw that idea in - mentor me :P domain specific knowledge 😛
  • a

    ancient-soccer-8576

    10/24/2020, 7:15 AM
    Hello, is there a standard way with htmx to implement drag and drop reordable lists which updates a backend with new order?
  • m

    mysterious-toddler-20573

    10/24/2020, 10:21 AM
    I haven’t ported the example from intercoooler but the code is pretty much the same: http://intercoolerjs.org/examples/sortablelist.html
  • t

    thankful-addition-60522

    10/24/2020, 3:33 PM
    @mysterious-toddler-20573 so, are you going to do it or are you backing out?
1...616263...1146Latest