Unfortunately, I did not find a solution during that time, but you can try to achieve it by adding app_include_js in your custom app hook.js file.
Then determine if the current page is Kanban board or not by using frappe.get_route() in the js file.
You can trigger the function every time a route change using
frappe.router.on('change', () => {
// if frappe.get_route() page and title is Kanban board page
// do something
})
It would be nice if the detailed view of the item popped up in a model. I wrote a bunch of code for embedding views into the dashboard. Perhaps an embedded view could be put in a popup model here.