Skip to content

Conversation

@volodyayakubovskyy
Copy link
Contributor

No description provided.


export class FetchInstitutions {
static readonly type = '[Institutions] Get';
static readonly type = '[Institutions] Fetch';
Copy link
Collaborator

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.

Comment on lines 10 to 14
static readonly type = '[Institutions] Get Resources';
}

export class FetchResourcesByLink {
static readonly type = '[Institutions] Get Resources By Link';
Copy link
Collaborator

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';
Copy link
Collaborator

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,
Copy link
Collaborator

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,
Copy link
Collaborator

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 {
Copy link
Collaborator

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 {
Copy link
Collaborator

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.

Comment on lines 63 to 79
::ng-deep {
.p-select {
border: none;
box-shadow: none;
background: transparent;

&:focus {
box-shadow: none;
border: none;
}
}

.p-select-label {
font-weight: bold;
}
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove it.

Comment on lines 81 to 89
@media (max-width: 576px) {
.sorting-container {
justify-content: flex-end;
}

.filters-resources-web {
flex-direction: column;
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use primeflex.

@volodyayakubovskyy volodyayakubovskyy merged commit 003c11a into main Jul 2, 2025
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