@grackle-ai/web-components 0.107.2 → 0.108.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/.rush/temp/{3ae72563f781afd72723475938136f113846603e.untar.log → 6a006f2c0da21b52033b551b9ab7fe5476f98104.untar.log} +2 -2
  2. package/.rush/temp/{bc1d5bf9201ce71abeaeaddd096deb9b0805d703.untar.log → 8d311efca0ab9b63564c69382ef5e7be719f9d07.untar.log} +2 -2
  3. package/.rush/temp/operation/_phase_build/all.log +5 -5
  4. package/.rush/temp/operation/_phase_build/log-chunks.jsonl +5 -5
  5. package/.rush/temp/operation/_phase_build/state.json +1 -1
  6. package/.rush/temp/operation/_phase_test/all.log +15 -15
  7. package/.rush/temp/operation/_phase_test/log-chunks.jsonl +15 -15
  8. package/.rush/temp/operation/_phase_test/state.json +1 -1
  9. package/dist/index.js +7038 -6764
  10. package/package.json +2 -2
  11. package/rush-logs/web-components._phase_build.cache.log +1 -1
  12. package/rush-logs/web-components._phase_test.cache.log +1 -1
  13. package/src/components/panels/EnvironmentEditPanel.stories.tsx +1 -0
  14. package/src/components/panels/EnvironmentEditPanel.tsx +65 -8
  15. package/src/components/panels/GitHubAccountsPanel.tsx +223 -0
  16. package/src/components/panels/index.ts +2 -0
  17. package/src/components/settings/SettingsNav.stories.tsx +11 -10
  18. package/src/components/settings/SettingsNav.tsx +2 -1
  19. package/src/context/GrackleContextTypes.ts +3 -0
  20. package/src/hooks/types.ts +36 -3
  21. package/src/index.ts +4 -3
  22. package/src/mocks/MockGrackleProvider.tsx +21 -0
  23. package/src/mocks/mockData.ts +5 -0
  24. package/src/test-utils/storybook-helpers.ts +1 -0
  25. package/src/utils/breadcrumbs.test.ts +1 -0
  26. package/src/utils/dashboard.test.ts +1 -0
  27. package/src/utils/navigation.ts +3 -0
@@ -43,6 +43,7 @@ function makeEnvironment(id: string, displayName: string): Environment {
43
43
  adapterConfig: "",
44
44
  status: "connected",
45
45
  bootstrapped: true,
46
+ githubAccountId: "",
46
47
  };
47
48
  }
48
49
 
@@ -66,6 +66,7 @@ function makeEnvironment(id: string, displayName: string, status: string): Envir
66
66
  adapterConfig: "{}",
67
67
  status,
68
68
  bootstrapped: true,
69
+ githubAccountId: "",
69
70
  };
70
71
  }
71
72
 
@@ -122,6 +122,9 @@ export const SETTINGS_ENVIRONMENTS_URL: string = "/settings/environments";
122
122
  /** URL for the settings credentials tab. */
123
123
  export const SETTINGS_CREDENTIALS_URL: string = "/settings/credentials";
124
124
 
125
+ /** URL for the GitHub accounts settings tab. */
126
+ export const SETTINGS_GITHUB_ACCOUNTS_URL: string = "/settings/github-accounts";
127
+
125
128
  /** URL for the persona management tab. */
126
129
  export const PERSONAS_URL: string = "/settings/personas";
127
130