OpenRDX

Components

This document provides detailed information about the components used in the OSS Frontend application.

Core Components

AppComponent

The root component that bootstraps the application.

Features:

HeaderComponent

The main header component that appears on all pages.

Features:

SidebarComponent

The main navigation sidebar.

Features:

Feature Components

Device Management

NasListComponent

Displays a list of NAS devices.

Features:

NasFormComponent

Form for creating and editing NAS devices.

Features:

SwitchListComponent

Displays a list of switches.

Features:

User Management

UserListComponent

Displays a list of users.

Features:

UserFormComponent

Form for creating and editing users.

Features:

Group Management

GroupListComponent

Displays a list of groups.

Features:

GroupFormComponent

Form for creating and editing groups.

Features:

Shared Components

DataTableComponent

Reusable data table component.

Features:

FormFieldComponent

Reusable form field component.

Features:

ModalComponent

Reusable modal dialog component.

Features:

NotificationComponent

Reusable notification component.

Features:

Utility Components

LoadingSpinnerComponent

Displays a loading spinner.

Features:

ErrorMessageComponent

Displays error messages.

Features:

ConfirmationDialogComponent

Displays confirmation dialogs.

Features:

Component Architecture

Component Structure

src/app/
├── core/
│   ├── components/
│   │   ├── header/
│   │   ├── sidebar/
│   │   └── footer/
├── features/
│   ├── devices/
│   │   ├── components/
│   │   │   ├── nas-list/
│   │   │   ├── nas-form/
│   │   │   ├── switch-list/
│   │   │   └── switch-form/
│   ├── users/
│   │   ├── components/
│   │   │   ├── user-list/
│   │   │   └── user-form/
└── shared/
    ├── components/
    │   ├── data-table/
    │   ├── form-field/
    │   └── modal/

Component Communication

Component Lifecycle

Best Practices

Component Design

Performance

Accessibility

Testing

Core Service (Rust)

Backend Service (Django)

Frontend Service (Angular)

Nginx Reverse Proxy

PostgreSQL

MongoDB

Redis