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

Update Misc Transfers Ownership #1856

Merged
merged 3 commits into from
May 3, 2024
Merged

Conversation

dimak1
Copy link
Collaborator

@dimak1 dimak1 commented May 2, 2024

Issue #:

Description of changes:

  • Enable Delete and Edit Group Details buttons for Misc Transfers
  • Add ids for to dropdown for easier cypress tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the PPR license (Apache 2.0).

@dimak1
Copy link
Collaborator Author

dimak1 commented May 2, 2024

/gcbrun

Comment on lines 138 to 145
fractionalOwnershipData: computed((): FractionalOwnershipWithGroupIdIF => {
// for New Group (the last one in dropdown), reset interest values
if (localState.groupItems.length === localState.ownerGroupId) {
props.fractionalData.interestNumerator = null // eslint-disable-line vue/no-mutating-props
props.fractionalData.interestDenominator = null // eslint-disable-line vue/no-mutating-props
}
return props.fractionalData
}),
Copy link
Collaborator

Choose a reason for hiding this comment

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

There was a previous explicit requirement to put in default interest values for New Groups, so i'm confused by this a little.

I guess the question is:
Has this requirement changed/since been reversed? Can we confirm this from all parties? ie design/qa etc

If so, we should just remove the code that applies the defaults, which i think is code block starting line 603 in add/edit owner component

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was raised by Divya. I was also surprised by this, so just waiting for clarification from her.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sara could not confirm this, so we removed it for this PR. If Liz says we need it cleared, they will create a new ticket.

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://bcregistry-assets-dev--pr-1856-46o9ljb8.web.app

@dimak1 dimak1 force-pushed the feat/update-misc-transfers branch from 0ede9fd to de46b60 Compare May 3, 2024 08:43
Copy link
Collaborator

@cameron-eyds cameron-eyds left a comment

Choose a reason for hiding this comment

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

Looks good!

@dimak1 dimak1 changed the title Update Misc Transfers and Fractional Ownership Update Misc Transfers Ownership May 3, 2024
@dimak1 dimak1 merged commit a46671c into bcgov:main May 3, 2024
3 of 5 checks passed
@dimak1 dimak1 deleted the feat/update-misc-transfers branch May 3, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants