Andrew Kane

Results 242 comments of Andrew Kane

Hey @junaid-malik-confiz, had some time tonight, so I added support for `Seconds_Behind_Master`. As you mention, it's not always reliable, so there could also be support for `pt-heartbeat` in a similar...

@bleonard Nothing immediately jumps out.

Hey @alex-benoit, thanks for the suggestion, and sorry everyone for the delay. This will be addressed in the Chartkick 5 release. Current status: https://github.com/ankane/chartkick/issues/601#issuecomment-1376670689

Hi all, Chartkick 5 is out and I'm still working on the docs, but the short version is: For Importmaps, download the [UMD version](https://unpkg.com/chartjs-plugin-annotation@2/dist/chartjs-plugin-annotation.js) to `vendor/javascript`, pin it in `config/importmap.rb`,...

Can confirm this fixes #1, thanks @obeleh

Hi @AlecR, thanks for the PR. Added support for this in the commit above.

Hi @pbassut, thanks for the suggestion. However, it's more complexity than I'd like to maintain.

Hi @sebscholl, thanks for the PR. 1. `nearest_neighbors` currently returns a relation, so you can limit with `limit(n)` or `first(n)`. 2. Results are currently ordered by distance. However, if you...