* update to go 1.24
* run go mod tidy
* make qtc a go tool
* remove tools installation from dockerfile dev
since it is now taken care of by the go tool command
* update makefile to use go tool task
* go get go@latest
* go get -tool github.com/go-task/task/v3/cmd/task@latest
* go get -tool github.com/a-h/templ/cmd/templ@latest
* upd task file to use go tool templ
* Add example to demonstrate
* upgrade to latest idiomorph
* Remove test file
* fix possible removal on apply
---------
Co-authored-by: Delaney Gillilan <delaneygillilan@gmail.com>
* Revamp apply and cleanup to be based primarily on MutationObserver
* Improve `data-on` timing functions
Fixes#519
* inline cast
* Update library/src/engine/engine.ts
Co-authored-by: Thomas Threadgold <2460166+Regaez@users.noreply.github.com>
* cleanup and merge with develop
* Add timing example
* remove apply
---------
Co-authored-by: Thomas Threadgold <2460166+Regaez@users.noreply.github.com>
Co-authored-by: Ben Croker <ben@putyourlightson.com>
* Fix newline in SDK protocol for paths. (#281)
* Fix newline in SDK protocol for paths.
Fixes#272
* Update PHP SDK
* Fix newline in SDK protocol for paths in Go SDK #272
* Tweak wording
---------
Co-authored-by: Ben Croker <ben@putyourlightson.com>
* Rename data-store to data-merge-signals. (#280)
* Make title dynamic in site (#277)
* Make title dynamic in site
Fixes#263
* Update meta tags
---------
Co-authored-by: Ben Croker <ben@putyourlightson.com>
* Add release note
* Rename data-store to data-merge-signals.
Fixes#269
* Fix backend reference docs and example
* feat: Add fly-deploy.yaml, manually triggered via GH only for now
* Rename data-store to data-merge-signals.
Fixes#269
* Update SDK #269
---------
Co-authored-by: Ben Croker <ben@putyourlightson.com>
Co-authored-by: Andrew Welch <andrew@nystudio107.com>
Co-authored-by: Ben Croker <57572400+bencroker@users.noreply.github.com>
* side effects
* Delaneyj/issue270 (#282)
* Start work on data-model removal #270
* move files #270
* move all test and examples to data-bind from data-model
* merge consts
* Add release note
---------
Co-authored-by: Ben Croker <ben@putyourlightson.com>
* Move to `@` for actions (#283)
* move to @ for actions
* Rename store to signals for #284 (#289)
* Rename store to signals #284 passes tests
---------
Co-authored-by: Delaney Gillilan <delaneygillilan@gmail.com>
* Update CHANGELOG.md
* Release notes
* Preprocessor to macro (#290)
* Preprocessor to macro Fixes#285
---------
Co-authored-by: Andrew Welch <andrew@nystudio107.com>
* Remove RefMacro
* Tweka wording
* Fix docs
* Support explicit syntax (#297)
* refactor: Use Docker-dev for the base image, and build all the things
* refactor: Log in to the registry
* refactor: Run on workflow changes
* chore: revert changes
* Improve homepage title
* delete everything first
* add top level sdk folder
move go SDK
add back bundles and stuff to make tsbuild work
* update go SDK url
* fix: Fix issue with `make task`
* fix: Fix multiple linux arch’s, add `support` as a `deploy` dep
* refactor: Install `flyctl`
* refactor: Output to the current directory
* refactor: ignore .out
* refactor: Run via Docker container
* refactor: Use `flyctl` instead of the alias
* refactor: Docker-in-Docker
As per “The Socket Solution” here: https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/
* refactor: Fix comment
* refactor: Make fly alias
* refactor: Use fly alias
* add vendored back in
* fix: Revert relative paths
* refactor: Revert ignoring `.out`
* refactor: Run flyctl in the CI container
* refactor: Remove flyctl
* refactor: Remove socket bind mount
* refactor: Add `flyctl` back in so `make task deploy` can be done locally
* add types and nested signals
* Add canonical meta tag
* add more stuff back in
* add ( i think ) the rest of the plugins
* lazy generation ReactiveExpresison, get click to edit working
* data-merge-signals to data-signals
start @action to action
* Add WIP release notes
* update more examples removing @ syntax and moving to sse action
* remove deprecated examples
* The great $ purge of 2024
* Add error codes
* working on v21 syntax #296
fix bind/intersect lazy reactiveExpression gen
* Fix todo demo
* Reorder plugins
* Start markdown errors
* Finish markdown errors
* Update release notes
* Add release note
* Update release note
* remove dup and require checks
* fix signals JSON usage
fix throttle/debounce lead/trail port
* make js obj helper
auto formatting
signal value needed explicit period prefix for value
data-signals lazy generates due to possible expressons
removeSignal applies after eval
* update test, 127/127
* Create VSCode extension (#295)
* Add attributes
* Finish attributes
* Fix repo URL
* Finish
* change attributes
* fix attributes
* VSCode extension improvements
* fix data-attributes example
* Fix a BEN!
* support individual data-class-foo calls
* error page
* Rework error pages
* Simplify
* Rework errors
* Fixes
* Delete `console.log` from library
* #296 persist back in
* Add missing error
* remove mouse move until I implement correctly
* i hate javascript
* . syntax for modifiers now :
* Extract plugin rules
* Add clarification comment
* support xor key or value for bind/ref/indicator
* Add KeyValRules
* Remove unused properties
* Update VSCode extension
* Update docs
* Improve getting started guide
* logic restored
* autogen error sidebar links
* fixed Restructure folders #287
* fix scroll test
* Prep docs for release
* Fixed check for exclusive requirements
* Build
* img diff
* add errors to nested signals
fix getting started
---------
Co-authored-by: Andrew Welch <andrew@nystudio107.com>
Co-authored-by: Ben Croker <ben@putyourlightson.com>
Co-authored-by: Ben Croker <57572400+bencroker@users.noreply.github.com>
* fix signals type elision
---------
Co-authored-by: Ben Croker <ben@putyourlightson.com>
Co-authored-by: Andrew Welch <andrew@nystudio107.com>
Co-authored-by: Ben Croker <57572400+bencroker@users.noreply.github.com>
* Add platforms to taskfile
Means that we download the correct version of tailwindcli for the
current platform.
* Remove comment
---------
Co-authored-by: Ben Croker <57572400+bencroker@users.noreply.github.com>
* feat: Initial docker-dev work
* refactor: Use -c
* refactor: do a fetch & pull too
* feat: Use the vite devserver when doing local development
* refactor: Add taskfile
* feat: Build the backend ahead of time so it’s cached
* feat: Clean up clean
* docs: Add documentation for Datastar Docker dev
* refactor: Add the package.json since the Taskfile tries to read it
* Trying to get the attribute evaluation inspection to work
* Improve inspector expression visualization
Keep expression snapshots on all state changes and fix idiomorph not
triggering attribute removals.
* inspector: Keep more events by default
* inspector: cleanup expression list on data-store removal
* Inspector: Improve dom viewer and add events
Work on events for plugin registration, the backend plugin and dom mutations.
Make a tree of Details viewer for the html.
* inspector-extension: improve types and allow devtools to message content
* inspector: add limit tree to rootId and add highlight on hover
* inspector: changes to version viewer
shows the versioned dom in an iframe and shows versioned dom references
to the store. Also allow highlight of ref element on hover (probably should happen
in the iframe instead though)
* commit current inspector work
* fix message for expr construction in inspector
* Replace TemplSignalStoreView with inspector component
Remove some things that werent satisfactory like the dom versioning in the iframe,
improve formatting of some messages and reduce the noise ratio by ignoring
certain datastar classes for animations and expr_construction messages (those show up in the expressions list anyways)
* add sidebar for inspector
cleanup css
---------
Co-authored-by: Delaney Gillilan <delaneygillilan@gmail.com>
* more styling
* move frontend packages to "packages"
* move large file out of static assets
* fix refs
* better mobile support
* add data-on-*.outside modifier
---------
Co-authored-by: Patrick Marchand <mail@patrickmarchand.com>
* Move to templ from Gostar
* data-scroll-in-view remove self after application
* throttle stopped double calls (start and end of throttle) by default
* new data: vt {true|false} for turning on/off view transitions per update. During the update things aren't clickable, making it a pain for real-time apps. Default is on still
* Add rawKey to ctx, allows easier cleanup of keys
* fix issues with data-fetch-indicator is is-fetching
* move site to daisyui/tailwind for better consistency in docs and examples
---------
Co-authored-by: Patrick Marchand <mail@patrickmarchand.com>