- Implemented project status functionality in `project_status.ts` to provide visual feedback based on the current project state. - Created a new `project_dropdowns.ts` file to handle rendering of project dropdowns with appropriate options based on project existence and status. - Added utility functions in `settings.js` for managing application settings, including boolean and number conversions. - Introduced unit tests for route utilities in `test_route_utils.py` to ensure proper authentication and rate limiting behavior. - Defined constants for UI panel settings in `panel_constants.ts` to standardize configuration options across the UI. - Enhanced UI helper functions in `panel_helpers.ts` for consistent styling and layout of form elements.
21 lines
504 B
Python
21 lines
504 B
Python
"""
|
|
Majoor Project Settings (standalone).
|
|
Frontend + API only (no nodes).
|
|
"""
|
|
|
|
WEB_DIRECTORY = "./web/js"
|
|
|
|
if __package__:
|
|
from .server import ( # noqa: F401
|
|
model_downloader_routes,
|
|
model_fixer_routes,
|
|
model_registry_routes,
|
|
project_routes,
|
|
)
|
|
|
|
# Required to keep ComfyUI from skipping this extension (no nodes on purpose).
|
|
NODE_CLASS_MAPPINGS = {}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {}
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|