@manojkmfsi/monodog 1.1.38 → 1.1.39

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 (199) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/monodog-dashboard/dist/assets/index-C08ciT3A.js +20 -0
  3. package/monodog-dashboard/dist/assets/index-C08ciT3A.js.map +1 -0
  4. package/monodog-dashboard/dist/assets/index-Dc2vaUOq.css +1 -0
  5. package/monodog-dashboard/{index.html → dist/index.html} +2 -1
  6. package/package.json +2 -2
  7. package/monodog-dashboard/THEME_SYSTEM.md +0 -309
  8. package/monodog-dashboard/__tests__/AuthCallbackPage.test.ts +0 -138
  9. package/monodog-dashboard/__tests__/ConfigInspector.test.ts +0 -33
  10. package/monodog-dashboard/__tests__/DependencyGraph.test.ts +0 -72
  11. package/monodog-dashboard/__tests__/HealthStatus.test.ts +0 -69
  12. package/monodog-dashboard/__tests__/LoginPage.test.ts +0 -79
  13. package/monodog-dashboard/__tests__/PackageDetail.test.ts +0 -22
  14. package/monodog-dashboard/__tests__/ReleaseManager.test.tsx +0 -510
  15. package/monodog-dashboard/__tests__/api-client.test.ts +0 -475
  16. package/monodog-dashboard/__tests__/components.test.ts +0 -117
  17. package/monodog-dashboard/__tests__/dashboard.utils.test.ts +0 -144
  18. package/monodog-dashboard/__tests__/dependency.utils.test.ts +0 -125
  19. package/monodog-dashboard/__tests__/monorepoService.unit.test.ts +0 -103
  20. package/monodog-dashboard/__tests__/packages.utils.test.ts +0 -37
  21. package/monodog-dashboard/__tests__/pages.test.ts +0 -103
  22. package/monodog-dashboard/package-lock.json +0 -4587
  23. package/monodog-dashboard/postcss.config.js +0 -6
  24. package/monodog-dashboard/src/components/App.tsx +0 -36
  25. package/monodog-dashboard/src/components/LoadingState.tsx +0 -18
  26. package/monodog-dashboard/src/components/PermissionGuard.tsx +0 -92
  27. package/monodog-dashboard/src/components/ProtectedRoute.tsx +0 -24
  28. package/monodog-dashboard/src/components/configuration/Configuration.tsx +0 -91
  29. package/monodog-dashboard/src/components/configuration/components/BrandingSettings.tsx +0 -128
  30. package/monodog-dashboard/src/components/configuration/components/ConfigurationHeader.tsx +0 -34
  31. package/monodog-dashboard/src/components/configuration/components/ConfigurationModal.tsx +0 -20
  32. package/monodog-dashboard/src/components/configuration/components/ConfigurationTabs.tsx +0 -30
  33. package/monodog-dashboard/src/components/configuration/components/FeatureToggles.tsx +0 -66
  34. package/monodog-dashboard/src/components/configuration/components/GeneralSettings.tsx +0 -77
  35. package/monodog-dashboard/src/components/configuration/components/MonorepoSettings.tsx +0 -179
  36. package/monodog-dashboard/src/components/configuration/components/index.ts +0 -8
  37. package/monodog-dashboard/src/components/configuration/types/config.types.ts +0 -52
  38. package/monodog-dashboard/src/components/configuration/utils/config.utils.tsx +0 -115
  39. package/monodog-dashboard/src/components/main-dashboard/Dashboard.tsx +0 -242
  40. package/monodog-dashboard/src/components/main-dashboard/Layout.tsx +0 -112
  41. package/monodog-dashboard/src/components/main-dashboard/components/Header.tsx +0 -47
  42. package/monodog-dashboard/src/components/main-dashboard/components/PackageDistribution.tsx +0 -35
  43. package/monodog-dashboard/src/components/main-dashboard/components/PackageSearchFilter.tsx +0 -47
  44. package/monodog-dashboard/src/components/main-dashboard/components/PackageTable.tsx +0 -87
  45. package/monodog-dashboard/src/components/main-dashboard/components/QuickActions.tsx +0 -60
  46. package/monodog-dashboard/src/components/main-dashboard/components/StatsCards.tsx +0 -73
  47. package/monodog-dashboard/src/components/main-dashboard/components/index.ts +0 -7
  48. package/monodog-dashboard/src/components/main-dashboard/types/dashboard.types.ts +0 -33
  49. package/monodog-dashboard/src/components/main-dashboard/utils/dashboard.utils.tsx +0 -70
  50. package/monodog-dashboard/src/components/modules/ci-integration/CIIntegration.tsx +0 -277
  51. package/monodog-dashboard/src/components/modules/ci-integration/components/BuildDetails.tsx +0 -228
  52. package/monodog-dashboard/src/components/modules/ci-integration/components/BuildList.tsx +0 -212
  53. package/monodog-dashboard/src/components/modules/ci-integration/components/BuildOverview.tsx +0 -158
  54. package/monodog-dashboard/src/components/modules/ci-integration/components/CIIntegrationHeader.tsx +0 -38
  55. package/monodog-dashboard/src/components/modules/ci-integration/components/ErrorState.tsx +0 -25
  56. package/monodog-dashboard/src/components/modules/ci-integration/components/LoadingState.tsx +0 -16
  57. package/monodog-dashboard/src/components/modules/ci-integration/components/PipelineStatus.tsx +0 -223
  58. package/monodog-dashboard/src/components/modules/ci-integration/components/index.ts +0 -8
  59. package/monodog-dashboard/src/components/modules/ci-integration/types/ci.types.ts +0 -97
  60. package/monodog-dashboard/src/components/modules/ci-integration/utils/ci.utils.tsx +0 -264
  61. package/monodog-dashboard/src/components/modules/config-inspector/ConfigInspector.tsx +0 -324
  62. package/monodog-dashboard/src/components/modules/config-inspector/components/ConfigEditor.tsx +0 -93
  63. package/monodog-dashboard/src/components/modules/config-inspector/components/ConfigInspectorHeader.tsx +0 -36
  64. package/monodog-dashboard/src/components/modules/config-inspector/components/ConfigPreview.tsx +0 -89
  65. package/monodog-dashboard/src/components/modules/config-inspector/components/ConfigSidebar.tsx +0 -141
  66. package/monodog-dashboard/src/components/modules/config-inspector/components/ConfigToolbar.tsx +0 -184
  67. package/monodog-dashboard/src/components/modules/config-inspector/components/ErrorState.tsx +0 -25
  68. package/monodog-dashboard/src/components/modules/config-inspector/components/LoadingState.tsx +0 -16
  69. package/monodog-dashboard/src/components/modules/config-inspector/components/ValidationPanel.tsx +0 -155
  70. package/monodog-dashboard/src/components/modules/config-inspector/components/index.ts +0 -9
  71. package/monodog-dashboard/src/components/modules/config-inspector/types/config.types.ts +0 -100
  72. package/monodog-dashboard/src/components/modules/config-inspector/utils/config.utils.tsx +0 -704
  73. package/monodog-dashboard/src/components/modules/dependency-graph/DependencyGraph.tsx +0 -224
  74. package/monodog-dashboard/src/components/modules/dependency-graph/components/CircularDependencies.tsx +0 -177
  75. package/monodog-dashboard/src/components/modules/dependency-graph/components/DependencyDetails.tsx +0 -192
  76. package/monodog-dashboard/src/components/modules/dependency-graph/components/DependencyGraphHeader.tsx +0 -30
  77. package/monodog-dashboard/src/components/modules/dependency-graph/components/DependencyList.tsx +0 -177
  78. package/monodog-dashboard/src/components/modules/dependency-graph/components/ErrorState.tsx +0 -25
  79. package/monodog-dashboard/src/components/modules/dependency-graph/components/GraphLegend.tsx +0 -89
  80. package/monodog-dashboard/src/components/modules/dependency-graph/components/GraphStats.tsx +0 -141
  81. package/monodog-dashboard/src/components/modules/dependency-graph/components/GraphToolbar.tsx +0 -107
  82. package/monodog-dashboard/src/components/modules/dependency-graph/components/GraphVisualization.tsx +0 -179
  83. package/monodog-dashboard/src/components/modules/dependency-graph/components/LoadingState.tsx +0 -16
  84. package/monodog-dashboard/src/components/modules/dependency-graph/components/index.ts +0 -11
  85. package/monodog-dashboard/src/components/modules/dependency-graph/types/dependency.types.ts +0 -105
  86. package/monodog-dashboard/src/components/modules/dependency-graph/utils/dependency.utils.tsx +0 -433
  87. package/monodog-dashboard/src/components/modules/health-status/HealthStatus.tsx +0 -739
  88. package/monodog-dashboard/src/components/modules/health-status/components/ErrorState.tsx +0 -25
  89. package/monodog-dashboard/src/components/modules/health-status/components/HealthActions.tsx +0 -122
  90. package/monodog-dashboard/src/components/modules/health-status/components/HealthAlerts.tsx +0 -151
  91. package/monodog-dashboard/src/components/modules/health-status/components/HealthMetrics.tsx +0 -132
  92. package/monodog-dashboard/src/components/modules/health-status/components/HealthStatusHeader.tsx +0 -30
  93. package/monodog-dashboard/src/components/modules/health-status/components/LoadingState.tsx +0 -16
  94. package/monodog-dashboard/src/components/modules/health-status/components/OverallHealthScore.tsx +0 -122
  95. package/monodog-dashboard/src/components/modules/health-status/components/PackageHealthList.tsx +0 -195
  96. package/monodog-dashboard/src/components/modules/health-status/types/health.types.ts +0 -80
  97. package/monodog-dashboard/src/components/modules/health-status/utils/health.utils.tsx +0 -220
  98. package/monodog-dashboard/src/components/modules/packages/PackageDetail.tsx +0 -255
  99. package/monodog-dashboard/src/components/modules/packages/PackagesOverview.tsx +0 -166
  100. package/monodog-dashboard/src/components/modules/packages/components/ConfigurationTab.tsx +0 -311
  101. package/monodog-dashboard/src/components/modules/packages/components/DependenciesTab.tsx +0 -154
  102. package/monodog-dashboard/src/components/modules/packages/components/ErrorState.tsx +0 -21
  103. package/monodog-dashboard/src/components/modules/packages/components/HealthMetricsTab.tsx +0 -275
  104. package/monodog-dashboard/src/components/modules/packages/components/LoadingState.tsx +0 -14
  105. package/monodog-dashboard/src/components/modules/packages/components/PackageDetailHeader.tsx +0 -167
  106. package/monodog-dashboard/src/components/modules/packages/components/PackageDetailTabs.tsx +0 -49
  107. package/monodog-dashboard/src/components/modules/packages/components/PackageStats.tsx +0 -70
  108. package/monodog-dashboard/src/components/modules/packages/components/PackagesTable.tsx +0 -163
  109. package/monodog-dashboard/src/components/modules/packages/components/RecentCommitsTab.tsx +0 -90
  110. package/monodog-dashboard/src/components/modules/packages/components/SearchAndFilter.tsx +0 -66
  111. package/monodog-dashboard/src/components/modules/packages/components/index.ts +0 -12
  112. package/monodog-dashboard/src/components/modules/packages/types/packages.types.ts +0 -101
  113. package/monodog-dashboard/src/components/modules/packages/utils/packages.utils.tsx +0 -178
  114. package/monodog-dashboard/src/components/pipeline/JobsList.tsx +0 -83
  115. package/monodog-dashboard/src/components/pipeline/LogViewer.tsx +0 -392
  116. package/monodog-dashboard/src/components/pipeline/PipelineManager.tsx +0 -562
  117. package/monodog-dashboard/src/components/pipeline/WorkflowRunsList.tsx +0 -272
  118. package/monodog-dashboard/src/components/pipeline/WorkflowTrigger.tsx +0 -182
  119. package/monodog-dashboard/src/components/pipeline/utils/pipeline.utils.tsx +0 -11
  120. package/monodog-dashboard/src/components/publish-control/PublishControl.tsx +0 -229
  121. package/monodog-dashboard/src/components/publish-control/components/ChangelogViewer.tsx +0 -103
  122. package/monodog-dashboard/src/components/publish-control/components/ErrorState.tsx +0 -23
  123. package/monodog-dashboard/src/components/publish-control/components/LoadingState.tsx +0 -10
  124. package/monodog-dashboard/src/components/publish-control/components/PackageReleaseTable.tsx +0 -140
  125. package/monodog-dashboard/src/components/publish-control/components/PublishHeader.tsx +0 -30
  126. package/monodog-dashboard/src/components/publish-control/components/QuickActionCards.tsx +0 -56
  127. package/monodog-dashboard/src/components/publish-control/components/ReleaseSchedule.tsx +0 -104
  128. package/monodog-dashboard/src/components/publish-control/components/index.ts +0 -8
  129. package/monodog-dashboard/src/components/publish-control/types/publish.types.ts +0 -39
  130. package/monodog-dashboard/src/components/publish-control/utils/publish.utils.ts +0 -59
  131. package/monodog-dashboard/src/components/release-manager/ReleaseManager.tsx +0 -342
  132. package/monodog-dashboard/src/components/release-manager/components/ChangesetPreview.tsx +0 -123
  133. package/monodog-dashboard/src/components/release-manager/components/ErrorState.tsx +0 -38
  134. package/monodog-dashboard/src/components/release-manager/components/LoadingState.tsx +0 -18
  135. package/monodog-dashboard/src/components/release-manager/components/PackageSelector.tsx +0 -137
  136. package/monodog-dashboard/src/components/release-manager/components/PublishConfirmation.tsx +0 -150
  137. package/monodog-dashboard/src/components/release-manager/components/ReleaseValidation.tsx +0 -138
  138. package/monodog-dashboard/src/components/release-manager/components/VersionBumpSelector.tsx +0 -142
  139. package/monodog-dashboard/src/components/release-manager/types/index.ts +0 -9
  140. package/monodog-dashboard/src/components/release-manager/types/release-manager.types.ts +0 -29
  141. package/monodog-dashboard/src/components/setup-guide/SetupGuide.tsx +0 -96
  142. package/monodog-dashboard/src/components/setup-guide/components/SetupHeader.tsx +0 -24
  143. package/monodog-dashboard/src/components/setup-guide/components/SetupModal.tsx +0 -24
  144. package/monodog-dashboard/src/components/setup-guide/components/SetupProgress.tsx +0 -29
  145. package/monodog-dashboard/src/components/setup-guide/components/StepContent.tsx +0 -272
  146. package/monodog-dashboard/src/components/setup-guide/components/StepNavigation.tsx +0 -62
  147. package/monodog-dashboard/src/components/setup-guide/components/index.ts +0 -6
  148. package/monodog-dashboard/src/components/setup-guide/types/setup.types.ts +0 -38
  149. package/monodog-dashboard/src/components/setup-guide/utils/setup.utils.ts +0 -79
  150. package/monodog-dashboard/src/constants/api-config.ts +0 -81
  151. package/monodog-dashboard/src/constants/index.ts +0 -9
  152. package/monodog-dashboard/src/constants/messages.ts +0 -40
  153. package/monodog-dashboard/src/icons/heroicons.ts +0 -65
  154. package/monodog-dashboard/src/icons/index.tsx +0 -1788
  155. package/monodog-dashboard/src/index.css +0 -175
  156. package/monodog-dashboard/src/main.tsx +0 -9
  157. package/monodog-dashboard/src/pages/AuthCallbackPage.tsx +0 -103
  158. package/monodog-dashboard/src/pages/CIPage.tsx +0 -6
  159. package/monodog-dashboard/src/pages/ConfigPage.tsx +0 -6
  160. package/monodog-dashboard/src/pages/DashboardPage.tsx +0 -6
  161. package/monodog-dashboard/src/pages/DependenciesPage.tsx +0 -6
  162. package/monodog-dashboard/src/pages/HealthPage.tsx +0 -6
  163. package/monodog-dashboard/src/pages/LoginPage.tsx +0 -77
  164. package/monodog-dashboard/src/pages/PackageDetailPage.tsx +0 -6
  165. package/monodog-dashboard/src/pages/PackagesPage.tsx +0 -6
  166. package/monodog-dashboard/src/pages/PipelinePage.tsx +0 -22
  167. package/monodog-dashboard/src/pages/PublishPage.tsx +0 -6
  168. package/monodog-dashboard/src/pages/ReleaseManagerPage.tsx +0 -9
  169. package/monodog-dashboard/src/pages/index.ts +0 -28
  170. package/monodog-dashboard/src/routes/AppRouter.tsx +0 -89
  171. package/monodog-dashboard/src/routes/AppRouterPages.tsx +0 -56
  172. package/monodog-dashboard/src/routes/index.ts +0 -10
  173. package/monodog-dashboard/src/routes/routes.config.ts +0 -94
  174. package/monodog-dashboard/src/services/api/api-client.ts +0 -189
  175. package/monodog-dashboard/src/services/api/index.ts +0 -30
  176. package/monodog-dashboard/src/services/api/types/api.types.ts +0 -63
  177. package/monodog-dashboard/src/services/auth-context.tsx +0 -344
  178. package/monodog-dashboard/src/services/monorepoService.ts +0 -733
  179. package/monodog-dashboard/src/services/permission-context.tsx +0 -193
  180. package/monodog-dashboard/src/theme/COMPONENT_UPDATES.md +0 -273
  181. package/monodog-dashboard/src/theme/INTEGRATION.md +0 -381
  182. package/monodog-dashboard/src/theme/README.md +0 -239
  183. package/monodog-dashboard/src/theme/examples.tsx +0 -386
  184. package/monodog-dashboard/src/theme/index.ts +0 -402
  185. package/monodog-dashboard/src/theme/migration-guide.md +0 -335
  186. package/monodog-dashboard/src/types/auth-context.types.ts +0 -51
  187. package/monodog-dashboard/src/types/component.types.ts +0 -96
  188. package/monodog-dashboard/src/types/icons.types.ts +0 -13
  189. package/monodog-dashboard/src/types/index.ts +0 -68
  190. package/monodog-dashboard/src/types/monorepo-service.types.ts +0 -53
  191. package/monodog-dashboard/src/types/permission-context.types.ts +0 -49
  192. package/monodog-dashboard/src/types/pipeline.types.ts +0 -89
  193. package/monodog-dashboard/src/types/routes.types.ts +0 -12
  194. package/monodog-dashboard/src/utils/cookies.ts +0 -47
  195. package/monodog-dashboard/tailwind.config.js +0 -68
  196. package/monodog-dashboard/tsconfig.app.json +0 -14
  197. package/monodog-dashboard/tsconfig.json +0 -17
  198. package/monodog-dashboard/tsconfig.node.json +0 -10
  199. package/monodog-dashboard/vite.config.ts +0 -9
@@ -1,175 +0,0 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
2
- @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
3
-
4
- @tailwind base;
5
- @tailwind components;
6
- @tailwind utilities;
7
-
8
- @layer base {
9
- html {
10
- font-family: 'Inter', system-ui, sans-serif;
11
- -webkit-font-smoothing: antialiased;
12
- -moz-osx-font-smoothing: grayscale;
13
- }
14
-
15
- body {
16
- @apply bg-neutral-50 text-neutral-900;
17
- }
18
-
19
- /* Custom scrollbar */
20
- ::-webkit-scrollbar {
21
- @apply w-2 h-2;
22
- }
23
-
24
- ::-webkit-scrollbar-track {
25
- @apply bg-neutral-100;
26
- }
27
-
28
- ::-webkit-scrollbar-thumb {
29
- @apply bg-neutral-300 rounded-full;
30
- }
31
-
32
- ::-webkit-scrollbar-thumb:hover {
33
- @apply bg-neutral-400;
34
- }
35
- }
36
-
37
- @layer components {
38
- /* Button variants */
39
- .btn-primary {
40
- @apply bg-primary-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-primary-700 focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed;
41
- }
42
-
43
- .btn-secondary {
44
- @apply bg-secondary-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-secondary-700 focus:ring-2 focus:ring-secondary-500 focus:ring-offset-2 transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed;
45
- }
46
-
47
- .btn-outline {
48
- @apply border border-primary-300 text-primary-700 px-4 py-2 rounded-lg font-medium hover:bg-primary-50 focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed;
49
- }
50
-
51
- .btn-ghost {
52
- @apply text-neutral-700 px-4 py-2 rounded-lg font-medium hover:bg-neutral-100 focus:ring-2 focus:ring-neutral-500 focus:ring-offset-2 transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed;
53
- }
54
-
55
- .btn-success {
56
- @apply bg-success-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-success-700 focus:ring-2 focus:ring-success-500 focus:ring-offset-2 transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed;
57
- }
58
-
59
- .btn-warning {
60
- @apply bg-warning-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-warning-700 focus:ring-2 focus:ring-warning-500 focus:ring-offset-2 transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed;
61
- }
62
-
63
- .btn-error {
64
- @apply bg-error-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-error-700 focus:ring-2 focus:ring-error-500 focus:ring-offset-2 transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed;
65
- }
66
-
67
- /* Input variants */
68
- .input-base {
69
- @apply border border-neutral-300 rounded-lg px-3 py-2 text-sm placeholder-neutral-500 focus:ring-2 focus:ring-primary-500 focus:border-transparent transition-colors duration-200 disabled:bg-neutral-100 disabled:cursor-not-allowed;
70
- }
71
-
72
- .input-error {
73
- @apply border-error-300 text-error-900 placeholder-error-300 focus:ring-error-500 focus:border-transparent;
74
- }
75
-
76
- .input-success {
77
- @apply border-success-300 text-success-900 placeholder-success-300 focus:ring-success-500 focus:border-transparent;
78
- }
79
-
80
- /* Card variants */
81
- .card {
82
- @apply bg-white border border-neutral-200 rounded-xl shadow-soft;
83
- }
84
-
85
- .card-elevated {
86
- @apply bg-white border border-neutral-200 rounded-xl shadow-medium;
87
- }
88
-
89
- .card-interactive {
90
- @apply bg-white border border-neutral-200 rounded-xl shadow-soft hover:shadow-medium transition-shadow duration-200 cursor-pointer;
91
- }
92
-
93
- /* Status badges */
94
- .badge-success {
95
- @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-success-100 text-success-800;
96
- }
97
-
98
- .badge-warning {
99
- @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-warning-100 text-warning-800;
100
- }
101
-
102
- .badge-error {
103
- @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-error-100 text-error-800;
104
- }
105
-
106
- .badge-info {
107
- @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-info-100 text-info-800;
108
- }
109
-
110
- .badge-neutral {
111
- @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-neutral-100 text-neutral-800;
112
- }
113
-
114
- /* Navigation styles */
115
- .nav-link {
116
- @apply flex items-center px-3 py-2 text-sm font-medium rounded-lg transition-colors duration-200;
117
- }
118
-
119
- .nav-link-active {
120
- @apply bg-primary-50 text-primary-700 border-r-2 border-primary-700;
121
- }
122
-
123
- .nav-link-inactive {
124
- @apply text-neutral-700 hover:bg-neutral-50 hover:text-neutral-900;
125
- }
126
-
127
- /* Text styles */
128
- .text-heading {
129
- @apply font-display font-semibold text-neutral-900;
130
- }
131
-
132
- .text-subheading {
133
- @apply font-medium text-neutral-700;
134
- }
135
-
136
- .text-body {
137
- @apply text-neutral-600;
138
- }
139
-
140
- .text-caption {
141
- @apply text-sm text-neutral-500;
142
- }
143
-
144
- .text-code {
145
- @apply font-mono text-sm;
146
- }
147
- }
148
-
149
- @layer utilities {
150
- /* Animation utilities */
151
- .animate-enter {
152
- @apply animate-fade-in;
153
- }
154
-
155
- .animate-enter-from-bottom {
156
- @apply animate-slide-up;
157
- }
158
-
159
- .animate-enter-from-top {
160
- @apply animate-slide-down;
161
- }
162
-
163
- /* Focus utilities */
164
- .focus-ring {
165
- @apply focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 focus:outline-none;
166
- }
167
-
168
- .focus-ring-error {
169
- @apply focus:ring-2 focus:ring-error-500 focus:ring-offset-2 focus:outline-none;
170
- }
171
-
172
- .focus-ring-success {
173
- @apply focus:ring-2 focus:ring-success-500 focus:ring-offset-2 focus:outline-none;
174
- }
175
- }
@@ -1,9 +0,0 @@
1
- import { createRoot } from 'react-dom/client';
2
- import './index.css';
3
- import App from './components/App';
4
-
5
- const container = document.getElementById('root');
6
- if (container) {
7
- const root = createRoot(container);
8
- root.render(<App />);
9
- }
@@ -1,103 +0,0 @@
1
- import React, { useEffect, useState } from 'react';
2
- import { useNavigate } from 'react-router-dom';
3
- import apiClient from '../services/api';
4
- import { DASHBOARD_ERROR_MESSAGES, DASHBOARD_AUTH_MESSAGES } from '../constants/messages';
5
- import { DASHBOARD_API_ENDPOINTS } from '../constants/api-config';
6
-
7
- export function AuthCallbackPage() {
8
- const navigate = useNavigate();
9
- const [isProcessing, setIsProcessing] = useState(true);
10
- const [error, setError] = useState<string | null>(null);
11
-
12
- useEffect(() => {
13
- const processCallback = async () => {
14
- try {
15
- const params = new URLSearchParams(window.location.search);
16
- const code = params.get('code');
17
- const state = params.get('state');
18
- const error = params.get('error');
19
- const errorDescription = params.get('error_description');
20
-
21
- if (error) {
22
- setError(`${error}: ${errorDescription}`);
23
- setIsProcessing(false);
24
- return;
25
- }
26
-
27
- if (!code || !state) {
28
- setError('Missing authorization code or state');
29
- setIsProcessing(false);
30
- return;
31
- }
32
-
33
- // Get the session token from the OAuth callback
34
- const response = await apiClient.get(DASHBOARD_API_ENDPOINTS.AUTH.CALLBACK + `?code=${code}&state=${state}`);
35
-
36
- if (!response.success) {
37
- setError(response.error?.message || 'Authentication failed');
38
- setIsProcessing(false);
39
- return;
40
- }
41
-
42
- const data = response.data;
43
-
44
- if (!data.success || !data.sessionToken) {
45
- setError(DASHBOARD_ERROR_MESSAGES.AUTHENTICATION_ERROR);
46
- setIsProcessing(false);
47
- return;
48
- }
49
-
50
- // Use the auth context to handle the session
51
- const authContext = (window as any).__authContext;
52
- if (authContext && authContext.handleOAuthCallback) {
53
- const success = await authContext.handleOAuthCallback(data.sessionToken, data.permission);
54
- if (success) {
55
- // Redirect to the app
56
- const redirectUrl = data.redirectUrl || '/';
57
- navigate(redirectUrl);
58
- } else {
59
- setError(DASHBOARD_ERROR_MESSAGES.AUTHENTICATION_ERROR);
60
- }
61
- } else {
62
- setError(DASHBOARD_ERROR_MESSAGES.AUTHENTICATION_ERROR);
63
- }
64
- } catch (err) {
65
- const message = err instanceof Error ? err.message : DASHBOARD_ERROR_MESSAGES.UNKNOWN_ERROR;
66
- setError(message);
67
- } finally {
68
- setIsProcessing(false);
69
- }
70
- };
71
-
72
- processCallback();
73
- }, [navigate]);
74
-
75
- return (
76
- <div className="min-h-screen flex items-center justify-center bg-gradient-to-br from-primary-500 to-primary-700 p-5">
77
- <div className="bg-white rounded-xl shadow-2xl max-w-sm text-center p-10">
78
- {isProcessing ? (
79
- <>
80
- {/* Spinner */}
81
- <div className="w-10 h-10 border-4 border-gray-200 border-t-indigo-500 rounded-full animate-spin mx-auto my-5"></div>
82
- <h2 className="text-2xl font-bold text-gray-900 mt-5 mb-2">Completing Authentication...</h2>
83
- <p className="text-gray-700 text-sm leading-relaxed">Please wait while we verify your GitHub account.</p>
84
- </>
85
- ) : error ? (
86
- <>
87
- <div className="text-5xl mb-5">Warning!</div>
88
- <h2 className="text-2xl font-bold text-gray-900 mb-3">Authentication Failed</h2>
89
- <p className="text-gray-700 text-sm leading-relaxed mb-5">{error}</p>
90
- <button
91
- onClick={() => navigate('/login')}
92
- className="inline-block px-6 py-3 bg-primary-500 text-white rounded-lg font-semibold text-sm cursor-pointer transition-all duration-300 hover:bg-primary-600 hover:-translate-y-0.5 hover:shadow-lg"
93
- >
94
- Return to Login
95
- </button>
96
- </>
97
- ) : null}
98
- </div>
99
- </div>
100
- );
101
- }
102
-
103
- export default AuthCallbackPage;
@@ -1,6 +0,0 @@
1
- import CIIntegration from '../components/modules/ci-integration/CIIntegration';
2
-
3
- // Page wrapper for CI/CD Integration
4
- export default function CIPage() {
5
- return <CIIntegration />;
6
- }
@@ -1,6 +0,0 @@
1
- import ConfigInspector from '../components/modules/config-inspector/ConfigInspector';
2
-
3
- // Page wrapper for Configuration Inspector
4
- export default function ConfigPage() {
5
- return <ConfigInspector />;
6
- }
@@ -1,6 +0,0 @@
1
- import Dashboard from '../components/main-dashboard/Dashboard';
2
-
3
- // Page wrapper for Dashboard
4
- export default function DashboardPage() {
5
- return <Dashboard />;
6
- }
@@ -1,6 +0,0 @@
1
- import DependencyGraph from '../components/modules/dependency-graph/DependencyGraph';
2
-
3
- // Page wrapper for Dependencies
4
- export default function DependenciesPage() {
5
- return <DependencyGraph />;
6
- }
@@ -1,6 +0,0 @@
1
- import HealthStatus from '../components/modules/health-status/HealthStatus';
2
-
3
- // Page wrapper for Health Status
4
- export default function HealthPage() {
5
- return <HealthStatus />;
6
- }
@@ -1,77 +0,0 @@
1
- import React, { useEffect, useState } from 'react';
2
- import { useAuth } from '../services/auth-context';
3
- import { GithubIcon } from '../icons/heroicons';
4
-
5
- export function LoginPage() {
6
- const { login, isLoading, error } = useAuth();
7
- const [isInitiating, setIsInitiating] = useState(false);
8
-
9
- const handleLoginClick = async () => {
10
- setIsInitiating(true);
11
- await login();
12
- };
13
-
14
- return (
15
- <div className="min-h-screen flex items-center justify-center bg-gradient-to-br p-5">
16
- <div className="bg-white rounded-xl shadow-2xl max-w-md w-full overflow-hidden">
17
- {/* Header */}
18
- <div className="bg-gradient-to-br from-primary-500 to-primary-700 text-white p-8 text-center">
19
- <h1 className="text-4xl font-bold m-0">MonoDog</h1>
20
- <p className="text-sm opacity-90 font-medium mt-2 m-0">Monorepo Analytics & Management</p>
21
- </div>
22
-
23
- {/* Content */}
24
- <div className="p-10">
25
- <h2 className="text-2xl font-bold text-gray-900 text-center mb-8">Sign in to your account</h2>
26
-
27
- {error && (
28
- <div className="bg-red-100 text-red-700 px-4 py-3 rounded-lg mb-5 text-sm border-l-4 border-red-700">
29
- {error}
30
- </div>
31
- )}
32
-
33
- <button
34
- onClick={handleLoginClick}
35
- disabled={isLoading || isInitiating}
36
- className="w-full flex items-center justify-center gap-3 px-5 py-3 bg-primary-600 text-white rounded-lg font-semibold text-base cursor-pointer transition-all duration-300 disabled:opacity-60 disabled:cursor-not-allowed hover:enabled:bg-primary-700 hover:enabled:-translate-y-0.5 hover:enabled:shadow-lg mb-8"
37
- >
38
- <GithubIcon></GithubIcon>
39
- Continue with GitHub
40
- </button>
41
-
42
- {/* Divider */}
43
- <div className="flex items-center gap-3 my-8 text-gray-400 text-xs font-semibold uppercase tracking-widest">
44
- <div className="flex-1 h-px bg-gray-200"></div>
45
- <span>GitHub OAuth Authentication</span>
46
- <div className="flex-1 h-px bg-gray-200"></div>
47
- </div>
48
-
49
- {/* Scopes Box */}
50
- <div className="bg-primary-50 rounded-lg p-5 border-l-4 border-primary-500">
51
- <h4 className="text-xs font-semibold text-gray-900 mb-3 uppercase tracking-wide">Requested Permissions</h4>
52
- <ul className="m-0 p-0 list-none space-y-2">
53
- <li className="text-sm text-gray-700">
54
- <code className="bg-white text-primary-500 px-1.5 py-0.5 rounded text-xs font-semibold">read:user</code> - Read your profile information
55
- </li>
56
- <li className="text-sm text-gray-700">
57
- <code className="bg-white text-primary-500 px-1.5 py-0.5 rounded text-xs font-semibold">user:email</code> - Access your email address
58
- </li>
59
- <li className="text-sm text-gray-700">
60
- <code className="bg-white text-primary-500 px-1.5 py-0.5 rounded text-xs font-semibold">repo</code> - Access your repositories (required for private repos)
61
- </li>
62
- </ul>
63
- </div>
64
- </div>
65
-
66
- {/* Footer */}
67
- <div className="bg-gray-50 px-10 py-5 border-t border-gray-200 text-center">
68
- <p className="text-xs text-gray-500 leading-relaxed m-0">
69
- By signing in, you agree to our Terms of Service and Privacy Policy
70
- </p>
71
- </div>
72
- </div>
73
- </div>
74
- );
75
- }
76
-
77
- export default LoginPage;
@@ -1,6 +0,0 @@
1
- import PackageDetail from '../components/modules/packages/PackageDetail';
2
-
3
- // Page wrapper for Package Detail
4
- export default function PackageDetailPage() {
5
- return <PackageDetail />;
6
- }
@@ -1,6 +0,0 @@
1
- import PackagesOverview from '../components/modules/packages/PackagesOverview';
2
-
3
- // Page wrapper for Packages Overview
4
- export default function PackagesPage() {
5
- return <PackagesOverview />;
6
- }
@@ -1,22 +0,0 @@
1
- import React, {useState} from 'react';
2
- import PipelineManager from '../components/pipeline/PipelineManager';
3
- import { useAuth } from '../services/auth-context';
4
-
5
- export default function PipelinePage() {
6
- const { session } = useAuth();
7
-
8
- if (!session) {
9
- return (
10
- <div className="flex items-center justify-center h-screen">
11
- <p className="text-gray-600">Please sign in to view pipelines</p>
12
- </div>
13
- );
14
- }
15
-
16
-
17
- return (
18
- <div className="h-screen overflow-hidden">
19
- <PipelineManager />
20
- </div>
21
- );
22
- }
@@ -1,6 +0,0 @@
1
- import PublishControl from '../components/publish-control/PublishControl';
2
-
3
- // Page wrapper for Publish Control
4
- export default function PublishPage() {
5
- return <PublishControl />;
6
- }
@@ -1,9 +0,0 @@
1
- import ReleaseManager from '../components/release-manager/ReleaseManager';
2
-
3
- /**
4
- * Release Manager Page
5
- * Comprehensive UI for managing package versions and releases with Changesets
6
- */
7
- export default function ReleaseManagerPage() {
8
- return <ReleaseManager />;
9
- }
@@ -1,28 +0,0 @@
1
- // Export all page components for clean imports
2
-
3
- // Layout component
4
- export { default as Layout } from '../components/main-dashboard/Layout';
5
-
6
- // Direct component exports (for backward compatibility)
7
- export { default as Dashboard } from '../components/main-dashboard/Dashboard';
8
- export { default as PackagesOverview } from '../components/modules/packages/PackagesOverview';
9
- export { default as PackageDetail } from '../components/modules/packages/PackageDetail';
10
- export { default as DependencyGraph } from '../components/modules/dependency-graph/DependencyGraph';
11
- export { default as HealthStatus } from '../components/modules/health-status/HealthStatus';
12
- export { default as PublishControl } from '../components/publish-control/PublishControl';
13
- export { default as CIIntegration } from '../components/modules/ci-integration/CIIntegration';
14
- export { default as ConfigInspector } from '../components/modules/config-inspector/ConfigInspector';
15
- export { default as ReleaseManager } from '../components/release-manager/ReleaseManager';
16
- export { default as Pipeline } from './PipelinePage';
17
-
18
- // Page wrapper components (recommended approach)
19
- export { default as DashboardPage } from './DashboardPage';
20
- export { default as PackagesPage } from './PackagesPage';
21
- export { default as PackageDetailPage } from './PackageDetailPage';
22
- export { default as DependenciesPage } from './DependenciesPage';
23
- export { default as HealthPage } from './HealthPage';
24
- export { default as PublishPage } from './PublishPage';
25
- export { default as CIPage } from './CIPage';
26
- export { default as ConfigPage } from './ConfigPage';
27
- export { default as ReleaseManagerPage } from './ReleaseManagerPage';
28
- export { default as PipelinePage } from './PipelinePage';
@@ -1,89 +0,0 @@
1
- import { Routes, Route } from 'react-router-dom';
2
- import { routes } from './routes.config';
3
- import {
4
- Dashboard,
5
- PackagesOverview,
6
- PackageDetail,
7
- DependencyGraph,
8
- HealthStatus,
9
- PublishControl,
10
- CIIntegration,
11
- ConfigInspector,
12
- ReleaseManager,
13
- Pipeline,
14
- } from '../pages';
15
-
16
- // Component mapping for dynamic routing
17
- const componentMap = {
18
- Dashboard,
19
- PackagesOverview,
20
- PackageDetail,
21
- DependencyGraph,
22
- HealthStatus,
23
- PublishControl,
24
- CIIntegration,
25
- ConfigInspector,
26
- ReleaseManager,
27
- Pipeline,
28
- } as const;
29
-
30
- // Route component renderer
31
- const RouteComponent = ({ componentName }: { componentName: string }) => {
32
- const Component = componentMap[componentName as keyof typeof componentMap];
33
-
34
- if (!Component) {
35
- return (
36
- <div className="flex items-center justify-center h-64">
37
- <div className="text-center">
38
- <h2 className="text-xl font-semibold text-gray-900 mb-2">
39
- Page Not Found
40
- </h2>
41
- <p className="text-gray-600">
42
- The requested page could not be found.
43
- </p>
44
- </div>
45
- </div>
46
- );
47
- }
48
-
49
- return <Component />;
50
- };
51
-
52
- // Main AppRouter component
53
- export default function AppRouter() {
54
- return (
55
- <Routes>
56
- {routes.map(route => (
57
- <Route
58
- key={route.path}
59
- path={route.path}
60
- element={<RouteComponent componentName={route.component} />}
61
- />
62
- ))}
63
-
64
- {/* Catch-all route for 404 */}
65
- <Route
66
- path="*"
67
- element={
68
- <div className="flex items-center justify-center h-64">
69
- <div className="text-center">
70
- <div className="text-gray-400 text-6xl mb-4">🔍</div>
71
- <h2 className="text-xl font-semibold text-gray-900 mb-2">
72
- 404 - Page Not Found
73
- </h2>
74
- <p className="text-gray-600 mb-4">
75
- The page you're looking for doesn't exist or has been moved.
76
- </p>
77
- <a
78
- href="/"
79
- className="text-blue-600 hover:text-blue-500 font-medium"
80
- >
81
- Go back to Dashboard
82
- </a>
83
- </div>
84
- </div>
85
- }
86
- />
87
- </Routes>
88
- );
89
- }
@@ -1,56 +0,0 @@
1
- import { Routes, Route } from 'react-router-dom';
2
- import {
3
- DashboardPage,
4
- PackagesPage,
5
- PackageDetailPage,
6
- DependenciesPage,
7
- HealthPage,
8
- PublishPage,
9
- CIPage,
10
- ConfigPage,
11
- } from '../pages';
12
-
13
- // Alternative AppRouter using dedicated page components
14
- export default function AppRouterPages() {
15
- return (
16
- <Routes>
17
- {/* Main Dashboard */}
18
- <Route path="/" element={<DashboardPage />} />
19
-
20
- {/* Packages */}
21
- <Route path="/packages" element={<PackagesPage />} />
22
- <Route path="/packages/:name" element={<PackageDetailPage />} />
23
-
24
- {/* Other Pages */}
25
- <Route path="/dependencies" element={<DependenciesPage />} />
26
- <Route path="/health" element={<HealthPage />} />
27
- {/* <Route path="/publish" element={<PublishPage />} />
28
- <Route path="/ci" element={<CIPage />} /> */}
29
- <Route path="/config" element={<ConfigPage />} />
30
-
31
- {/* 404 Page */}
32
- <Route
33
- path="*"
34
- element={
35
- <div className="flex items-center justify-center h-64">
36
- <div className="text-center">
37
- <div className="text-gray-400 text-6xl mb-4">🔍</div>
38
- <h2 className="text-xl font-semibold text-gray-900 mb-2">
39
- 404 - Page Not Found
40
- </h2>
41
- <p className="text-gray-600 mb-4">
42
- The page you're looking for doesn't exist or has been moved.
43
- </p>
44
- <a
45
- href="/"
46
- className="text-blue-600 hover:text-blue-500 font-medium"
47
- >
48
- Go back to Dashboard
49
- </a>
50
- </div>
51
- </div>
52
- }
53
- />
54
- </Routes>
55
- );
56
- }
@@ -1,10 +0,0 @@
1
- // Export routing components and configuration
2
- export { default as AppRouter } from './AppRouter';
3
- export { default as AppRouterPages } from './AppRouterPages';
4
- export {
5
- routes,
6
- navigationRoutes,
7
- getRouteByName,
8
- getRouteByPath,
9
- } from './routes.config';
10
- export type { RouteConfig } from './routes.config';