-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: change explore tab to collection tab #3243
Conversation
Signed-off-by: James Chien <james@numbersprotocol.io>
Signed-off-by: James Chien <james@numbersprotocol.io>
Signed-off-by: James Chien <james@numbersprotocol.io>
Signed-off-by: James Chien <james@numbersprotocol.io>
Signed-off-by: James Chien <james@numbersprotocol.io>
src/app/features/home/home.page.ts
Outdated
@@ -63,7 +63,7 @@ import { PrefetchingDialogComponent } from './onboarding/prefetching-dialog/pref | |||
export class HomePage { | |||
readonly initialTabIndex = 0; | |||
private readonly afterCaptureTabIndex = 0; | |||
private readonly exploreTabIndex = 2; | |||
private readonly CollectionTabIndex = 2; |
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.
Please follow the naming rule - start with lowercase.
} | ||
|
||
navigateBackExploreIframe() { | ||
this.exploreIframe?.nativeElement.contentWindow?.postMessage( | ||
navigateBackcollectionIframe() { |
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.
navigateBackCollectionIframe
@@ -10,14 +10,13 @@ export class IframeService { | |||
|
|||
private readonly preferences = this.preferenceManager.getPreferences(this.id); | |||
|
|||
readonly exploreTabRefreshRequested$ = new BehaviorSubject(new Date()); | |||
readonly CollectionTabRefreshRequested$ = new BehaviorSubject(new Date()); |
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.
Please follow the naming rule - start with lowercase.
|
||
readonly exploreTabIframeNavigateBack$ = | ||
this._exploreTabIframeNavigateBack$.asObservable(); | ||
readonly CollectionTabIframeNavigateBack$ = |
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.
Please follow the naming rule - start with lowercase.
private readonly _exploreTabIframeNavigateBack$ = new ReplaySubject<boolean>( | ||
1 | ||
); | ||
private readonly _CollectionTabIframeNavigateBack$ = |
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.
Please follow the naming rule - start with lowercase.
Signed-off-by: James Chien <james@numbersprotocol.io>
Changed
┆The issue is also created on Asana