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

AGM Location Change First PR #1

Closed
wants to merge 1 commit into from
Closed

Conversation

JazzarKarim
Copy link
Owner

@JazzarKarim JazzarKarim commented Oct 20, 2023

Issue #: /bcgov/entity#18161

Description of changes:

  • Updated Help Text
  • Added the reason box with wiring
  • Fixed validations
  • Removed address component (to be replaced by another new one in a subsequent PR)
  • Updated AGM Year rule

Note: In order to help with reviewing and not create one huge PR, I'll be doing the work in multiple small PRs. I'm also merging to main of my forked repo (not to main bcgov repo).

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).

@JazzarKarim JazzarKarim self-assigned this Oct 20, 2023
@@ -36,7 +36,7 @@ export default class DetailComment extends Vue {
get rules (): Array<(val) => boolean | string> {
// include whitespace in maximum length check
return [
val => (val && val.trim().length > 0) || 'Detail is required.',
val => (val && val.trim().length > 0) || this.textRequiredErrorMsg,
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using this new prop to show "Reason is required" instead of "Detail is required"
reason is required

@@ -113,7 +116,6 @@ export default class DetailComment extends Vue {
// Move the placeholder and input text from the edges.
:deep() {
.theme--light.v-input input, .theme--light.v-input textarea {
background-color: $gray1;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The component had a weird behavior/color:
weird color for detail comment

I don't know if you can see it haha but the background is a little bit messed up (2 colors). This fixes that.

@@ -90,14 +100,15 @@
</p>
</header>

<div :class="{ 'invalid-section': !agmYearValid && showErrors }">
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe we need here a red border for everything. I don't see this type of behavior in other local filings. I think the red border should be to what's invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant