Add USB, Notifications, Network plugins and reusable EmployeeSearch component
New Plugins: - USB plugin: Device checkout/checkin with employee lookup, checkout history - Notifications plugin: Announcements with types, scheduling, shopfloor display - Network plugin: Network device management with subnets and VLANs - Equipment and Computers plugins: Asset type separation Frontend: - EmployeeSearch component: Reusable employee lookup with autocomplete - USB views: List, detail, checkout/checkin modals - Notifications views: List, form with recognition mode - Network views: Device list, detail, form - Calendar view with FullCalendar integration - Shopfloor and TV dashboard views - Reports index page - Map editor for asset positioning - Light/dark mode fixes for map tooltips Backend: - Employee search API with external lookup service - Collector API for PowerShell data collection - Reports API endpoints - Slides API for TV dashboard - Fixed AppVersion model (removed BaseModel inheritance) - Added checkout_name column to usbcheckouts table Styling: - Unified detail page styles - Improved pagination (page numbers instead of prev/next) - Dark/light mode theme improvements Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -69,6 +69,7 @@ def register_blueprints(app: Flask):
|
||||
"""Register core API blueprints."""
|
||||
from .core.api import (
|
||||
auth_bp,
|
||||
assets_bp,
|
||||
machines_bp,
|
||||
machinetypes_bp,
|
||||
pctypes_bp,
|
||||
@@ -82,11 +83,16 @@ def register_blueprints(app: Flask):
|
||||
applications_bp,
|
||||
knowledgebase_bp,
|
||||
search_bp,
|
||||
reports_bp,
|
||||
collector_bp,
|
||||
employees_bp,
|
||||
slides_bp,
|
||||
)
|
||||
|
||||
api_prefix = '/api'
|
||||
|
||||
app.register_blueprint(auth_bp, url_prefix=f'{api_prefix}/auth')
|
||||
app.register_blueprint(assets_bp, url_prefix=f'{api_prefix}/assets')
|
||||
app.register_blueprint(machines_bp, url_prefix=f'{api_prefix}/machines')
|
||||
app.register_blueprint(machinetypes_bp, url_prefix=f'{api_prefix}/machinetypes')
|
||||
app.register_blueprint(pctypes_bp, url_prefix=f'{api_prefix}/pctypes')
|
||||
@@ -100,6 +106,10 @@ def register_blueprints(app: Flask):
|
||||
app.register_blueprint(applications_bp, url_prefix=f'{api_prefix}/applications')
|
||||
app.register_blueprint(knowledgebase_bp, url_prefix=f'{api_prefix}/knowledgebase')
|
||||
app.register_blueprint(search_bp, url_prefix=f'{api_prefix}/search')
|
||||
app.register_blueprint(reports_bp, url_prefix=f'{api_prefix}/reports')
|
||||
app.register_blueprint(collector_bp, url_prefix=f'{api_prefix}/collector')
|
||||
app.register_blueprint(employees_bp, url_prefix=f'{api_prefix}/employees')
|
||||
app.register_blueprint(slides_bp, url_prefix=f'{api_prefix}/slides')
|
||||
|
||||
|
||||
def register_cli_commands(app: Flask):
|
||||
|
||||
Reference in New Issue
Block a user