Skip to content

Conversation

@suppermancool
Copy link
Contributor

Topcoder admin app: move src/apps/gamification-admin -> src/apps/admin

@@ -1,4 +1,4 @@
import { baseDetailPath, createBadgePath } from '~/apps/gamification-admin'
import { baseDetailPath, createBadgePath } from '~/apps/admin/src/platform/gamification-admin'

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 location of the gamification-admin module. Ensure that the new path ~/apps/admin/src/platform/gamification-admin is correct and that the module exists at this location. If there are any issues with module resolution, consider updating the path or verifying the module's new location.

)
const BadgeDetailPage: LazyLoadedComponent = lazyLoad(
() => import('../../gamification-admin/src/pages/badge-detail/BadgeDetailPage'),
() => import('./platform/gamification-admin/src/pages/badge-detail/BadgeDetailPage'),

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 ./platform/gamification-admin/src/pages/badge-detail/BadgeDetailPage. Ensure that the 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'),

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 ./platform/gamification-admin/src/pages/badge-listing/BadgeListingPage. Verify that the new path is accurate and that the file is present at this location.

)
const CreateBadgePage: LazyLoadedComponent = lazyLoad(
() => import('../../gamification-admin/src/pages/create-badge/CreateBadgePage'),
() => import('./platform/gamification-admin/src/pages/create-badge/CreateBadgePage'),

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 ./platform/gamification-admin/src/pages/create-badge/CreateBadgePage. Confirm that the new path is correct and that the file exists at the specified location.

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'

Choose a reason for hiding this comment

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

The import path for Sort has been updated to ~/apps/admin/src/platform/gamification-admin/src/game-lib. Ensure that this new path is correct and that the Sort module is accessible from this location. If the path is incorrect, it may lead to runtime errors.

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'

Choose a reason for hiding this comment

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

The import path for Sort seems unnecessarily long and complex. Consider simplifying the directory structure or using an alias to make the import path more readable.

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'

Choose a reason for hiding this comment

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

The import path for Sort has been updated, but it seems unnecessarily long and redundant. Consider simplifying the path if possible, for example by restructuring the directories or using aliasing to make the import path cleaner and more maintainable.

} from 'react'

import { Sort } from '~/apps/gamification-admin/src/game-lib'
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib'

Choose a reason for hiding this comment

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

The import path for Sort has been updated. Ensure that the new path ~/apps/admin/src/platform/gamification-admin/src/game-lib is correct and that the Sort module is accessible from this location.

} from 'react'

import { Sort } from '~/apps/gamification-admin/src/game-lib'
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib'

Choose a reason for hiding this comment

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

The import path for Sort seems unnecessarily long. Consider restructuring the directories or using an alias to simplify the import path if possible.

} from 'react'

import { Sort } from '~/apps/gamification-admin/src/game-lib'
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib'

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/src/game-lib is correct and that the Sort module is accessible from this location. Verify that there are no broken imports or missing files after the move.

import _ from 'lodash'

import { Sort } from '~/apps/gamification-admin/src/game-lib'
import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib'

Choose a reason for hiding this comment

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

The import path for Sort has been updated. Please ensure that the new path ~/apps/admin/src/platform/gamification-admin/src/game-lib is correct and that the Sort module is accessible from this location. If the path is incorrect, it may lead to runtime errors.

@@ -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'

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 is correct and that the GameBadge module is accessible from the updated location.

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'

Choose a reason for hiding this comment

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

The import path for Sort has been updated. Ensure that the new path ~/apps/admin/src/platform/gamification-admin/src/game-lib is correct and that the Sort module is accessible from this location.


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'

Choose a reason for hiding this comment

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

The import path for Sort has been updated. Ensure that the new path ~/apps/admin/src/platform/gamification-admin/src/game-lib is correct and that the Sort module is accessible from this location.


import { Button, IconOutline, InputSelect, InputText } from '~/libs/ui'
import { InputHandleAutocomplete, MembersAutocompeteResult } from '~/apps/gamification-admin/src/game-lib'
import {

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, but ensure that the new path ~/apps/admin/src/platform/gamification-admin/src/game-lib is correct and accessible. Verify that the file structure matches this path.


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'

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/src/game-lib is correct and that the files are accessible from this location.

import _ from 'lodash'
import classNames from 'classnames'

import { Sort } from '~/apps/admin/src/platform/gamification-admin/src/game-lib'

Choose a reason for hiding this comment

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

The import path for Sort has been updated to reflect the new directory structure. Ensure that the new path ~/apps/admin/src/platform/gamification-admin/src/game-lib is correct and that the Sort module is accessible from this location.

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'

Choose a reason for hiding this comment

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

The import path for Sort has been updated. Ensure that the new path ~/apps/admin/src/platform/gamification-admin/src/game-lib is correct and that the Sort module is accessible from this location.

@jmgasper jmgasper merged commit 46b7c59 into dev Jun 27, 2025
3 checks passed
@suppermancool suppermancool deleted the diazz-gamification-admin branch July 2, 2025 10:05
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