Skip to content

Commit 9d0f5c6

Browse files
committed
feat: Add and integrate Architecture and Platform modules into the application.
1 parent 93142ec commit 9d0f5c6

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/App.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import { NavigationProvider, ConsoleProvider, useNavigation, isModuleView } from './contexts';
77
import { Layout, ModuleHub, ModuleTabs } from './components';
8-
import { GCModule, ThreadsModule, JITModule, JMMModule, StaticModule } from './features';
8+
import { GCModule, ThreadsModule, JITModule, JMMModule, StaticModule, ArchitectureModule, PlatformModule } from './features';
99
import type { ModuleId } from './types';
1010

1111
/**
@@ -26,6 +26,8 @@ function ModuleRenderer() {
2626
jit: JITModule,
2727
jmm: JMMModule,
2828
static: StaticModule,
29+
architecture: ArchitectureModule,
30+
platform: PlatformModule,
2931
};
3032

3133
const ModuleComponent = moduleComponents[currentView];

src/contexts/ConsoleContext.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ const createInitialState = (): ModuleConsoleState => ({
2020
jit: [],
2121
jmm: [],
2222
static: [],
23+
architecture: [],
24+
platform: [],
2325
});
2426

2527
interface ConsoleProviderProps {

src/features/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ export { ThreadsModule } from './threads';
33
export { JITModule } from './jit';
44
export { JMMModule } from './jmm';
55
export { StaticModule } from './static';
6+
export { ArchitectureModule } from './architecture';
7+
export { PlatformModule } from './platform';

0 commit comments

Comments
 (0)