panoratech / Panora

One API to connect your data sources to your LLMs
https://docs.panora.dev
Apache License 2.0
867 stars 181 forks source link

Feat/fixe UI #442

Closed naelob closed 4 months ago

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
panora-client-ts 🔄 Building (Inspect) Visit Preview 💬 Add feedback May 20, 2024 3:46pm
changeset-bot[bot] commented 4 months ago

⚠️ No Changeset found

Latest commit: 0e320db419dd7dbb77b72f2967c923de33108df5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

CLAassistant commented 4 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

coderabbitai[bot] commented 4 months ago

Walkthrough

The recent updates across various files in the client-ts application focus on improving code organization, enhancing API key management, and refining user authentication processes. Key changes include refactoring hooks and imports, restructuring data handling, and updating UI components for better user experience. Additionally, new schemas and components were introduced to streamline configuration and management tasks.

Changes

File(s) Change Summary
apps/client-ts/src/app/(Dashboard)/api-keys/page.tsx Refactored API key management, updated imports, adjusted form handling, and button styling.
apps/client-ts/src/app/(Dashboard)/b2c/profile/page.tsx Removed redundant lines of code within the Profile component.
apps/client-ts/src/app/(Dashboard)/configuration/page.tsx Restructured imports and added new components for configuration management.
apps/client-ts/src/app/(Dashboard)/layout.tsx Replaced Inter import with useUser and adjusted user initialization logic.
apps/client-ts/src/app/b2c/login/page.tsx Replaced useFetchUserMutation with useUser for user management.
apps/client-ts/src/components/ApiKeys/columns.tsx Introduced useColumns function for API key data table.
apps/client-ts/src/components/ApiKeys/schema.ts Added schema definition for API keys using Zod.
apps/client-ts/src/components/Auth/CustomLoginComponent/CreateUserForm.tsx Updated import statements and adjusted button styling.
apps/client-ts/src/components/Auth/CustomLoginComponent/LoginUserForm.tsx Replaced useLoginMutation with useCreateLogin and removed FormDescription import.
apps/client-ts/src/components/Configuration/Connector/ConnectorDisplay.tsx Reorganized imports and updated connection strategy handling.
apps/client-ts/src/components/Configuration/Connector/ConnectorList.tsx Updated key attribute in button elements for better uniqueness.
apps/client-ts/src/components/Configuration/Connector/CustomConnectorPage.tsx Updated import statement for ConnectorLayout.
apps/client-ts/src/components/Configuration/FieldMappings/FieldMappingModal.tsx Refactored imports and updated hook paths for field mappings and provider properties.
apps/client-ts/src/components/Configuration/FieldMappings/columns.tsx Updated import paths for shared components.
apps/client-ts/src/components/Configuration/FieldMappings/schema.ts Removed comments about non-relational schema and adjusted file formatting.
apps/client-ts/src/components/Configuration/LinkedUsers/AddLinkedAccount.tsx Updated import statements and added new icon import.
apps/client-ts/src/components/Configuration/LinkedUsers/LinkedUsersPage.tsx Introduced LinkedUsersPage component for displaying linked user data.
apps/client-ts/src/components/Configuration/LinkedUsers/columns.tsx Defined columns for linked users data table.
apps/client-ts/src/components/Configuration/LinkedUsers/schema.ts Added schema definition for linked users using Zod.
apps/client-ts/src/components/Configuration/Webhooks/AddWebhook.tsx Replaced useWebhookMutation with useCreateWebhook and adjusted button styles.
apps/client-ts/src/components/Configuration/Webhooks/WebhooksPage.tsx Introduced WebhooksPage component for managing and displaying webhooks.
apps/client-ts/src/components/Configuration/Webhooks/columns.tsx Defined columns for displaying and managing webhooks in a data table.
apps/client-ts/src/components/Configuration/Webhooks/schema.ts Added schema definition for webhooks using Zod.

🐇✨ In the land of code, where changes flow, Refactored hooks and schemas grow. With buttons styled and columns neat, Our dashboard's now a coder's treat. Webhooks dance and users cheer, For CodeRabbit's updates, loud and clear!


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)
Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `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 generate interesting stats about this repository and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@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.` 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 as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration 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](https://docs.coderabbit.ai/guides/configure-coderabbit) 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](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.