Mark Gibson

Results 69 comments of Mark Gibson

htmx already passes the `HX-Request` (with a value of `true`), this can be used to determine whether to serve a full or partial page... https://htmx.org/reference/#request_headers

Should it also include the target if available too, as this may well affect the response considerably? (ie. currently passed in the HX-Target header value), eg: `text/html;target=`

How about something like this, that lazily constructs the function the first time the event is triggered, and allows eval to be prevented if allowEval is false... ```js var func...

it appears this is now fixed for hx-on, but not for hx-on:* ... i've prepared some additional tests for this, I'll raise a PR for later with a patch.

See https://github.com/bigskysoftware/htmx/issues/1679 for new test cases.

Neither hx-on or hx-on:* triggers `htmx:evalDisallowedError` event either.

I've been experimenting with this, as eventually we want Okta SSO, but I've started simple with Google OAuth, and pre-populating profile data from the raw user JSON data. Username as...

@jsweetzer-ea I'm not planning to polish to the point where it could be merged back, as I expect to have some very specific configuration for our use-case, but more than...

@aalev hi, yes, the branch is now 'org', it's my default branch, there is a brief readme documenting the changes from 'main'... https://github.com/jollytoad/chatbot-ui/blob/org/README_FORK.md ... it's currently relying on Google OAuth...

I've also built this to run in a docker container, and hit some of the same issues. Anyway I hope this may help anyone else going down the same path....