Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
3a079a0
fix & and > for text fields for metadata tab
mkovalua Oct 22, 2025
4716d52
show correct < > & for registry text fields on rendering
mkovalua Oct 23, 2025
7c7ccd4
fix(addons): fix citation root collection selection
opaduchak Oct 23, 2025
b32d094
render /my-projects?tab=1&page=1 with good title formatting
mkovalua Oct 23, 2025
9529652
render /my-preprints with good title formatting
mkovalua Oct 23, 2025
dc2a85b
render /my-registrations with good title formatting
mkovalua Oct 23, 2025
b0c63a6
render preprint title with good title formatting
mkovalua Oct 23, 2025
53ddd5a
use correct encoding on /search? elements rendering
mkovalua Oct 23, 2025
29ab4b9
specify needed columns to extract for registation/preprint/project cs…
mkovalua Oct 27, 2025
5b1cccb
fix(curator_delete_project_button_permissions): fix delete button vis…
sh-andriy Oct 27, 2025
33016ca
add link to user (JSON has an api link to the user, but the other two…
mkovalua Oct 27, 2025
645023a
resolve merge conflicts with feature/pbs-25.02
mkovalua Oct 27, 2025
8c5fc4e
resolve CR comments
mkovalua Oct 27, 2025
0e74318
resolve merge conflicts and npm run lint:format
mkovalua Oct 28, 2025
98282b5
fix(curator_delete_project_button_permissions): fix delete button vis…
sh-andriy Oct 28, 2025
d08f9dd
npm run lint:format
mkovalua Oct 28, 2025
08696af
Merge pull request #698 from mkovalua/fix/ENG--9242
nsemets Oct 29, 2025
01c14c0
Merge pull request #721 from sh-andriy/fix/ENG-9166_fix-curator-permi…
nsemets Oct 29, 2025
4882fb4
Merge pull request #703 from opaduchak/fix/ENG-9264
nsemets Oct 29, 2025
ba5eae9
[ENG-9641] Moderation queues do not show more than 10 contributors (#…
nsemets Oct 29, 2025
707e8bf
Merge pull request #729 from mkovalua/fix/ENG-9542-pbs-25.03
nsemets Oct 29, 2025
d90694d
fix(profile): removed employment and education from hero section (#725)
nsemets Oct 29, 2025
626857d
Chunk improvements (#730)
nsemets Oct 29, 2025
780d27b
feat(file-tree): implement shift-click functionality
opaduchak Oct 29, 2025
f0729bc
Merge pull request #727 from opaduchak/ENG-9225
nsemets Oct 30, 2025
f939b57
Fix build errors (#733)
nsemets Oct 30, 2025
432ac96
fix(addons): Fetch addon icons from GravyValet (#735)
futa-ikeda Oct 30, 2025
a8f8715
[ENG-9654] Fix translation errors for Azure Blob Storage
futa-ikeda Oct 30, 2025
7e51838
[ENG-8545] Google attempting to index preprint fails with "soft 404" …
nsemets Nov 3, 2025
f193b2b
Code improvements (#740)
nsemets Nov 3, 2025
6519689
chore(addons): Serialize configurableApiRoot property
futa-ikeda Nov 3, 2025
ba073d9
refactor(addons): Use configurableApiRoot property to show form inputs
futa-ikeda Nov 3, 2025
ae067ad
test(addons): update tests
futa-ikeda Nov 3, 2025
2fbcf46
chore(addons): Simplify computed property
futa-ikeda Nov 4, 2025
a1ee72c
fix(ENG-9260): P12.3 - Google Drive files not loading once root folde…
opaduchak Nov 4, 2025
438954d
Merge pull request #741 from futa-ikeda/refactor/configurable-api-root
futa-ikeda Nov 4, 2025
f6109ee
[ENG-9633] Optimize registration initial load (#737)
nsemets Nov 5, 2025
238adb4
[ENG-9255] Fix wrong < > & encoding (#742)
mkovalua Nov 5, 2025
1b23719
Revert "fix(ENG-9260): P12.3 - Google Drive files not loading once ro…
brianjgeiger Nov 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"cedar-artifact-viewer",
"markdown-it-video",
"ace-builds/src-noconflict/ext-language_tools",
"@traptitech/markdown-it-katex"
"@traptitech/markdown-it-katex",
"@citation-js/core",
"@citation-js/plugin-csl"
],
"assets": [
"src/favicon.ico",
Expand Down
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ module.exports = {
'^@styles/(.*)$': '<rootDir>/assets/styles/$1',
'^@testing/(.*)$': '<rootDir>/src/testing/$1',
'^src/environments/environment$': '<rootDir>/src/environments/environment.ts',
'^cedar-artifact-viewer$': '<rootDir>/src/testing/mocks/cedar-artifact-viewer.mock.ts',
'^cedar-embeddable-editor$': '<rootDir>/src/testing/mocks/cedar-embeddable-editor.mock.ts',
},
transform: {
'^.+\\.(ts|mjs|js|html)$': [
Expand Down
6 changes: 6 additions & 0 deletions src/@types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,11 @@ declare global {
*/
loggedIn: boolean;
};

/**
* Flag used by prerender services to determine when a page is fully loaded.
* Set to false initially, then set to true once all AJAX requests and content are loaded.
*/
prerenderReady?: boolean;
}
}
7 changes: 4 additions & 3 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ import { CookieConsentBannerComponent } from '@core/components/osf-banners/cooki
import { ENVIRONMENT } from '@core/provider/environment.provider';
import { GetCurrentUser, UserState } from '@core/store/user';
import { UserEmailsState } from '@core/store/user-emails';
import { CustomDialogService } from '@shared/services';

import { TranslateServiceMock } from '../testing/mocks';
import { TranslateServiceMock } from '../testing/mocks/translate.service.mock';

import { FullScreenLoaderComponent, ToastComponent } from './shared/components';
import { FullScreenLoaderComponent } from './shared/components/full-screen-loader/full-screen-loader.component';
import { ToastComponent } from './shared/components/toast/toast.component';
import { CustomDialogService } from './shared/services/custom-dialog.service';
import { AppComponent } from './app.component';

import { OSFTestingModule } from '@testing/osf.testing.module';
Expand Down
7 changes: 4 additions & 3 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ import { NavigationEnd, Router, RouterOutlet } from '@angular/router';
import { ENVIRONMENT } from '@core/provider/environment.provider';
import { GetCurrentUser } from '@core/store/user';
import { GetEmails, UserEmailsSelectors } from '@core/store/user-emails';
import { ConfirmEmailComponent } from '@shared/components';
import { CustomDialogService } from '@shared/services';

import { FullScreenLoaderComponent, ToastComponent } from './shared/components';
import { ConfirmEmailComponent } from './shared/components/confirm-email/confirm-email.component';
import { FullScreenLoaderComponent } from './shared/components/full-screen-loader/full-screen-loader.component';
import { ToastComponent } from './shared/components/toast/toast.component';
import { CustomDialogService } from './shared/services/custom-dialog.service';

import { GoogleTagManagerService } from 'angular-google-tag-manager';

Expand Down
8 changes: 5 additions & 3 deletions src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ import { ApplicationConfig, ErrorHandler, importProvidersFrom, provideZoneChange
import { provideAnimations } from '@angular/platform-browser/animations';
import { provideRouter, withInMemoryScrolling } from '@angular/router';

import { STATES } from '@core/constants';
import { provideTranslation } from '@core/helpers';
import { STATES } from '@core/constants/ngxs-states.constant';
import { provideTranslation } from '@core/helpers/i18n.helper';
import { authInterceptor } from '@core/interceptors/auth.interceptor';
import { errorInterceptor } from '@core/interceptors/error.interceptor';
import { viewOnlyInterceptor } from '@core/interceptors/view-only.interceptor';
import { APPLICATION_INITIALIZATION_PROVIDER } from '@core/provider/application.initialization.provider';
import { SENTRY_PROVIDER } from '@core/provider/sentry.provider';

import { authInterceptor, errorInterceptor, viewOnlyInterceptor } from './core/interceptors';
import CustomPreset from './core/theme/custom-preset';
import { routes } from './app.routes';

Expand Down
7 changes: 4 additions & 3 deletions src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ import { provideStates } from '@ngxs/store';

import { Routes } from '@angular/router';

import { authGuard } from '@core/guards/auth.guard';
import { isFileGuard } from '@core/guards/is-file.guard';
import { redirectIfLoggedInGuard } from '@core/guards/redirect-if-logged-in.guard';

import { authGuard, redirectIfLoggedInGuard } from './core/guards';
import { isProjectGuard } from './core/guards/is-project.guard';
import { isRegistryGuard } from './core/guards/is-registry.guard';
import { MyPreprintsState } from './features/preprints/store/my-preprints';
import { ProfileState } from './features/profile/store';
import { RegistriesState } from './features/registries/store';
import { LicensesHandlers, ProjectsHandlers, ProvidersHandlers } from './features/registries/store/handlers';
import { FilesHandlers } from './features/registries/store/handlers/files.handlers';
import { LicensesService } from './shared/services';
import { LicensesService } from './shared/services/licenses.service';
import { BookmarksState } from './shared/stores/bookmarks';
import { ProjectsState } from './shared/stores/projects';

Expand Down Expand Up @@ -67,8 +68,8 @@ export const routes: Routes = [
path: 'my-projects',
loadComponent: () =>
import('./features/my-projects/my-projects.component').then((mod) => mod.MyProjectsComponent),
providers: [provideStates([BookmarksState, ProjectsState])],
canActivate: [authGuard],
providers: [provideStates([BookmarksState, ProjectsState])],
},
{
path: 'my-registrations',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MockProvider } from 'ng-mocks';
import { MockComponent, MockProvider } from 'ng-mocks';

import { of } from 'rxjs';

Expand All @@ -7,6 +7,7 @@ import { ActivatedRoute, NavigationEnd, Router } from '@angular/router';

import { ProviderSelectors } from '@core/store/provider';
import { InstitutionsAdminSelectors } from '@osf/features/admin-institutions/store';
import { IconComponent } from '@osf/shared/components/icon/icon.component';
import { InstitutionsSearchSelectors } from '@shared/stores/institutions-search';

import { BreadcrumbComponent } from './breadcrumb.component';
Expand Down Expand Up @@ -41,7 +42,7 @@ describe('Component: Breadcrumb', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [BreadcrumbComponent],
imports: [BreadcrumbComponent, MockComponent(IconComponent)],
providers: [
MockProvider(Router, mockRouter),
{ provide: ActivatedRoute, useValue: mockActivatedRoute },
Expand Down
4 changes: 2 additions & 2 deletions src/app/core/components/breadcrumb/breadcrumb.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { Component, computed, inject } from '@angular/core';
import { toSignal } from '@angular/core/rxjs-interop';
import { ActivatedRoute, ActivatedRouteSnapshot, NavigationEnd, Router } from '@angular/router';

import { RouteData } from '@core/models/route-data.model';
import { ProviderSelectors } from '@core/store/provider';
import { RouteData } from '@osf/core/models';
import { InstitutionsAdminSelectors } from '@osf/features/admin-institutions/store';
import { IconComponent } from '@osf/shared/components';
import { IconComponent } from '@osf/shared/components/icon/icon.component';
import { InstitutionsSearchSelectors } from '@shared/stores/institutions-search';

@Component({
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/components/footer/footer.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MockComponent, MockPipe, MockProvider } from 'ng-mocks';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ActivatedRoute } from '@angular/router';

import { IconComponent } from '@shared/components';
import { IconComponent } from '@osf/shared/components/icon/icon.component';

import { FooterComponent } from './footer.component';

Expand Down
4 changes: 2 additions & 2 deletions src/app/core/components/footer/footer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { TranslatePipe } from '@ngx-translate/core';
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { RouterLink } from '@angular/router';

import { SOCIAL_ICONS } from '@osf/core/constants';
import { IconComponent } from '@osf/shared/components';
import { SOCIAL_ICONS } from '@core/constants/social-icons.constant';
import { IconComponent } from '@osf/shared/components/icon/icon.component';

@Component({
selector: 'osf-footer',
Expand Down
3 changes: 2 additions & 1 deletion src/app/core/components/header/header.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import { BreadcrumbComponent } from '../breadcrumb/breadcrumb.component';

import { HeaderComponent } from './header.component';

import { MOCK_STORE, MOCK_USER } from '@testing/mocks';
import { MOCK_USER } from '@testing/mocks/data.mock';
import { MOCK_STORE } from '@testing/mocks/mock-store.mock';

describe('HeaderComponent', () => {
let component: HeaderComponent;
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/components/header/header.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Menu } from 'primeng/menu';
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
import { Router } from '@angular/router';

import { AuthService } from '@osf/core/services';
import { AuthService } from '@core/services/auth.service';
import { UserSelectors } from '@osf/core/store/user';

import { BreadcrumbComponent } from '../breadcrumb/breadcrumb.component';
Expand Down
8 changes: 0 additions & 8 deletions src/app/core/components/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/core/components/layout/layout.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { BehaviorSubject } from 'rxjs';

import { ComponentFixture, TestBed } from '@angular/core/testing';

import { IS_WEB } from '@osf/shared/helpers';
import { IS_WEB } from '@osf/shared/helpers/breakpoints.tokens';

import { BreadcrumbComponent } from '../breadcrumb/breadcrumb.component';
import { FooterComponent } from '../footer/footer.component';
Expand Down
4 changes: 2 additions & 2 deletions src/app/core/components/layout/layout.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
import { toSignal } from '@angular/core/rxjs-interop';
import { RouterOutlet } from '@angular/router';

import { ScrollTopOnRouteChangeDirective } from '@osf/shared/directives';
import { IS_MEDIUM, IS_WEB } from '@osf/shared/helpers';
import { ScrollTopOnRouteChangeDirective } from '@osf/shared/directives/scroll-top.directive';
import { IS_MEDIUM, IS_WEB } from '@osf/shared/helpers/breakpoints.tokens';

import { BreadcrumbComponent } from '../breadcrumb/breadcrumb.component';
import { FooterComponent } from '../footer/footer.component';
Expand Down
11 changes: 6 additions & 5 deletions src/app/core/components/nav-menu/nav-menu.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
import { MockProvider } from 'ng-mocks';
import { MockComponent, MockProvider } from 'ng-mocks';

import { NO_ERRORS_SCHEMA, signal } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ActivatedRoute, Router } from '@angular/router';

import { CustomMenuItem } from '@osf/core/models';
import { AuthService } from '@osf/core/services';
import { CustomMenuItem } from '@core/models/custom-menu-item.model';
import { AuthService } from '@core/services/auth.service';
import { ProviderSelectors } from '@osf/core/store/provider/provider.selectors';
import { UserSelectors } from '@osf/core/store/user/user.selectors';
import { IconComponent } from '@osf/shared/components/icon/icon.component';
import { CurrentResourceSelectors } from '@osf/shared/stores/current-resource';

import { NavMenuComponent } from './nav-menu.component';

import { MOCK_USER } from '@testing/mocks';
import { MOCK_USER } from '@testing/mocks/data.mock';
import { OSFTestingModule } from '@testing/osf.testing.module';
import { ActivatedRouteMockBuilder } from '@testing/providers/route-provider.mock';
import { RouterMockBuilder } from '@testing/providers/router-provider.mock';
Expand All @@ -34,7 +35,7 @@ describe('NavMenuComponent', () => {
};

await TestBed.configureTestingModule({
imports: [NavMenuComponent, OSFTestingModule],
imports: [NavMenuComponent, OSFTestingModule, MockComponent(IconComponent)],
providers: [
provideMockStore({
signals: [
Expand Down
20 changes: 11 additions & 9 deletions src/app/core/components/nav-menu/nav-menu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@ import { Component, computed, inject, output } from '@angular/core';
import { toSignal } from '@angular/core/rxjs-interop';
import { ActivatedRoute, NavigationEnd, Router, RouterLink, RouterLinkActive } from '@angular/router';

import { MENU_ITEMS } from '@core/constants';
import { MENU_ITEMS } from '@core/constants/nav-items.constant';
import { filterMenuItems, updateMenuItems } from '@core/helpers/nav-menu.helper';
import { CustomMenuItem } from '@core/models/custom-menu-item.model';
import { RouteContext } from '@core/models/route-context.model';
import { AuthService } from '@core/services/auth.service';
import { ProviderSelectors } from '@core/store/provider';
import { filterMenuItems, updateMenuItems } from '@osf/core/helpers';
import { CustomMenuItem, RouteContext } from '@osf/core/models';
import { AuthService } from '@osf/core/services';
import { UserSelectors } from '@osf/core/store/user';
import { IconComponent } from '@osf/shared/components';
import { CurrentResourceType, ReviewPermissions } from '@osf/shared/enums';
import { getViewOnlyParam } from '@osf/shared/helpers';
import { WrapFnPipe } from '@osf/shared/pipes';
import { UserSelectors } from '@core/store/user';
import { IconComponent } from '@osf/shared/components/icon/icon.component';
import { CurrentResourceType } from '@osf/shared/enums/resource-type.enum';
import { ReviewPermissions } from '@osf/shared/enums/review-permissions.enum';
import { getViewOnlyParam } from '@osf/shared/helpers/view-only.helper';
import { WrapFnPipe } from '@osf/shared/pipes/wrap-fn.pipe';
import { CurrentResourceSelectors, GetResourceDetails } from '@osf/shared/stores/current-resource';

@Component({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { CookieService } from 'ngx-cookie-service';

import { Button } from 'primeng/button';
import { MockComponent } from 'ng-mocks';

import { ComponentFixture, TestBed } from '@angular/core/testing';

import { IconComponent } from '@osf/shared/components/icon/icon.component';

import { CookieConsentBannerComponent } from './cookie-consent-banner.component';

import { OSFTestingModule } from '@testing/osf.testing.module';
Expand All @@ -19,8 +20,7 @@ describe('Component: Cookie Consent Banner', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [OSFTestingModule, CookieConsentBannerComponent, Button],

imports: [OSFTestingModule, CookieConsentBannerComponent, MockComponent(IconComponent)],
providers: [{ provide: CookieService, useValue: cookieServiceMock }],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Message } from 'primeng/message';
import { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core';

import { fadeInOutAnimation } from '@core/animations/fade.in-out.animation';
import { IconComponent } from '@shared/components';
import { IconComponent } from '@osf/shared/components/icon/icon.component';

/**
* Displays a cookie consent banner until the user accepts.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ describe('Component: Maintenance Banner', () => {
check: jest.fn(),
set: jest.fn(),
} as any;

httpClient = { get: jest.fn() } as any;

await TestBed.configureTestingModule({
imports: [MaintenanceBannerComponent, NoopAnimationsModule, MessageModule],
providers: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { signal, WritableSignal } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { BannerModel } from '@core/components/osf-banners/models/banner.model';
import { IS_XSMALL } from '@osf/shared/helpers';
import { IS_XSMALL } from '@osf/shared/helpers/breakpoints.tokens';
import { BannersSelector, GetCurrentScheduledBanner } from '@osf/shared/stores/banners';

import { ScheduledBannerComponent } from './scheduled-banner.component';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Store } from '@ngxs/store';
import { ChangeDetectionStrategy, Component, computed, inject, OnInit } from '@angular/core';
import { toSignal } from '@angular/core/rxjs-interop';

import { IS_XSMALL } from '@osf/shared/helpers';
import { IS_XSMALL } from '@osf/shared/helpers/breakpoints.tokens';
import { BannersSelector, GetCurrentScheduledBanner } from '@osf/shared/stores/banners';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import { By } from '@angular/platform-browser';

import { AcceptTermsOfServiceByUser } from '@core/store/user';
import { UserSelectors } from '@osf/core/store/user';
import { IconComponent } from '@shared/components';
import { IconComponent } from '@osf/shared/components/icon/icon.component';

import { TosConsentBannerComponent } from './tos-consent-banner.component';

import { MOCK_USER } from '@testing/mocks';
import { MOCK_USER } from '@testing/mocks/data.mock';
import { TranslationServiceMock } from '@testing/mocks/translation.service.mock';
import { OSFTestingStoreModule } from '@testing/osf.testing.module';
import { provideMockStore } from '@testing/providers/store-provider.mock';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { FormsModule } from '@angular/forms';
import { RouterLink } from '@angular/router';

import { AcceptTermsOfServiceByUser, UserSelectors } from '@core/store/user';
import { IconComponent } from '@osf/shared/components';
import { IconComponent } from '@osf/shared/components/icon/icon.component';

/**
* TosConsentBannerComponent displays a Terms of Service (ToS) consent banner for users who haven't accepted yet.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { provideHttpClientTesting } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ActivatedRoute } from '@angular/router';

import { ToastService } from '@osf/shared/services';
import { ToastService } from '@osf/shared/services/toast.service';

import { RequestAccessComponent } from './request-access.component';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ import { FormsModule } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';

import { ENVIRONMENT } from '@core/provider/environment.provider';
import { AuthService } from '@core/services';
import { InputLimits } from '@osf/shared/constants';
import { LoaderService, RequestAccessService, ToastService } from '@osf/shared/services';
import { AuthService } from '@core/services/auth.service';
import { InputLimits } from '@osf/shared/constants/input-limits.const';
import { LoaderService } from '@osf/shared/services/loader.service';
import { RequestAccessService } from '@osf/shared/services/request-access.service';
import { ToastService } from '@osf/shared/services/toast.service';

@Component({
selector: 'osf-request-access',
Expand Down
4 changes: 0 additions & 4 deletions src/app/core/constants/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/core/constants/nav-items.constant.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { MenuItem } from 'primeng/api';

import { UserPermissions } from '@osf/shared/enums';
import { UserPermissions } from '@osf/shared/enums/user-permissions.enum';

import { CustomMenuItem } from '../models/custom-menu-item.model';

Expand Down
Loading