HangfireIO / HangfireIO/Hangfire

How to save user Manual activity on the hangfire dashboard to database ?

Open
#1,902 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

Hi All,

I need to save any manual activity done on the dashboard to a database. I'm currently using OnStateUnapplied(), to track such activities and will be using the Reason field for 'Triggered by Dashboard UI' & 'Triggered by Recurring Job' to track these manual operations. I have 2 questions.

1) Is there a cleaner way to implement this ?
2) Whenever I delete anything under the Recurring Jobs section, can that be tracked as well because OnStateUnapplied() doesn't get invoked during the operation.

Thanks
PC

Contributor guide

Open the contributing guide

Research direction

Start with the OnStateUnapplied() hook and the dashboard's Recurring Jobs deletion operation described in the issue. Trace whether each manual dashboard action produces a trackable state change, then determine what supported extension point would cover both triggered operations and deletions. Done means the tracking approach is identified for both cases and its behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.