-
Notifications
You must be signed in to change notification settings - Fork 55
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
25190 - Court Order Filings #714
25190 - Court Order Filings #714
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
package-lock.json
Outdated
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.
openFileDialog () { | ||
// Access the underlying file input element and trigger click | ||
const fileInput = this.$refs.fileUploadRef.$el.querySelector('input') |
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.
Oh, so you're not using the new file uploader component?
How about moving this code to a public function in the file upload component, that you just call here?
Reason: this component should not know what's inside the file upload component.
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.
You didn't fix this here so it will have to be updated later.
readonly PageSizes = PageSizes | ||
// enum for template | ||
readonly FilingCodes = FilingCodes | ||
/** Prop to display the dialog. */ |
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.
Are any of these props needed? If not, please replace remove them.
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.
You didn't fix this here so it will have to be updated later. (Ideally, when you write the unit tests.)
I see no unit tests in this PR. Please create another ticket to create a unit test suite for this filing. |
/gcbrun |
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 looks great! Thank you.
I approve, but please update the app version again, and then I'm OK with merging this (with the understanding that unit tests will come in the next week or so).
Quality Gate failedFailed conditions |
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 good! Please create a ticket for unit tests and refer it in the original ticket
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.
In the package lock file, I see those new architecture packages. Are you using only "npm" in this repo to manage dependencies? Anyways, let's merge this and see if it's OK as-is.
PS Did you create a new ticket to write unit tests for this new filing?
Approving.
Issue #: bcgov/entity#25190
Description of changes:
Court Order Filings Added
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the business-filings-ui license (Apache 2.0).