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

Telemetry service #236

Draft
wants to merge 5 commits into
base: alpha
Choose a base branch
from
Draft

Telemetry service #236

wants to merge 5 commits into from

Conversation

MarcMcIntosh
Copy link
Collaborator

Telemetry service.

Description

Adds the telemetry calls as a service that can be called through middleware or with a hook.

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: Install redux-dev tools
  • Step 2: trigger actions that should send telemtry.
  • Step 3: check the actions or network and there should be some requests.

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

reymondzzzz and others added 5 commits December 10, 2024 20:31
 Conflicts:
	src/features/Chat/Thread/actions.ts

 Changes to be committed:
	modified:   package-lock.json
	modified:   package.json
	modified:   src/__fixtures__/caps.ts
	modified:   src/__fixtures__/chat_config_thread.ts
	modified:   src/__fixtures__/chat_links_response.ts
	new file:   src/__fixtures__/msw.ts
	new file:   src/__fixtures__/tools_response.ts
	modified:   src/__tests__/ChatCapsFetchError.test.tsx
	modified:   src/__tests__/DeleteChat.test.tsx
	modified:   src/__tests__/PinMessages.test.tsx
	modified:   src/__tests__/RestoreChat.test.tsx
	modified:   src/__tests__/StartNewChat.test.tsx
	modified:   src/__tests__/UserSurvey.test.tsx
	new file:   src/components/Chat/Chat.stories.tsx
	modified:   src/components/Chat/Chat.tsx
	modified:   src/components/ChatContent/ChatContent.stories.tsx
	modified:   src/components/ChatContent/ChatContent.tsx
	modified:   src/components/ChatContent/ScrollToBottomButton.tsx
	modified:   src/components/ChatLinks/ChatLinks.tsx
	modified:   src/components/IntegrationsView/CustomFieldsAndWidgets.tsx
	modified:   src/components/IntegrationsView/IntegrationCard.module.css
	modified:   src/components/IntegrationsView/IntegrationCard.tsx
	deleted:    src/components/IntegrationsView/IntegrationCmdline/index.ts
	modified:   src/components/IntegrationsView/IntegrationDocker/IntegrationDocker.tsx
	modified:   src/components/IntegrationsView/IntegrationForm/IntegrationAvailability.tsx
	modified:   src/components/IntegrationsView/IntegrationForm/IntegrationForm.module.css
	modified:   src/components/IntegrationsView/IntegrationForm/IntegrationForm.tsx
	modified:   src/components/IntegrationsView/IntegrationsHeader.module.css
	modified:   src/components/IntegrationsView/IntegrationsHeader.tsx
	modified:   src/components/IntegrationsView/IntegrationsView.tsx
	renamed:    src/components/IntegrationsView/IntegrationCmdline/IntegrationCmdline.module.css -> src/components/IntegrationsView/IntermediateIntegration/IntermediateIntegration.module.css
	renamed:    src/components/IntegrationsView/IntegrationCmdline/IntegrationCmdline.tsx -> src/components/IntegrationsView/IntermediateIntegration/IntermediateIntegration.tsx
	new file:   src/components/IntegrationsView/IntermediateIntegration/index.ts
	modified:   src/components/IntegrationsView/icons/iconMap.ts
	new file:   src/components/SmartLink/SmartLink.module.css
	modified:   src/components/SmartLink/SmartLink.tsx
	modified:   src/components/Toolbar/Dropdown.tsx
	modified:   src/debugConfig.ts
	modified:   src/features/Chat/Chat.test.tsx
	modified:   src/features/Chat/Thread/actions.ts
	modified:   src/features/Chat/Thread/reducer.ts
	new file:   src/features/Integrations/renderIntegrationFormField.module.css
	modified:   src/features/Integrations/renderIntegrationFormField.tsx
	modified:   src/hooks/index.ts
	new file:   src/hooks/useGoToLink.ts
	new file:   src/hooks/useLinksFromLsp.ts
	new file:   src/hooks/useSmartLinks.ts
	modified:   src/services/refact/caps.ts
	modified:   src/services/refact/integrations.ts
	modified:   src/services/refact/tools.ts
	modified:   src/utils/index.ts
	new file:   src/utils/isAbsolutePath.ts
	modified:   src/utils/mockServer.ts
@MarcMcIntosh MarcMcIntosh changed the base branch from telemetry2 to alpha December 11, 2024 17:36
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