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

17489 Partial Business Fetch component + clear button #661

Merged

Conversation

severinbeauvais
Copy link
Collaborator

Issue #: bcgov/entity#17489

Description of changes:

  • app version = 5.0.29
  • implemented partial Business Fetch component
  • deleted BusinessLookup from store
  • used Business Fetch component when not logged in
  • implemented business lookup/fetch clear button

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


// set state and perform search
this.state = States.SEARCHING
await Sleep(1000) // *** TODO: perform search here
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

WIP but partly usable :)

- implemented partial Business Fetch component
- deleted BusinessLookup from store
- used Business Fetch component when not logged in
- implemented business lookup/fetch clear button
bn: '',
status: EntityStates.ACTIVE,
name: this.searchField
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For testing, using a business ID as search field.

:value="business.name"
/>
<div @click="business=null">
<v-icon color="primary">mdi-close</v-icon>
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 is a usable clear/retry button, but I'm still waiting for Janis' design on it.

@@ -15,7 +15,6 @@ export interface NewRequestIF {
analysisJSON: AnalysisJSONI
applicant: ApplicantI
assumedNameOriginal: string
businessLookup: BusinessLookupResultIF
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think we don't need this in the store -- its lifespan is only while doing a business lookup on the Search page. After that, other variables are set from the data.

Copy link
Collaborator

@JazzarKarim JazzarKarim left a comment

Choose a reason for hiding this comment

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

Looks great Sev!

Copy link
Collaborator

@ketaki-deodhar ketaki-deodhar left a comment

Choose a reason for hiding this comment

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

LGTM!

@ketaki-deodhar
Copy link
Collaborator

Merging!

@ketaki-deodhar ketaki-deodhar merged commit a1e0964 into bcgov:feature-way-of-navigating Aug 25, 2023
4 of 5 checks passed
severinbeauvais added a commit to severinbeauvais/namerequest that referenced this pull request Aug 29, 2023
- implemented partial Business Fetch component
- deleted BusinessLookup from store
- used Business Fetch component when not logged in
- implemented business lookup/fetch clear button
JazzarKarim pushed a commit to JazzarKarim/namerequest that referenced this pull request Sep 8, 2023
- implemented partial Business Fetch component
- deleted BusinessLookup from store
- used Business Fetch component when not logged in
- implemented business lookup/fetch clear button
JazzarKarim pushed a commit that referenced this pull request Sep 11, 2023
- implemented partial Business Fetch component
- deleted BusinessLookup from store
- used Business Fetch component when not logged in
- implemented business lookup/fetch clear button
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