-
Notifications
You must be signed in to change notification settings - Fork 42
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
17489 Partial Business Fetch component + clear button #661
Conversation
|
||
// set state and perform search | ||
this.state = States.SEARCHING | ||
await Sleep(1000) // *** TODO: perform search here |
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.
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 | ||
} |
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.
For testing, using a business ID as search field.
:value="business.name" | ||
/> | ||
<div @click="business=null"> | ||
<v-icon color="primary">mdi-close</v-icon> |
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.
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 |
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.
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.
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 great Sev!
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.
LGTM!
Merging! |
a1e0964
into
bcgov:feature-way-of-navigating
- implemented partial Business Fetch component - deleted BusinessLookup from store - used Business Fetch component when not logged in - implemented business lookup/fetch clear button
- implemented partial Business Fetch component - deleted BusinessLookup from store - used Business Fetch component when not logged in - implemented business lookup/fetch clear button
- implemented partial Business Fetch component - deleted BusinessLookup from store - used Business Fetch component when not logged in - implemented business lookup/fetch clear button
Issue #: bcgov/entity#17489
Description of changes:
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).