-
Notifications
You must be signed in to change notification settings - Fork 41
feat: Add Collector Home page #447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
e675abc
a5141a5
42a04ce
6048e19
fdcf410
ad53a22
45dd82e
185f23a
6654a1a
dbb0c7e
35fd272
6e3864d
1cad8eb
23d4064
f126204
70a7c8e
638a1b4
c17ad8d
61c9911
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,8 +26,11 @@ const HomePage = lazy(() => | |
| const JavaAgentPage = lazy(() => | ||
| import("@/features/java-agent/java-agent-page").then((m) => ({ default: m.JavaAgentPage })) | ||
| ); | ||
| const CollectorPage = lazy(() => | ||
| import("@/features/collector/collector-page").then((m) => ({ default: m.CollectorPage })) | ||
| const CollectorPage = lazy(() => import("@/features/collector/collector-page")); | ||
| const CollectorComponentsPage = lazy(() => | ||
| import("@/features/collector/collector-components-page").then((m) => ({ | ||
| default: m.CollectorComponentsPage, | ||
| })) | ||
| ); | ||
| const CollectorDetailPage = lazy(() => | ||
| import("@/features/collector/collector-detail-page").then((m) => ({ | ||
|
|
@@ -91,40 +94,15 @@ export default function App() { | |
| path="/java-agent/instrumentation" | ||
| element={<JavaInstrumentationListPage />} | ||
| /> | ||
| <Route | ||
| path="/java-agent/instrumentation/:version" | ||
| element={<JavaInstrumentationListPage />} | ||
| /> | ||
| <Route | ||
| path="/java-agent/instrumentation/:version/:name" | ||
| element={<InstrumentationDetailPage />} | ||
| /> | ||
| <Route path="/java-agent/configuration" element={<JavaConfigurationListPage />} /> | ||
| {isEnabled("JAVA_RELEASE_COMPARISON") && ( | ||
| <Route path="/java-agent/releases" element={<JavaReleaseComparisonPage />} /> | ||
| )} | ||
| {isEnabled("JAVA_CONFIG_BUILDER") && ( | ||
| <Route | ||
| path="/java-agent/configuration/builder" | ||
| element={<ConfigurationBuilderPage />} | ||
| /> | ||
| )} | ||
| <Route path="/collector" element={<CollectorPage />} /> | ||
| {isEnabled("COLLECTOR_PAGE") && ( | ||
| <> | ||
| <Route path="/collector/components" element={<CollectorPage />} /> | ||
| <Route path="/collector/components/:version" element={<CollectorPage />} /> | ||
| <Route | ||
| path="/collector/components/:version/:id" | ||
| element={<CollectorDetailPage />} | ||
| /> | ||
| </> | ||
| )} | ||
| <Route path="/about" element={<AboutPage />} /> | ||
| <Route path="*" element={<NotFoundPage />} /> | ||
| </Routes> | ||
| </Suspense> | ||
| </ErrorBoundary> | ||
| )} | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Stray
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I missed this out while resolving the merge conflicts. Fixed it. |
||
| <Route path="/collector" element={<CollectorPage />} /> | ||
| <Route path="/collector/components" element={<CollectorComponentsPage />} /> | ||
| <Route path="/collector/components/:version" element={<CollectorComponentsPage />} /> | ||
| <Route path="/collector/components/:version/:id" element={<CollectorDetailPage />} /> | ||
| <Route path="/about" element={<AboutPage />} /> | ||
| <Route path="*" element={<NotFoundPage />} /> | ||
| </Routes> | ||
| </Suspense> | ||
|
vitorvasc marked this conversation as resolved.
Outdated
|
||
| </main> | ||
| <Footer /> | ||
| </div> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.