app-monorepo icon indicating copy to clipboard operation
app-monorepo copied to clipboard

chore: add devSettings

Open huhuanming opened this issue 1 year ago • 2 comments

huhuanming avatar Feb 20 '24 14:02 huhuanming

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

codesandbox[bot] avatar Feb 20 '24 14:02 codesandbox[bot]

PR Summary

  • Introduction of a Service Development Setting File A new file, ServiceDevSetting.ts, was introduced. This file contains a class that grants us new ways to manipulate development settings.

  • Modifications to BackgroundApi Files The files BackgroundApi.ts and BackgroundApiProxy.ts were altered. These changes include importing a new development setting, modifying existing properties, and removing unused imports. This update helps optimize our background processing.

  • Adjustments in Interface File The interface file IBackgroundApi.ts now has a new property related to service development settings to support better interaction with the aforementioned BackgroundApi files.

  • Improvement in Endpoint Handling Changes were made in the endpoints/index.tsx file to better handle development settings which will result in more effective control of test endpoints.

  • Creation of Atom for Persisting Dev Settings An Atom file devSettingsPersistAtom.ts, was added. This will help to persist development settings, improving ease of use and consistency between sessions.

  • Addition to Atom Name Enumerations A new Atom name and its export was introduced to the file atomNames.ts. This will provide a better way of referencing and handling this specific atom.

  • New UI Components New files SectionItem.tsx and DevSettingsSection/index.tsx were added as reusable interface components to allow developers to easily customize developer settings.

  • Removal of Redundant Imports Unused imports were removed from List/index.tsx, enhancing the code base by keeping it clean and readable.

what-the-diff[bot] avatar Feb 20 '24 14:02 what-the-diff[bot]