Ryan Glover
Ryan Glover
Would be good to have a middleware implementation of this, too, even if it's just a documented pattern.
Cookie is the way to go, along with a password in `settings.config.middleware.password_protection`. Have a middleware you can import from `@joystick.js/node` called `password_protection()`. That will check for a special cookie like...
Came up with a cheap way to do this using fuse-js. Basically set up a getter that runs a DB query, creates the index, and runs the query and then...
Prefer the package fuzzysort for this, but everything else is the same. Basically you just seed that with your data and then call to it to get the results. I...
Making a note: it'd be wise to do the search side of this in-house and just build it into Joystick.
Also include #280 in this work
Maybe do this as `res.sitemap()` so it's even easier?
Brainwave: just add a `modal: true` property to components. Makes it easy to scoop them up at build/mount time.
Bumping this to 1.0.0. Have run into far too many headaches with modals and it makes a ton of sense. Should make UIs faster overall and makes markup clean as...
Had a thought in the car... The ideal way to do this is to just have an object on a parent component or layout where modals can be registered like...