-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor Select to use shadcn Command (cmdk) #148
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
9a309be
feat(select): switch dropdown to shadcn Command (cmdk) primitives and…
codegen-sh[bot] 4f25a08
feat: integrate cmdk for Command components and enhance Select with f…
jaruesink 55716fd
feat(select): enhance Select component with search and creatable options
jaruesink 6c45f77
chore: add type-check scripts and update Turbo configuration
jaruesink 69c6859
ci: add PR quality checks for lint and typecheck (modeled after repor…
codegen-sh[bot] af19345
Fix typecheck command in PR quality checks workflow
codegen-sh[bot] 0593b32
Fix flaky select test by adding timing delay
codegen-sh[bot] 22ee174
Fix lint issues: add parentheses around arrow function parameters
codegen-sh[bot] 45e2acf
test(storybook): make Select tests portal-aware and less flaky
codegen-sh[bot] 0e0e960
Fix CreatableOption test: wait for component render before interaction
codegen-sh[bot] 591cb12
chore: update typecheck command and dependencies in package.json
jaruesink b6818e6
Merge branch 'codegen-bot/add-lint-typecheck-ci-1758507' of github.co…
jaruesink c6975d5
Merge pull request #149 from lambda-curry/codegen-bot/add-lint-typech…
jaruesink 9df601e
Merge branch 'codegen/lc-324-researcher-test' into codegen-bot/fix-po…
jaruesink 1d37c02
Fix Select component ARIA roles for Storybook tests
codegen-sh[bot] e60441c
Fix CreatableOption test: improve async handling for portaled dropdown
codegen-sh[bot] 3a4ae4c
Fix: improve listbox retrieval in CreatableOption test
jaruesink c3a00c5
Fix: enhance listbox retrieval and validation in select stories
jaruesink d3321f9
Fix: enhance listbox interaction and error handling in select stories
jaruesink e173cef
Fix: improve loading waits in select stories for better test reliability
jaruesink d24d4e6
Fix: streamline listbox interactions in select stories for improved t…
jaruesink 86707c5
Merge pull request #150 from lambda-curry/codegen-bot/fix-portaled-se…
jaruesink a0a9256
chore(release): bump @lambdacurry/forms to 0.22.0
codegen-sh[bot] ac82256
Merge pull request #152 from lambda-curry/codegen-bot/bump-components…
jaruesink File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| name: PR Quality Checks | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| - 'apps/**' | ||
| - 'packages/**' | ||
| - '.github/workflows/**' | ||
| - '*.json' | ||
| - '*.js' | ||
| - '*.ts' | ||
| - '*.tsx' | ||
| - 'yarn.lock' | ||
| - 'turbo.json' | ||
| - 'biome.json' | ||
| - '!**/*.md' | ||
| - '!**/*.txt' | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| quality-checks: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 15 | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: '22.9.0' | ||
|
|
||
| - name: Setup Yarn Corepack | ||
| run: corepack enable | ||
|
|
||
| - name: Install dependencies | ||
| run: yarn install | ||
|
|
||
| - name: Cache Turbo | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: .turbo | ||
| key: ${{ runner.os }}-turbo-${{ github.ref_name }}-${{ hashFiles('**/yarn.lock') }}-${{ github.sha }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-turbo-${{ github.ref_name }}-${{ hashFiles('**/yarn.lock') }}- | ||
| ${{ runner.os }}-turbo-${{ github.ref_name }}- | ||
| ${{ runner.os }}-turbo- | ||
|
|
||
| - name: Run Turbo lint | ||
| run: yarn turbo run lint | ||
|
|
||
| - name: Run Turbo typecheck | ||
| run: yarn turbo run type-check --filter=@lambdacurry/forms | ||
|
|
||
| - name: Summary | ||
| run: | | ||
| echo "## PR Quality Checks Summary" >> $GITHUB_STEP_SUMMARY | ||
| echo "✅ Linting passed (Biome)" >> $GITHUB_STEP_SUMMARY | ||
| echo "✅ TypeScript compilation passed" >> $GITHUB_STEP_SUMMARY | ||
| echo "✅ All checks completed with Turbo caching" >> $GITHUB_STEP_SUMMARY | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Upgrade setup-node to v4 (v3 is deprecated on current runners).
Prevents CI breakage and silences actionlint.
📝 Committable suggestion
🧰 Tools
🪛 actionlint (1.7.7)
35-35: the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
🤖 Prompt for AI Agents