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

chore: Convert Importer classes to typescript #29714

Merged
merged 38 commits into from
Dec 6, 2023

Conversation

pierre-lehnen-rc
Copy link
Contributor

@pierre-lehnen-rc pierre-lehnen-rc commented Jul 4, 2023

Proposed changes (including videos or screenshots)

Some refactoring in the importer classes:

  • Convert base importer classes to Typescript
  • Convert each importer class to Typescript
  • Removed unused code on the importer implementation
  • Removed importer information mirrored between client and server
  • Created a REST endpoint that lists the importers registered at the server
  • Changed the web client to use the result of the new endpoint as the true list of available importers
  • Fixed some endpoint definitions that were referencing the wrong types.
  • Remove RawImports collection

Issue(s)

Steps to test or reproduce

Further comments

@changeset-bot
Copy link

changeset-bot bot commented Jul 4, 2023

⚠️ No Changeset found

Latest commit: da29bab

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

@pierre-lehnen-rc pierre-lehnen-rc changed the title chore: convert importer classes to typescript feat: APIs for bulk user creation Jul 13, 2023
@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Merging #29714 (da29bab) into develop (92ee9fa) will decrease coverage by 2.32%.
The diff coverage is 58.73%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #29714      +/-   ##
===========================================
- Coverage    57.18%   54.87%   -2.32%     
===========================================
  Files          880     1583     +703     
  Lines        19925    31145   +11220     
  Branches      3719     6401    +2682     
===========================================
+ Hits         11395    17091    +5696     
- Misses        7841    12715    +4874     
- Partials       689     1339     +650     
Flag Coverage Δ
e2e 46.34% <58.73%> (+3.96%) ⬆️
unit 76.63% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@pierre-lehnen-rc pierre-lehnen-rc force-pushed the chore/convert-importer-to-ts branch 2 times, most recently from 25761ef to 4f589c7 Compare July 26, 2023 20:47
pierre-lehnen-rc added a commit that referenced this pull request Jul 27, 2023
@pierre-lehnen-rc pierre-lehnen-rc changed the title feat: APIs for bulk user creation chore: Convert Importer classes to typescript Aug 22, 2023
@pierre-lehnen-rc pierre-lehnen-rc marked this pull request as ready for review October 17, 2023 15:04
@pierre-lehnen-rc pierre-lehnen-rc requested review from a team as code owners October 17, 2023 15:04
@tassoevan tassoevan added this to the 6.6.0 milestone Nov 3, 2023
@sampaiodiego sampaiodiego merged commit 40e5d4d into develop Dec 6, 2023
42 of 43 checks passed
@sampaiodiego sampaiodiego deleted the chore/convert-importer-to-ts branch December 6, 2023 12:13
gabriellsh added a commit that referenced this pull request Dec 7, 2023
…hideUi

* 'develop' of github.com:RocketChat/Rocket.Chat: (21 commits)
  chore: Rename useFileInput to useSingleFileInput (#31186)
  regression: FED-116 allow to invite rc users to fed channels (#30658)
  refactor: Remove `livechat.js` file (#31179)
  test: Fix Analytics test to use always same date (#31178)
  chore: notify messages on emails incoming and outgoing (#30925)
  chore: add msg stream to the federation v1 feature (#31105)
  chore: update editedBy when the user changes their username (following BE rules) (#31098)
  chore: add a manual msg stream update for autotranslate (#31094)
  chore: send streaming msg update on livechat decline call event (#31025)
  chore: Replace `IconButton` in favor of `Button` on `PageHeader` (#31171)
  refactor: Migrate `analytics.js` to service (#31051)
  feat: Add `push.info` endpoint to retrieve push gateway info (#30868)
  chore: Convert Importer classes to typescript (#29714)
  docs: fix lost image render in markdown (#31013)
  feat(uikit): Move `@rocket.chat/ui-kit` package to the main monorepo (#31138)
  i18n: Language update from LingoHub 🤖 on 2023-12-05Z (#31161)
  feat: Skip to main content shortcut and `useDocumentTitle` (#30680)
  chore: Replace `useForm` in favor of RHF on Omnichannel `AgentsEdit` (#30789)
  chore: ImageGallery tweaks (#31159)
  fix: New `custom-roles` license module isn't properly checked (#31153)
  ...
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.

4 participants