-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[popup] Add "Enable debug logs" button on user tab #245
Labels
enhancement
New feature or request
Comments
@AntoineLeleu-Salesforce The floor is yours 🚀 |
@tprouvot would it be a good solution if, when the user clicks the Debug button, it takes them to the configured Delug Logs as in the screenshot below? |
@KamilGadawski we could have dont this, but we choose to create a trace flag straight away. |
This was referenced Jan 4, 2024
Closed
tprouvot
added a commit
that referenced
this issue
Jan 10, 2024
## Describe your changes **Add new "Enable Logs" button in the User tab :** - Allow to enable a trace flag for the selected user. - By default, trace flag time is 15 minutes and debug level is _SFDC_DevConsole_. - If an old trace flag is found (in the past, same user, same debug level), this one is updated extending the expiration date of 15 minutes. - Once the trace flag is enabled, the button is disabled and pass to _Logs Enabled_. A page loading is required to enable the button again. ## Issue ticket number and link [245](#245) ## Checklist before requesting a review - [x] I have read and understand the [Contributions section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions) - [x] Target branch is releaseCandidate and not master - [x] I have performed a self-review of my code - [x] I ran the [unit tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests) and my PR does not break any tests - [x] I documented the changes I've made on the [CHANGES.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/CHANGES.md) and followed actual conventions - [ ] I added a new section on [how-to.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/docs/how-to.md) (optional) --------- Co-authored-by: Thomas Prouvot <prouvot.t@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
It would be great if we could enable debug logs for a particular user directly from the User tab
Describe the solution you'd like
This would create a TraceFlag record with FINEST logs for all and for 30 min by default.
We would add localStorage options to customize duration and log levels
The text was updated successfully, but these errors were encountered: