-
Notifications
You must be signed in to change notification settings - Fork 5
Feat/221 institutions search #140
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
Conversation
# Conflicts: # src/app/shared/stores/index.ts
# Conflicts: # src/app/shared/components/reusable-filter/reusable-filter.component.ts
# Conflicts: # src/app/features/institutions/institutions.component.html # src/app/features/institutions/institutions.component.scss
@@ -3,7 +3,7 @@ export class GetUserInstitutions { | |||
} | |||
|
|||
export class FetchInstitutions { | |||
static readonly type = '[Institutions] Get'; | |||
static readonly type = '[Institutions] Fetch'; |
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.
Use full name here: Fetch Institutions
.
static readonly type = '[Institutions] Get Resources'; | ||
} | ||
|
||
export class FetchResourcesByLink { | ||
static readonly type = '[Institutions] Get Resources By Link'; |
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.
Use Fetch
instead of Get
.
import { Routes } from '@angular/router'; | ||
|
||
import { InstitutionsComponent } from '@osf/features/institutions/institutions.component'; | ||
import { InstitutionsSearchComponent } from '@osf/features/institutions/pages/institutions-search/institutions-search.component'; |
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.
Simplify import to this: "import { InstitutionsSearchComponent } from './pages';"
templateUrl: './institutions-search.component.html', | ||
styleUrl: './institutions-search.component.scss', | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
standalone: true, |
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.
Remove this.
], | ||
templateUrl: './reusable-filter.component.html', | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
standalone: true, |
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.
Remove it.
} | ||
} | ||
|
||
.filters-resources-web { |
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.
Use prime flex.
} | ||
} | ||
|
||
.no-border-dropdown { |
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.
Don't use ::ng-deep
.
::ng-deep { | ||
.p-select { | ||
border: none; | ||
box-shadow: none; | ||
background: transparent; | ||
|
||
&:focus { | ||
box-shadow: none; | ||
border: none; | ||
} | ||
} | ||
|
||
.p-select-label { | ||
font-weight: bold; | ||
} | ||
} | ||
} |
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.
Remove it.
@media (max-width: 576px) { | ||
.sorting-container { | ||
justify-content: flex-end; | ||
} | ||
|
||
.filters-resources-web { | ||
flex-direction: column; | ||
} | ||
} |
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.
Use primeflex.
No description provided.