Skip to content

Move modules to the `@sourcegraph/common` package into util

Administrator requested to merge contractors/SG-29622 into main

Created by: gitstart-sourcegraph

Decription

Move modules to the @sourcegraph/common package into util

Refs

Implementation Detail

Nest these modules next to places where they are used under utils folder:

  • link-click-handler
  • createRecord
  • prefixSumComputer
  • ReferenceCounter
  • wordHelpers

Move these modules to the @sourcegraph/common package into util:

  • browserDetection
  • dom — rename to highlightNode
  • fetchCache
  • hashCode
  • icon — rename to isEncodedImage
  • jsonc
  • LocalStorageSubject
  • markdown
  • strings.ts
  • types.ts
  • url.ts — move only utilities that are not product/api specific.
  • memoizeObservable — move to the rxjs folder
  • rxjs
  • rxjs/throttleTimeWindow.ts — it seems it can be removed.

Merge request reports

Loading