For the moment , with the like button on job cards, when they are clicked they do not trigger reloads of the recommended or dashboard pages, contrary to the blacklist button. What blacklist does is take the job out of the sub-db path [:wh.logged-in.personalised-jobs.db/sub-db ▶{..., :wh.logged-in.personalised-jobs.db/jobs [{} , ... , {}]}]
and puts it in the blacklisted ▶{:wh.user.db/sub-db {:wh.user.db/blacklist #{"remote-junior-maker-of-everything-dd48b"}}}
section. ::toggle-job-like
does the same, but the difference being blacklist will recall either the dashboard or the recommended page to show that it has been removed:
(reg-event-fx
::blacklist-job
db/default-interceptors
(fn [{db :db} [{:keys [id] :as job} action]]
{:graphql {:query blacklist-job-mutation
:variables {:id id}