Fix cross folder dependency (folder reference restriction will be added in a new PR)
This pull request primarily involves refactoring and reorganizing the codebase for better structure and maintainability. The most significant changes are related to the relocation of the ITelemetry interface and associated telemetry events, as well as adjustments to import paths due to file relocations.
Here are the top five most important changes:
-
Refactoring of
ITelemetryInterface and Telemetry Events:The
ITelemetryinterface and associated telemetry events have been moved from thesrc/client/telemetry/directory to thesrc/common/OneDSLoggerTelemetry/telemetry/directory. This change affects numerous files across the codebase, with updates to import statements to reflect the new location. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] -
Relocation of
OrgChangeNotifier.ts:The
OrgChangeNotifier.tsfile has been moved from thesrc/common/directory to thesrc/client/directory. The import paths within this file have been updated accordingly. [1] [2] -
Update of Constants:
Several constants have been updated across different files. For instance,
PAC_SUCCESShas been replaced withSUCCESSinsrc/client/OrgChangeNotifier.ts, andtelemetryEventNameshas been replaced withdesktopTelemetryEventNamesinsrc/client/extension.ts. [1] [2] -
Refactoring of Import Paths:
Due to the relocation of various files, import paths have been updated in several files, such as
src/client/extension.ts,src/client/lib/CliAcquisition.ts,src/client/lib/GeneratorAcquisition.ts, and many others. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] -
Removal of Unused Imports:
Unused imports have been removed from several files, such as
src/client/extension.tsandsrc/client/lib/CliAcquisition.ts, contributing to cleaner, more efficient code. [1] [2]