Skip to content
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

Add filters in relatedLogEntries LWC #334

Open
jongpie opened this issue Jun 21, 2022 · 4 comments
Open

Add filters in relatedLogEntries LWC #334

jongpie opened this issue Jun 21, 2022 · 4 comments
Assignees
Labels
Feature: Related Log Entries LWC Items related to the relatedLogEntries LWC Layer: Log Management Items related to the custom objects & Logger Console app Type: Enhancement New feature or request

Comments

@jongpie
Copy link
Owner

jongpie commented Jun 21, 2022

New Feature Summary

Currently, the relatedLogEntries LWC provides a search box to filter on LogEntry__c records, but no other filters are provided. It'd be helpful to have some new filters added to the component so that users can have more control over what data is displayed on a record page.

  • Filter for LogEntry__c.LoggingLevel__c - this filter could be implemented in 1 of 2 ways:
    1. Display the filter as a picklist so users can select a single logging level - any log entries with the specified logging level's ordinal, or a higher ordinal, should then be displayed
    2. Display the filter as a multi-select picklist so users can select multiple logging levels - any log entries with the specified logging levels should then be displayed
  • Filter for LogEntry__r.Log__c.Scenario__c - users should be able to enter text to specify a scenario, and only matching log entries should be displayed.
@jongpie jongpie added Type: Enhancement New feature or request Layer: Log Management Items related to the custom objects & Logger Console app labels Jun 21, 2022
@mar-ben
Copy link
Contributor

mar-ben commented Jun 25, 2022

@jongpie where is relatedLogEntries LWC used? . I will work on this.

@jongpie
Copy link
Owner Author

jongpie commented Jun 28, 2022

@mar-ben that would be amazing! The relatedLogEntries LWC is designed to be used on any record flexipage - you can add it in App Builder for any record page, it shows up as a custom component called "Related Log Entries". There is a very basic page in the wiki about it, but it doesn't have much technical details - let me know if you have any questions!

@jongpie jongpie added the Feature: Related Log Entries LWC Items related to the relatedLogEntries LWC label Jun 28, 2022
@mar-ben
Copy link
Contributor

mar-ben commented Jul 17, 2022

@jongpie. Please find the updated UI screenshots . I have used checkbox group instead of multi select picklist for logging Level filter. Let me know if any changes required.

Screen Shot 2022-07-17 at 6 00 40 PM

Filter Modal :
Screen Shot 2022-07-17 at 6 03 00 PM

@jongpie
Copy link
Owner Author

jongpie commented Jul 29, 2022

@mar-ben I love this, this looks great! I had not thought of using a modal for the filters, but I really like that approach - it gives a lot of room to add new filters in the future. And I think the checkbox group looks great. Feel free to submit a PR for your changes whenever you're ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Related Log Entries LWC Items related to the relatedLogEntries LWC Layer: Log Management Items related to the custom objects & Logger Console app Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants