Skip to content

maintenance#52

Merged
joshunrau merged 2 commits intomainfrom
dev
Mar 31, 2025
Merged

maintenance#52
joshunrau merged 2 commits intomainfrom
dev

Conversation

@joshunrau
Copy link
Collaborator

@joshunrau joshunrau commented Mar 31, 2025

Summary by CodeRabbit

  • Chores

    • Upgraded many dependency versions and development tooling.
    • Updated the package manager and refined configuration for built dependencies.
  • Refactor

    • Streamlined internal import/export structures by separating type-only imports from runtime values.
    • Adjusted type declarations for improved clarity.
  • Tests

    • Revised test import statements to explicitly import types for enhanced readability and maintainability.

@joshunrau joshunrau merged commit d142a0d into main Mar 31, 2025
1 check passed
@coderabbitai
Copy link

coderabbitai bot commented Mar 31, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

The pull request updates numerous dependencies in the package configuration and reorganizes many import/export statements. In addition to upgrading dependency versions and adjusting the package manager version in the configuration file, the changes split combined imports into separate type-only and value imports across many components, hooks, and utilities. A few files also feature minor control flow tweaks—such as reordering union types and switch-case blocks—to enhance code clarity without affecting functionality.

Changes

Files Change Summary
package.json Updated dependency versions (e.g., pnpm, @DouglasNeuroInformatics, @radix-ui, etc.), bumped the package manager from pnpm@9.14.2 to pnpm@10.7.0, and added a new pnpm configuration section specifying onlyBuiltDependencies.
src/components/*, src/hooks/*, src/i18n/*, src/utils/index.ts Reorganized import/export statements across multiple files by separating type-only imports from value imports, splitting combined import lines, updating export syntax (including Storybook metadata), and refining type declarations such as union type ordering in ActionDropdownOptions.
src/components/DatePicker/DatePicker.tsx, src/components/RecordArrayField.tsx, src/i18n/internal.ts, src/i18n/types.ts Adjusted control flow and type declarations by reordering switch-case blocks, applying the nullish coalescing operator, and modifying union and recursive type definitions for improved clarity and type resolution.

Suggested labels

released

Poem

I'm hopping through these changes with glee,
Sorting types and imports as neat as can be.
Dependencies upgraded with a joyful skip,
Code refined with every little tip.
With whiskers twitching in pure delight,
I celebrate our codebase shining bright! 🐇


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ebade01 and 0591fab.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (43)
  • package.json (3 hunks)
  • src/components/ActionDropdown/ActionDropdown.tsx (1 hunks)
  • src/components/ArrowToggle/ArrowToggle.spec.tsx (1 hunks)
  • src/components/ArrowToggle/ArrowToggle.tsx (1 hunks)
  • src/components/Badge/Badge.tsx (2 hunks)
  • src/components/Button/Button.tsx (1 hunks)
  • src/components/ClientTable/ClientTable.stories.tsx (1 hunks)
  • src/components/CopyButton/CopyButton.tsx (1 hunks)
  • src/components/DatePicker/DatePicker.tsx (1 hunks)
  • src/components/FileDropzone/FileDropzone.stories.tsx (1 hunks)
  • src/components/FileDropzone/FileDropzone.tsx (1 hunks)
  • src/components/Form/BooleanField/BooleanField.spec.tsx (1 hunks)
  • src/components/Form/BooleanField/BooleanField.tsx (1 hunks)
  • src/components/Form/DateField/DateField.tsx (1 hunks)
  • src/components/Form/Form.stories.tsx (1 hunks)
  • src/components/Form/NumberField/NumberField.tsx (1 hunks)
  • src/components/Form/NumberField/NumberFieldSelect.tsx (1 hunks)
  • src/components/Form/RecordArrayField.tsx (1 hunks)
  • src/components/Form/ScalarField.tsx (1 hunks)
  • src/components/Form/StaticField.tsx (1 hunks)
  • src/components/Form/StringField/StringField.tsx (1 hunks)
  • src/components/Form/StringField/StringFieldSelect.tsx (1 hunks)
  • src/components/Label/Label.tsx (1 hunks)
  • src/components/LanguageToggle/LanguageToggle.tsx (1 hunks)
  • src/components/LineGraph/LineGraph.tsx (1 hunks)
  • src/components/ListboxDropdown/ListboxDropdown.stories.tsx (1 hunks)
  • src/components/ListboxDropdown/ListboxDropdown.tsx (1 hunks)
  • src/components/NotificationHub/NotificationIcon.tsx (1 hunks)
  • src/components/Pagination/PaginationLink.tsx (1 hunks)
  • src/components/Pagination/PaginationPrevious.tsx (1 hunks)
  • src/components/RadioGroup/RadioGroup.spec.tsx (1 hunks)
  • src/components/Resizable/Resizable.tsx (1 hunks)
  • src/components/SearchBar/SearchBar.tsx (2 hunks)
  • src/components/Sheet/SheetContent.tsx (1 hunks)
  • src/components/ThemeToggle/ThemeToggle.tsx (1 hunks)
  • src/components/Tooltip/TooltipTrigger.tsx (1 hunks)
  • src/hooks/useEventListener/useEventListener.ts (1 hunks)
  • src/hooks/useOnClickOutside/useOnClickOutside.ts (1 hunks)
  • src/hooks/useStorage/useLocalStorage.ts (1 hunks)
  • src/hooks/useStorage/useSessionStorage.ts (1 hunks)
  • src/i18n/internal.ts (1 hunks)
  • src/i18n/types.ts (1 hunks)
  • src/utils/index.ts (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
Copy link

github-actions bot commented Apr 1, 2025

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@coderabbitai coderabbitai bot mentioned this pull request Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant