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

[WIP]: Integrations APi #183

Closed
wants to merge 6 commits into from
Closed

[WIP]: Integrations APi #183

wants to merge 6 commits into from

Conversation

MarcMcIntosh
Copy link
Collaborator

@MarcMcIntosh MarcMcIntosh commented Nov 6, 2024

Integrations Api

Description

Adds an api to read and update integrations from the lsp (ui todo).

relies on smallcloudai/refact-lsp#413

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (no functional changes, only code improvements)
  • Documentation update

How to Test

  • Step 1:
  • Step 2:
  • ...

Screenshots (if applicable)

Checklist

  • My code follows the code style of this project.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • Any dependent changes have been merged and published in downstream modules.
  • I have updated the documentation where necessary.

Linked Issues

Additional Notes

@MarcMcIntosh MarcMcIntosh changed the base branch from main to alpha November 6, 2024 12:19
 Conflicts:
	src/app/store.ts

 On branch integrations-api
 Changes to be committed:
	modified:   package-lock.json
	modified:   package.json
	modified:   src/app/middleware.ts
	modified:   src/app/store.ts
	modified:   src/components/Chat/Chat.tsx
	modified:   src/components/ChatContent/ChatContent.tsx
	modified:   src/components/ChatContent/UserInput.tsx
	modified:   src/components/ChatForm/ChatForm.tsx
	modified:   src/components/ChatForm/RetryForm.tsx
	new file:   src/components/Dropzone/Dropzone.tsx
	new file:   src/components/Dropzone/index.tsx
	new file:   src/features/AttachedImages/imagesSlice.ts
	new file:   src/features/AttachedImages/index.ts
	modified:   src/features/Chat/Thread/utils.ts
	modified:   src/features/History/historySlice.ts
	new file:   src/hooks/useAttachedImages.ts
	modified:   src/hooks/useSendChatRequest.ts
	modified:   src/services/refact/chat.ts
	modified:   src/services/refact/types.ts
 Conflicts:
	src/__fixtures__/index.ts
	src/app/store.ts

 Changes to be committed:
	modified:   .prettierignore
	modified:   .storybook/main.ts
	modified:   .storybook/preview.tsx
	deleted:    TODO.md
	modified:   package-lock.json
	modified:   package.json
	new file:   public/mockServiceWorker.js
	modified:   src/__fixtures__/chat.ts
	modified:   src/__fixtures__/index.ts
	modified:   src/__fixtures__/markdown.ts
	new file:   src/__fixtures__/some_chrome_screenshots.json
	new file:   src/__fixtures__/survey_questions.ts
	new file:   src/__tests__/UserSurvey.test.tsx
	modified:   src/app/middleware.ts
	modified:   src/app/store.ts
	modified:   src/components/Chart/Chart.tsx
	modified:   src/components/Chat/Chat.tsx
	modified:   src/components/ChatContent/ChatContent.stories.tsx
	modified:   src/components/ChatContent/ChatContent.tsx
	modified:   src/components/ChatContent/ToolsContent.tsx
	modified:   src/components/ChatContent/UserInput.tsx
	modified:   src/components/ChatForm/ChatForm.stories.tsx
	modified:   src/components/ChatForm/ChatForm.test.tsx
	modified:   src/components/ChatForm/ChatForm.tsx
	new file:   src/components/ChatForm/ToolConfirmation.module.css
	new file:   src/components/ChatForm/ToolConfirmation.tsx
	modified:   src/components/Command/Command.module.css
	modified:   src/components/Command/Markdown.tsx
	modified:   src/components/Markdown/Markdown.tsx
	modified:   src/components/Reveal/reveal.module.css
	modified:   src/components/Spinner/Spinner.module.css
	modified:   src/components/Spinner/Spinner.stories.tsx
	modified:   src/components/Spinner/Spinner.tsx
	modified:   src/components/StatisticView/StatisticView.tsx
	modified:   src/components/Table/Table.tsx
	modified:   src/components/Toolbar/Toolbar.tsx
	modified:   src/events/index.ts
	modified:   src/features/App.tsx
	modified:   src/features/Chat/Thread/actions.ts
	modified:   src/features/Chat/Thread/utils.ts
	modified:   src/features/TipOfTheDay.tsx
	new file:   src/features/ToolConfirmation/confirmationSlice.ts
	new file:   src/features/UserSurvey/UserSurvey.stories.tsx
	new file:   src/features/UserSurvey/UserSurvey.tsx
	new file:   src/features/UserSurvey/index.ts
	new file:   src/features/UserSurvey/userSurveySlice.ts
	modified:   src/hooks/index.ts
	modified:   src/hooks/useEventBusForIDE.ts
	modified:   src/hooks/useGetToolsQuery.ts
	new file:   src/hooks/useGetUserSurvey.ts
	modified:   src/hooks/usePatchActions.ts
	modified:   src/hooks/useSendChatRequest.ts
	modified:   src/lib/render/index.tsx
	modified:   src/services/refact/chat.ts
	modified:   src/services/refact/consts.ts
	modified:   src/services/refact/path.ts
	modified:   src/services/refact/tools.ts
	modified:   src/services/refact/types.ts
	modified:   src/services/smallcloud/index.ts
	new file:   src/utils/extractFilePathFromPin.ts
	modified:   src/utils/index.ts
	modified:   src/utils/mockServer.ts
	modified:   src/vite-env.d.ts
	modified:   vite.config.ts
@alashchev17
Copy link
Contributor

This one is outdated

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.

2 participants