-
Notifications
You must be signed in to change notification settings - Fork 17
Topcoder admin app: move src/apps/gamification-admin -> src/apps/admin #1126
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
base: feat/system-admin
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { baseDetailPath, createBadgePath } from '~/apps/gamification-admin' | ||
import { baseDetailPath, createBadgePath } from '~/apps/admin/src/platform/gamification-admin' | ||
import { AppSubdomain, ToolTitle } from '~/config' | ||
import { | ||
lazyLoad, | ||
|
@@ -120,13 +120,13 @@ const SkillManagementLandingPage: LazyLoadedComponent = lazyLoad( | |
'LandingPage', | ||
) | ||
const BadgeDetailPage: LazyLoadedComponent = lazyLoad( | ||
() => import('../../gamification-admin/src/pages/badge-detail/BadgeDetailPage'), | ||
() => import('./platform/gamification-admin/src/pages/badge-detail/BadgeDetailPage'), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been updated to './platform/gamification-admin/src/pages/badge-detail/BadgeDetailPage'. Ensure that this new path is correct and that the file exists at the specified location. |
||
) | ||
const BadgeListingPage: LazyLoadedComponent = lazyLoad( | ||
() => import('../../gamification-admin/src/pages/badge-listing/BadgeListingPage'), | ||
() => import('./platform/gamification-admin/src/pages/badge-listing/BadgeListingPage'), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been updated to './platform/gamification-admin/src/pages/badge-listing/BadgeListingPage'. Verify that this path is correct and the file is located at this new path. |
||
) | ||
const CreateBadgePage: LazyLoadedComponent = lazyLoad( | ||
() => import('../../gamification-admin/src/pages/create-badge/CreateBadgePage'), | ||
() => import('./platform/gamification-admin/src/pages/create-badge/CreateBadgePage'), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been changed to './platform/gamification-admin/src/pages/create-badge/CreateBadgePage'. Confirm that this path is accurate and the file exists at this location. |
||
) | ||
|
||
export const toolTitle: string = ToolTitle.admin | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ import { Dispatch, FC, SetStateAction, useMemo } from 'react' | |
import { Link } from 'react-router-dom' | ||
import classNames from 'classnames' | ||
|
||
import { Sort } from '~/apps/gamification-admin/src/game-lib' | ||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path for |
||
import { colWidthType, LinkButton, Table, TableColumn } from '~/libs/ui' | ||
import { useWindowSize, WindowSize } from '~/libs/shared' | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ import { Dispatch, FC, SetStateAction, useMemo } from 'react' | |
import { Link } from 'react-router-dom' | ||
import classNames from 'classnames' | ||
|
||
import { Sort } from '~/apps/gamification-admin/src/game-lib' | ||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been updated to reflect the new directory structure. Ensure that the new path |
||
import { useWindowSize, WindowSize } from '~/libs/shared' | ||
import { colWidthType, Table, TableColumn } from '~/libs/ui' | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ import { useNavigate } from 'react-router-dom' | |
import { EnvironmentConfig } from '~/config' | ||
import { useWindowSize, WindowSize } from '~/libs/shared' | ||
import { Button, colWidthType, LinkButton, Table, type TableColumn } from '~/libs/ui' | ||
import { Sort } from '~/apps/gamification-admin/src/game-lib/pagination' | ||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been updated to |
||
|
||
import { Pagination } from '../common/Pagination' | ||
import { useEventCallback } from '../../hooks' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ import { | |
Table, | ||
type TableColumn, | ||
} from '~/libs/ui' | ||
import { Sort } from '~/apps/gamification-admin/src/game-lib/pagination' | ||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been updated to reflect the new directory structure. Ensure that the new path |
||
|
||
import { Reviewer } from '../../models' | ||
import { useEventCallback } from '../../hooks' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ import { | |
useReducer, | ||
} from 'react' | ||
|
||
import { Sort } from '~/apps/gamification-admin/src/game-lib' | ||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path for |
||
|
||
import { TABLE_PAGINATION_ITEM_PER_PAGE } from '../../config/index.config' | ||
import { BillingAccount, FormBillingAccountsFilter } from '../models' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ import { | |
useReducer, | ||
} from 'react' | ||
|
||
import { Sort } from '~/apps/gamification-admin/src/game-lib' | ||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path for |
||
|
||
import { TABLE_PAGINATION_ITEM_PER_PAGE } from '../../config/index.config' | ||
import { ClientInfo, FormClientsFilter } from '../models' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ import { | |
useState, | ||
} from 'react' | ||
|
||
import { Sort } from '~/apps/gamification-admin/src/game-lib' | ||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been updated to |
||
|
||
export interface useTableFilterBackendProps<T> { | ||
page: number | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
import { Dispatch, SetStateAction, useEffect, useMemo, useState } from 'react' | ||
import _ from 'lodash' | ||
|
||
import { Sort } from '~/apps/gamification-admin/src/game-lib' | ||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been changed from |
||
|
||
import { TABLE_PAGINATION_ITEM_PER_PAGE } from '../../config/index.config' | ||
import { checkIsDateObject, checkIsNumberObject, checkIsStringNumeric } from '../utils' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { GameBadge } from '~/apps/gamification-admin/src/game-lib' | ||
import { GameBadge } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been updated to reflect the new directory structure. Ensure that the new path is correct and that the |
||
|
||
import { CreateBadgeRequest, createBadgeSubmitRequestAsync } from './create-badge-store' | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ import { | |
LoadingSpinner, | ||
PageTitle, | ||
} from '~/libs/ui' | ||
import { Sort } from '~/apps/gamification-admin/src/game-lib/pagination' | ||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been updated to reflect the new directory structure. Ensure that the new path is correct and that the |
||
|
||
import { | ||
Display, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ import { | |
import { sortBy } from 'lodash' | ||
|
||
import { LoadingSpinner, PageTitle } from '~/libs/ui' | ||
import { Sort } from '~/apps/gamification-admin/src/game-lib/pagination' | ||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path for |
||
|
||
import { | ||
Display, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,10 @@ | |
import React, { ChangeEvent } from 'react' | ||
|
||
import { Button, IconOutline, InputSelect, InputText } from '~/libs/ui' | ||
import { InputHandleAutocomplete, MembersAutocompeteResult } from '~/apps/gamification-admin/src/game-lib' | ||
import { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been updated to reflect the new directory structure. Ensure that the new path |
||
InputHandleAutocomplete, | ||
MembersAutocompeteResult, | ||
} from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
|
||
import styles from './FilterBar.module.scss' | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
import React, { ChangeEvent } from 'react' | ||
|
||
import { Button, InputSelect, InputText } from '~/libs/ui' | ||
import { InputHandleAutocomplete, MembersAutocompeteResult } from '~/apps/gamification-admin/src/game-lib' | ||
import { InputHandleAutocomplete, MembersAutocompeteResult } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path has been updated to reflect the new directory structure. Ensure that the new path |
||
|
||
import styles from './FilterBar.module.scss' | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ import { Dispatch, SetStateAction, useEffect, useMemo, useRef, useState } from ' | |
import _ from 'lodash' | ||
import classNames from 'classnames' | ||
|
||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path for |
||
import { useWindowSize, WindowSize } from '~/libs/shared' | ||
|
||
import { Button } from '../button' | ||
import { Sort } from '../../../../../apps/gamification-admin/src/game-lib/pagination' | ||
import { IconOutline } from '../svgs' | ||
import { Tooltip } from '../tooltip' | ||
import '../../styles/_includes.scss' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { FC, SVGProps } from 'react' | ||
import classNames from 'classnames' | ||
|
||
import { Sort } from '../../../../../../apps/gamification-admin/src/game-lib/pagination' | ||
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The import path for |
||
|
||
import { IconOutline } from '../../svgs' | ||
import { Button } from '../../button' | ||
|
||
|
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.
The import path has been updated to reflect the new directory structure. Ensure that the new path
~/apps/admin/src/platform/gamification-admin
is correct and that the files exist at this location. Double-check for any potential issues with module resolution that might arise from this change.