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

    gorgeous-ghost-95789

    09/30/2020, 5:22 PM
    I'm pretty confident that this could be accomplished by an extension as well. And, maybe that's the best place for this specific example. But, it could make listening to additional browser APIs much more powerful.
  • g

    gorgeous-ghost-95789

    09/30/2020, 5:24 PM
    On a separate topic Bluetooth API looks like it might be another natural extension to WebSockets / SSE.
  • g

    gorgeous-ghost-95789

    09/30/2020, 5:37 PM
    WebRTC, too. I'm planning to use that on my own. Still haven't dug in deep enough to speak about it intelligently. But it should at least get a second look 🙂
  • g

    gorgeous-ghost-95789

    09/30/2020, 6:27 PM
    One last "brainstorm" and then I'll shut up and really think about this. I'd also love to see some kind of drag-and-drop support. I'm digging in to the basics of this now for my own projects. There are plenty of "sortable" libraries out there. But, perhaps there's a way to hook in to their events (for instance, knowing when an item is dropped into a new location, or new container) then notify the server of updates that need to be performed.
  • m

    mysterious-toddler-20573

    09/30/2020, 6:31 PM
    I did a demo of that for intercooler
  • m

    mysterious-toddler-20573

    09/30/2020, 6:31 PM
    http://intercoolerjs.org/examples/sortablelist.html
  • g

    gorgeous-ghost-95789

    09/30/2020, 6:31 PM
    That's very cool.
  • m

    mysterious-toddler-20573

    09/30/2020, 6:31 PM
    could port that to whatever and post to htmx
  • m

    mysterious-toddler-20573

    09/30/2020, 6:32 PM
    Copy code
    html
    
      <form>
        <ul id="sortable-list" ic-put-to="/colors" ic-trigger-on="end" ic-indicator="#indicator">
          <li>Blue <input type="hidden" name="colors" value="Blue"></li>
          <li>Red <input type="hidden" name="colors" value="Red"></li>
          <li>Green <input type="hidden" name="colors" value="Green"></li>
          <li>Yellow <input type="hidden" name="colors" value="Yellow"></li>
          <li>Purple <input type="hidden" name="colors" value="Purple"></li>
        </ul>
      </form>
  • g

    gorgeous-ghost-95789

    09/30/2020, 6:32 PM
    I didn't say, but many of these ideas might fit better in Hyperscript. Again, I need to do some real research before I just start talking 🙂
  • m

    mysterious-toddler-20573

    09/30/2020, 6:32 PM
    the crux was to trigger on the
    end
    event which was fired by sortable.js
  • g

    gorgeous-ghost-95789

    09/30/2020, 6:33 PM
    Yeah, drag-and-drop support would be amazing. I'm exploring UIKit, which has different syntax/events, but the same basic concept. So, hooking in to the other library might be the crux of it.
  • m

    mysterious-toddler-20573

    09/30/2020, 6:33 PM
    demos would be good
  • m

    mysterious-toddler-20573

    09/30/2020, 7:05 PM
    htmx 0.2.0 is mostly passing for IE11, the few failures are perf and bad error handling by IE
  • m

    mysterious-toddler-20573

    09/30/2020, 7:05 PM
    so the current dev is what's going out unless I get feedback
  • m

    mysterious-toddler-20573

    09/30/2020, 8:22 PM
    OK, I decided to pull the trigger: 0.2.0 is out: https://htmx.org/posts/2020-9-30-htmx-0.2.0-is-released/
  • m

    mysterious-toddler-20573

    10/01/2020, 2:04 PM
    @here Sorry to spam, but for htmxl 1.0 I would like * A docs push * More examples * If possible, a website refresh If you are able to assist on any of these and, in particular, know someone who is willing to work on the website given some contraints (no large css frameworks, keeping it pretty simple, putting up with design feedback from someone who can't design) please let me know
  • m

    mysterious-toddler-20573

    10/01/2020, 2:04 PM
    would love to get an alpine js example up, for example, and @User maybe a UIkit example
  • m

    mysterious-toddler-20573

    10/01/2020, 2:05 PM
    @User ☝️
  • b

    big-airline-13935

    10/01/2020, 2:58 PM
    @User Please define a "docs push".
  • m

    mysterious-toddler-20573

    10/01/2020, 3:08 PM
    🙂 trying to flesh out docs that aren't complete or are missing
  • m

    mysterious-toddler-20573

    10/01/2020, 3:09 PM
    just pointing out the areas that need work is fine, certainly not asking people to write docs for me 😉
  • b

    big-airline-13935

    10/01/2020, 3:29 PM
    I can do a docs review: https://github.com/bigskysoftware/htmx/issues/205 (assigned to me)
  • m

    mysterious-toddler-20573

    10/01/2020, 3:34 PM
    awesome, thank you ben
  • m

    mysterious-toddler-20573

    10/01/2020, 3:34 PM
    hopefully we can fold @User work into that as well
  • m

    mysterious-toddler-20573

    10/01/2020, 4:51 PM
    @User do you think I should document the javascript API?
  • g

    gorgeous-ghost-95789

    10/01/2020, 5:39 PM
    I'm a different Ben, but I believe documentation is a good thing. I'm happy to help out, if you point me in a useful direction.
  • m

    mysterious-toddler-20573

    10/01/2020, 5:43 PM
    I think a good example or two using UIKit would be nice
  • g

    gorgeous-ghost-95789

    10/01/2020, 5:45 PM
    Gotcha. (I just noticed your comment above saying the same thing)
  • l

    lively-beach-14291

    10/01/2020, 7:05 PM
    https://inertiajs.com/how-it-works
1...434445...1146Latest