Skip to content
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

feat: add filter props to ProjectSelect #2760

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

agatha197
Copy link
Contributor

Checklist: (if applicable)

  • Mention to the original issue
  • Documentation
  • Minium required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

Copy link

graphite-app bot commented Oct 18, 2024

Your org requires the Graphite merge queue for merging into main

Add the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @agatha197 and the rest of your teammates on Graphite Graphite

@github-actions github-actions bot added the size:XS ~10 LoC label Oct 18, 2024
@yomybaby yomybaby force-pushed the feat/display-all-projects-in-project-quota-setting-page branch from 2f3c85b to 692e368 Compare October 21, 2024 07:35
Base automatically changed from feat/display-all-projects-in-project-quota-setting-page to main October 21, 2024 07:37
@yomybaby yomybaby force-pushed the feature/add-filter-props-to-ProjectSelect branch from 40cf80e to 1aff8e0 Compare October 21, 2024 07:37
Copy link

Coverage report for ./react

Caution

Test run failed

St.
Category Percentage Covered / Total
🔴 Statements 4.04% 275/6809
🔴 Branches 3.99% 187/4682
🔴 Functions 2.54% 57/2246
🔴 Lines 3.92% 261/6653

Test suite run failed

Failed tests: 0/85. Failed suites: 3/12.
  ● Test suite failed to run

    Cannot find module '../fix_antd.css?raw' from 'src/components/DefaultProviders.tsx'

    Require stack:
      src/components/DefaultProviders.tsx
      src/hooks/useBAISetting.tsx
      src/hooks/backendai.tsx
      src/components/ResourceAllocationFormItems.tsx
      src/components/ResourceAllocationFormItems.test.ts

      1 | import { RelayEnvironment } from '../RelayEnvironment';
      2 | // @ts-ignore
    > 3 | import rawFixAntCss from '../fix_antd.css?raw';
        | ^
      4 | import { useCustomThemeConfig } from '../helper/customThemeConfig';
      5 | import { ReactWebComponentProps } from '../helper/react-to-webcomponent';
      6 | import { ThemeModeProvider, useThemeMode } from '../hooks/useThemeMode';

      at Resolver.resolveModule (node_modules/.pnpm/[email protected]/node_modules/jest-resolve/build/resolver.js:324:11)
      at Object.<anonymous> (src/components/DefaultProviders.tsx:3:1)
      at Object.<anonymous> (src/hooks/useBAISetting.tsx:1:1)
      at Object.<anonymous> (src/hooks/backendai.tsx:12:1)
      at Object.<anonymous> (src/components/ResourceAllocationFormItems.tsx:7:1)
      at Object.<anonymous> (src/components/ResourceAllocationFormItems.test.ts:6:1)


  ● Test suite failed to run

    Cannot find module '../fix_antd.css?raw' from 'src/components/DefaultProviders.tsx'

    Require stack:
      src/components/DefaultProviders.tsx
      src/hooks/useBAISetting.tsx
      src/hooks/backendai.tsx
      src/components/ResourceAllocationFormItems.tsx
      src/hooks/useResourceLimitAndRemaining.tsx
      src/hooks/useResourceLimitAndRemaining.test.ts

      1 | import { RelayEnvironment } from '../RelayEnvironment';
      2 | // @ts-ignore
    > 3 | import rawFixAntCss from '../fix_antd.css?raw';
        | ^
      4 | import { useCustomThemeConfig } from '../helper/customThemeConfig';
      5 | import { ReactWebComponentProps } from '../helper/react-to-webcomponent';
      6 | import { ThemeModeProvider, useThemeMode } from '../hooks/useThemeMode';

      at Resolver.resolveModule (node_modules/.pnpm/[email protected]/node_modules/jest-resolve/build/resolver.js:324:11)
      at Object.<anonymous> (src/components/DefaultProviders.tsx:3:1)
      at Object.<anonymous> (src/hooks/useBAISetting.tsx:1:1)
      at Object.<anonymous> (src/hooks/backendai.tsx:12:1)
      at Object.<anonymous> (src/components/ResourceAllocationFormItems.tsx:7:1)
      at Object.<anonymous> (src/hooks/useResourceLimitAndRemaining.tsx:3:1)
      at Object.<anonymous> (src/hooks/useResourceLimitAndRemaining.test.ts:1:1)


  ● Test suite failed to run

    Cannot find module '../fix_antd.css?raw' from 'src/components/DefaultProviders.tsx'

    Require stack:
      src/components/DefaultProviders.tsx
      src/hooks/useBAISetting.tsx
      src/hooks/backendai.tsx
      src/hooks/backendai.test.tsx

      1 | import { RelayEnvironment } from '../RelayEnvironment';
      2 | // @ts-ignore
    > 3 | import rawFixAntCss from '../fix_antd.css?raw';
        | ^
      4 | import { useCustomThemeConfig } from '../helper/customThemeConfig';
      5 | import { ReactWebComponentProps } from '../helper/react-to-webcomponent';
      6 | import { ThemeModeProvider, useThemeMode } from '../hooks/useThemeMode';

      at Resolver.resolveModule (node_modules/.pnpm/[email protected]/node_modules/jest-resolve/build/resolver.js:324:11)
      at Object.<anonymous> (src/components/DefaultProviders.tsx:3:1)
      at Object.<anonymous> (src/hooks/useBAISetting.tsx:1:1)
      at Object.<anonymous> (src/hooks/backendai.tsx:12:1)
      at Object.<anonymous> (src/hooks/backendai.test.tsx:4:1)

Report generated by 🧪jest coverage report action from 1aff8e0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS ~10 LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant