-
Notifications
You must be signed in to change notification settings - Fork 15
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
DRAFT 4776 de techify new report modal #4804
Conversation
And default expiry now
@@ -29,11 +29,15 @@ export const ReportArgumentsModal: FC<ReportArgumentsModalProps> = ({ | |||
monthsItemsExpire, | |||
} = store?.preferences ?? {}; | |||
|
|||
// default expiry date as now formatted to datepicker | |||
const expiryDate = new Date().toISOString().slice(0, 10); |
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 wondered if made more sense to have this default coming through with report json schema, but it was much easier to call date here rather than try and add functions to json
/// Search term must begin with (case insensitive) | ||
starts_with: Option<String>, |
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.
have added starts_with to string filter.
Is this okay? I was wondering why we didn't have all implementations of StringFilter included already?
This PR will be streamlined to just make modal text changes - remaining changes have not been triaged |
Fixes #4776
π©π»βπ» What does this PR do?
Works with changes made in omSupply reports PR https://github.com/msupply-foundation/open-msupply-reports/pull/93
π Any notes for the reviewer?
π§ͺ Testing
You can test this report by upserting the new reports from the #4776 reports branch, and then generating a new report.
You will see the modal has changed and search for code or name on standard reports now runs by 'starts with' rather than 'contains'
π Documentation
See new issue: Update documentation for simplified report modalΒ msupply_docs#88