mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 05:31:09 -05:00
feat: Add PrimeProgress, PrimeSelect, and PrimeSkeleton components with customizable styles and props
- Implemented PrimeProgress component with support for labels, helper text, and various styles (size, variant, color). - Created PrimeSelect component with dropdown functionality, custom templates, and validation states. - Developed PrimeSkeleton component for loading placeholders with different shapes and animations. - Updated index.ts to export new components for easy import. - Enhanced PrimeVueTest.vue to include tests for new components and their functionalities. - Introduced a custom ThrillWiki theme for PrimeVue with tailored color schemes and component styles. - Added ambient type declarations for various components to improve TypeScript support.
This commit is contained in:
@@ -4,7 +4,30 @@ Local development settings for thrillwiki project.
|
||||
|
||||
from ..settings import database
|
||||
import logging
|
||||
from .base import * # noqa: F403
|
||||
from .base import (
|
||||
BASE_DIR,
|
||||
INSTALLED_APPS,
|
||||
MIDDLEWARE,
|
||||
STATIC_ROOT,
|
||||
STATIC_URL,
|
||||
ROOT_URLCONF,
|
||||
AUTH_PASSWORD_VALIDATORS,
|
||||
AUTH_USER_MODEL,
|
||||
TEMPLATES,
|
||||
SECRET_KEY,
|
||||
SPECTACULAR_SETTINGS,
|
||||
REST_FRAMEWORK,
|
||||
)
|
||||
|
||||
SECRET_KEY = SECRET_KEY
|
||||
SPECTACULAR_SETTINGS = SPECTACULAR_SETTINGS
|
||||
REST_FRAMEWORK = REST_FRAMEWORK
|
||||
TEMPLATES = TEMPLATES
|
||||
ROOT_URLCONF = ROOT_URLCONF
|
||||
AUTH_PASSWORD_VALIDATORS = AUTH_PASSWORD_VALIDATORS
|
||||
AUTH_USER_MODEL = AUTH_USER_MODEL
|
||||
STATIC_ROOT = STATIC_ROOT
|
||||
STATIC_URL = STATIC_URL
|
||||
|
||||
# Import database configuration
|
||||
DATABASES = database.DATABASES
|
||||
@@ -64,7 +87,6 @@ CSRF_COOKIE_SECURE = False
|
||||
# Development monitoring tools
|
||||
DEVELOPMENT_APPS = [
|
||||
"silk",
|
||||
"debug_toolbar",
|
||||
"nplusone.ext.django",
|
||||
"django_extensions",
|
||||
"widget_tweaks",
|
||||
@@ -78,7 +100,6 @@ for app in DEVELOPMENT_APPS:
|
||||
# Development middleware
|
||||
DEVELOPMENT_MIDDLEWARE = [
|
||||
"silk.middleware.SilkyMiddleware",
|
||||
"debug_toolbar.middleware.DebugToolbarMiddleware",
|
||||
"nplusone.ext.django.NPlusOneMiddleware",
|
||||
"core.middleware.performance_middleware.PerformanceMiddleware",
|
||||
"core.middleware.performance_middleware.QueryCountMiddleware",
|
||||
|
||||
Reference in New Issue
Block a user