-
Notifications
You must be signed in to change notification settings - Fork 7
Caputlog detail page #117
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
Caputlog detail page #117
Conversation
add using caputlog check for header navigation add caputlog search layout component add new line add caputlogSearchConfig require proptypes
c06a833 to
0fd4c51
Compare
fix date filter
b138595 to
2bebb84
Compare
tynanford
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really nice!
A few other general comments
- I would rather structure caputlogtable as a directory under components since it is a separate component from things on the pv details page. But if that messes up imports then it's not a big problem
- I noticed some caputs in our table to the .PROC field of a PV which is nice to see. But they don't show up in the caputlog table for that individual PV. I wonder if the PV details caputlog page could search for both
pvnameandpvname.*to catch all changes to the EPICS dot fields - allowing wildcard PV name searches would be useful
| import CalendarMonthIcon from '@mui/icons-material/CalendarMonth'; | ||
| import DatePicker from "react-datepicker"; | ||
| import "react-datepicker/dist/react-datepicker.css"; | ||
| import "@elastic/react-search-ui-views/lib/styles/styles.css"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is really nitpicky so I can work on it in a separate PR. But I would rather have the search button and fonts match the styling of the rest of PV Info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've started a CaputLogSearchLayout.css to match the current styling of the rest of PV info, it is still a bit of a work in progress but it is matching better now.
| {showSearchBox && ( | ||
| <SearchBox inputProps={{ placeholder: "Search by PV Name, User, or Client" }} /> | ||
| )} | ||
| <DatePicker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it might be nice to have a clear button for the date picker to reset it back to no date range
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added this in the most recent commit
I've fixed the second point. I'm still working on restructuring caputlogtable as a directory under components |
update search css, add date clear button added initial search wildcard to caputlog accordian to search for pvName* to include searching for pvs with sufixes restructure caputlog page to be a directory under components
e950bc5 to
71f7522
Compare
|
add custom elasticsearch connector for * functionality. This will allow for * wildcard at the end of the search. Still working on implementing * as a wildcard anywhere in the search string. use optional chain expression fix date filter when searchTerm is used remove unused initialSearchTerm and setSearch remove console log statements update caputlog search to work with * wildcard fix caputlog prefix .* search, update examples fix caputlog prefix .* search and update example screenshots
d91ed6c to
bf9082e
Compare
|
|
Really nice, much better than having to open kibana! |



Add caput log detail page: