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

Edit UI: add FF to conditionally allow "empty corrections" #608

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

Rajandeep98
Copy link
Collaborator

@Rajandeep98 Rajandeep98 commented Jan 10, 2025

Issue #: /bcgov/entity#25227

Description of changes:
FF to conditionally allow empty corrections

@severinbeauvais
Copy link
Collaborator

/gcbrun

@bcregistry-sre
Copy link
Collaborator

bcregistry-sre commented Jan 10, 2025

@Rajandeep98
Copy link
Collaborator Author

/gcbrun

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://business-edit-dev--pr-608-um052ytv.web.app

Copy link
Collaborator

@severinbeauvais severinbeauvais left a comment

Choose a reason for hiding this comment

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

In your original PR, you had deleted some unit tests. Can you restore them now?

Ref: https://github.com/bcgov/business-edit-ui/pull/605/files

Copy link
Collaborator

@severinbeauvais severinbeauvais left a comment

Choose a reason for hiding this comment

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

The correction filing is behaving perfectly 👍

Let me turn On the feature flag and test again.

@severinbeauvais
Copy link
Collaborator

severinbeauvais commented Jan 10, 2025

With FF enabled (so detail-only should be allowed), if I edit the Articles -- which makes the component invalid -- the File and Pay button is still enabled.

Check isCorrectionEditing -- it might be missing the check for the Articles component.

Copy link
Collaborator

@severinbeauvais severinbeauvais left a comment

Choose a reason for hiding this comment

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

LGTM

@severinbeauvais
Copy link
Collaborator

We will create another ticket for the "Articles" issue.

This PR is ready to go.

@severinbeauvais severinbeauvais merged commit 208a566 into bcgov:main Jan 13, 2025
8 of 10 checks passed
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.

3 participants