Commit graph

422 commits

Author SHA1 Message Date
Janus C. H. Knudsen
a43b2efdca Creates comprehensive UI layout for Salon OS
Develops a responsive and feature-rich HTML layout with custom styling for the Salon OS application

Includes key UI components:
- Side navigation menu
- Top bar with search and profile actions
- Responsive theme switching
- Placeholder content for dashboard
- Detailed CSS design system with light/dark modes

Provides foundational structure for application interface
2025-12-30 08:20:28 +01:00
Janus C. H. Knudsen
1718d4d5a1 Adds dark mode support and responsive design
Introduces system and manual dark mode toggles across multiple pages
Implements consistent theming with CSS variables
Enhances user experience with responsive layout adjustments
2025-12-30 00:36:01 +01:00
Janus C. H. Knudsen
da5d9df274 Adds product management HTML prototypes
Creates two new HTML prototypes for product management interface:
- Detailed product view with comprehensive management features
- Product listing page with search and filtering capabilities

Implements responsive design with custom web components
2025-12-29 22:13:52 +01:00
Janus C. H. Knudsen
b5d5cfdf33 Redesigns cash reconciliation overview page
Refactors the cash reconciliation list view with improved UI and UX

Adds period display and filtering capabilities
Introduces table with enhanced status and period tracking
Implements SAF-T export functionality for selected reconciliations
2025-12-29 17:14:11 +01:00
Janus C. H. Knudsen
1acab8c049 Adds proof-of-concept cash reconciliation HTML page
Creates a detailed HTML prototype for cash reconciliation process
Includes comprehensive UI components for tracking daily cash operations
Implements interactive calculations and user input validation for cash counting
2025-12-29 15:10:20 +01:00
Janus C. H. Knudsen
97d4b259e7 Adds Poppins font and updates typography across pages
Replaces default system font with locally hosted Poppins font
Adds @font-face definitions for multiple font weights
Updates global font-family across various HTML pages

Improves typography consistency and performance by using local font files
2025-12-29 13:47:09 +01:00
Janus C. H. Knudsen
6c3662f571 Adds employee revenue and utilization chart
Updates package dependencies and charts for employee performance visualization

Includes:
- Upgrade to latest charting library version
- New chart displaying revenue and utilization metrics
- Forecast and actual data visualization with dual axis support
2025-12-28 23:31:31 +01:00
Janus C. H. Knudsen
85b006e0d6 Enhances service management UI with dynamic pricing controls
Adds interactive price and duration adjustment for services
Introduces visual indicators for overridden service values
Improves editing experience with responsive and intuitive controls

Implements granular service modifications with strikethrough and highlight effects
2025-12-27 22:54:46 +01:00
Janus C. H. Knudsen
439903fda4 Adds comprehensive services management for employees
Introduces advanced drag-and-drop services selection interface with dynamic filtering and editing capabilities

Enables employees to:
- Customize service list with multi-select and drag functionality
- Search and filter available services
- Override individual service prices and durations
- Manage services across expandable panel

Supports responsive and interactive service management workflow
2025-12-27 12:18:23 +01:00
Janus C. H. Knudsen
e86948a984 Upgrades charting library and adds employee details page
Updates @sevenweirdpeople/swp-charting package to latest version (0.1.7)

Adds comprehensive employee details page with multiple tabs and interactive components including:
- Detailed employee profile information
- Work schedule and availability tracking
- Services and specialties management
- Salary and performance statistics

Integrates advanced charting capabilities for visualizing employee data
2025-12-26 14:05:56 +01:00
Janus C. H. Knudsen
2fcdbf3bc3 Adds closed day functionality to work schedule
Enhances schedule UI with closed day feature
- Adds visual styling for closed days
- Implements interactive day header toggling
- Introduces closed day state for schedule columns

Supports better schedule management for holidays and days off
2025-12-25 19:15:08 +01:00
Janus C. H. Knudsen
83723c170f Enhances service detail and employee selection UI
Improves employee selection with checkbox interaction
Adds visual refinements to employee and availability sections
Updates styling for employee levels and selection states
Removes unnecessary consent form toggle
2025-12-25 15:58:42 +01:00
Janus C. H. Knudsen
35c30c058d wip 2025-12-23 09:53:31 +01:00
Janus C. H. Knudsen
9f46ff8824 Enhances UI with drag-and-drop card functionality
Adds drag and drop interaction for rearranging cards on the customer and service detail pages

Improves user experience by allowing flexible card positioning
Implements dynamic drop indicators and column management
Supports intuitive card movement between columns
2025-12-23 09:32:49 +01:00
Janus C. H. Knudsen
7965e8e753 Revamps Journal and Activity UI with new components
Introduces comprehensive styling and interaction for:
- Journal mini-tabs and entry layouts
- New activity timeline and filtering
- Responsive and visually enhanced UI components

Improves customer detail page with modern design patterns
2025-12-22 18:19:36 +01:00
Janus C. H. Knudsen
9c77d1f556 Refactors customer detail and list page components
Enhances UI/UX with more dynamic toggle sliders
Improves tag management and interaction
Updates marketing consent toggles with new design

Adds more interactive customer information display
2025-12-22 15:00:38 +01:00
Janus C. H. Knudsen
0233e283e5 Adds customer list page with advanced search and filtering
Implements comprehensive customer management interface with:
- Dynamic table with sorting and search capabilities
- Responsive customer card panel with detailed profile information
- Interactive filtering and search functionality
- Modern, clean UI design with custom web components

Enhances user experience for customer data exploration and management
2025-12-22 13:14:56 +01:00
Janus C. H. Knudsen
b408b83cac Adds analysis tab and panel to journal interface
Introduces new analysis functionality for hair and scalp tracking
Adds dynamic preview, form interactions, and styling for analysis entries
Enables users to log detailed hair and scalp condition assessments
2025-12-21 22:34:23 +01:00
Janus C. H. Knudsen
99cd1c532f Adds new note creation panel to journal section
Introduces a flexible 'Add Note' panel for customer journals with:
- Configurable note tags
- Visibility and marking options
- Interactive UI for note creation

Improves user experience for salon staff note management
2025-12-21 21:02:06 +01:00
Janus C. H. Knudsen
db4e8b7380 Enhances customer details and journal UI components
Adds new customer panel with detailed profile and revenue visualization
Implements journal panel with historical entries and interaction
Introduces new SVG icons for improved user interface

Adds @sevenweirdpeople/swp-charting for customer revenue chart
2025-12-21 12:23:49 +01:00
Janus C. H. Knudsen
23eb582ad3 Refactors UI styles with typography and color updates
Applies JetBrains Mono font across key components
Updates color scheme to use consistent teal palette
Adjusts font sizes and weights for improved readability

Enhances visual design tokens and styling for drawer components
2025-12-19 21:08:24 +01:00
Janus C. H. Knudsen
1b0ef74551 Enhances cart and payment interaction UI
Adds interactive cart item editing with expandable sections
Introduces dynamic discount calculation and display
Implements giftcard lookup and balance tracking functionality

Improves user experience with smooth transitions and more flexible item management
2025-12-19 18:21:55 +01:00
Janus C. H. Knudsen
e09048742c Adds checkout proof of concept with payment UI
Creates a responsive and interactive checkout prototype demonstrating a comprehensive payment flow

Includes:
- Multi-method payment selection
- Dynamic cart and total calculation
- Intuitive user interface for transaction management
2025-12-19 15:47:27 +01:00
Janus C. H. Knudsen
e0419f1f61 Adds proof-of-concept checkout page prototype
Creates an interactive HTML-based checkout overlay with dynamic cart functionality

Implements features:
- Product catalog with search capability
- Add/remove cart items
- Total price calculation
- Responsive design with modern UI components
2025-12-18 15:30:53 +01:00
Janus C. H. Knudsen
f6ccacd938 first take på 2025-12-18 14:52:06 +01:00
Janus C. H. Knudsen
d976d31f14 Enhances navigation animation with header drawer support
Updates NavigationAnimator to animate header drawer during slide transitions

Adds optional header drawer animation to improve UI consistency when navigating between views
2025-12-18 00:19:43 +01:00
Janus C. H. Knudsen
fa2eb66fb2 Refactor calendar navigation with flexible day offsets
Improves date navigation by introducing dynamic period-based offsets for calendar views

Replaces week-based navigation with more flexible day offsets that support:
- Single-day and multi-day navigation
- Configurable work week presets with different period lengths
- More granular control over date range selection

Adds support for dynamic navigation periods through workweek preset configuration
2025-12-18 00:11:45 +01:00
Janus C. H. Knudsen
863b433eba Refactors calendar project structure and build configuration
Consolidates V2 codebase into main project directory
Updates build script to support simplified entry points
Removes redundant files and cleans up project organization

Simplifies module imports and entry points for calendar application
2025-12-17 23:54:25 +01:00
Janus C. H. Knudsen
9f360237cf Refactor settings model to separate record-based approach
Restructures tenant settings to use individual records instead of a single document

Decouples settings sections into separate typed interfaces with unique IDs
Modifies data loading and service methods to support new record-based settings
Updates mock data and repository to align with new settings structure
2025-12-17 20:53:47 +01:00
Janus C. H. Knudsen
b2c81dc163 Refactor calendar event constants and imports
Separates calendar-specific events into a dedicated CalendarEvents constant
Removes calendar command events from CoreEvents
Updates imports and event bus references across related files
2025-12-17 19:41:11 +01:00
Janus C. H. Knudsen
66dfe9f2ef Adds resource filtering and view customization
Enhances calendar view with dynamic resource selection
Enables users to filter and customize calendar views by resources
Introduces new event for view updates and dynamic rendering

Supports flexible calendar view configuration
2025-12-17 18:37:32 +01:00
Janus C. H. Knudsen
8d938c721c Refactor calendar event handling with EventBus
Migrates calendar commands from DOM events to EventBus for better decoupling
Adds support for workweek change and simplified rendering commands
Removes direction parameter from render method for cleaner implementation
2025-12-17 18:09:54 +01:00
Janus C. H. Knudsen
3710bb50c0 Refactor calendar navigation to use event bus
Decouples calendar navigation from direct DOM events
Adds new event constants for calendar navigation commands
Updates CalendarApp to handle navigation via event bus
Simplifies navigation logic and improves event-driven architecture
2025-12-16 22:51:01 +01:00
Janus C. H. Knudsen
8161b3c42a Refactors calendar application architecture
Introduces CalendarApp as a reusable core component to centralize calendar rendering and navigation logic

Separates concerns between core application logic and demo implementation
Improves modularity and extensibility of calendar system
2025-12-16 22:37:35 +01:00
Janus C. H. Knudsen
7f9d0129bf Refactors calendar view configuration management
Decouples view configuration from DemoApp logic by:
- Introducing ViewConfigService and MockViewConfigRepository
- Moving view configuration to centralized JSON data
- Simplifying DemoApp rendering process

Improves separation of concerns and makes view configurations more maintainable
2025-12-16 17:13:27 +01:00
Janus C. H. Knudsen
6a56396721 Introduces CalendarApp with centralized event-driven rendering
Refactors calendar component initialization to a single, encapsulated entry point

Simplifies host application integration by:
- Centralizing complex setup in CalendarApp
- Implementing command-driven rendering via custom events
- Providing flexible, zero-knowledge calendar component
- Maintaining existing ViewConfig contract
2025-12-16 07:35:29 +01:00
Janus C. H. Knudsen
2c1af56718 Enhances resource selector visibility and filtering
Updates resource selection to dynamically use selected resource IDs
Improves selector visibility logic to show in day and picker views
2025-12-15 23:16:14 +01:00
Janus C. H. Knudsen
ee46593a5a Adds dynamic header hiding for date groupings
Introduces hideHeader option for date grouping configurations
Enables suppressing date headers in specific views like day view
Improves calendar view flexibility by conditionally rendering headers
2025-12-15 22:53:44 +01:00
Janus C. H. Knudsen
ad2df353b5 Adds workweek settings and dynamic view configuration
Introduces settings service for managing tenant-specific calendar configurations

Enables dynamic workweek presets with configurable work days
Improves view switching with enhanced UI components
Adds flexible calendar rendering based on tenant settings

Extends DateService to support workweek date generation
2025-12-15 22:24:32 +01:00
Janus C. H. Knudsen
58cedb9fad Improves column key extraction in header drawer
Enhances column key retrieval to use consistent key format
Adds null check for filter template to prevent potential errors
Uses buildKeyFromColumn() for more robust key generation
2025-12-15 21:25:01 +01:00
Janus C. H. Knudsen
9777f463b5 Refines grid and viewport layout for scrolling
Improves CSS grid configuration to ensure proper scrolling and content display

Adds grid template columns and width constraints for better responsive behavior
Ensures consistent overflow and layout management across viewport components
2025-12-15 20:38:39 +01:00
Janus C. H. Knudsen
f20b8a47fa Syncs header drawer scroll with calendar header
Adds horizontal scrolling synchronization for header drawer
Ensures consistent horizontal scroll positioning for header components
2025-12-15 20:02:38 +01:00
Janus C. H. Knudsen
570c91527a Adds department view to calendar application
Introduces department-level grouping and rendering in the calendar view

Extends the application to support:
- Department-based resource filtering
- Dynamic department header rendering
- Mock department data infrastructure

Enables more granular organizational views
2025-12-15 18:23:08 +01:00
Janus C. H. Knudsen
d4249eecfb Adds hierarchical grouping and entity resolution support
Enhances calendar rendering with dynamic parent-child relationships between entities

Introduces EntityResolver for dot-notation references
Supports belongsTo configuration in grouping
Implements flexible filtering across hierarchical entities

Improves rendering flexibility for complex organizational structures
2025-12-15 17:10:43 +01:00
Janus C. H. Knudsen
dd647acab8 Implements FilterTemplate system for event matching
Introduces flexible key-based filtering for calendar events across different view configurations

Adds new FilterTemplate class to:
- Define event matching rules based on view configuration
- Support multi-level grouping (team/resource/date)
- Handle dynamic key generation for columns and events

Enhances view configuration with explicit id properties and derived fields
2025-12-15 00:33:27 +01:00
Janus C. H. Knudsen
c2f7564f8e Refactor column key handling and event positioning
Introduces more robust column key management across renderers and drag/resize operations

Decouples column key parsing from date extraction
Simplifies event positioning logic
Improves multi-resource view compatibility
2025-12-13 12:52:27 +01:00
Janus C. H. Knudsen
0eb3bacb41 Introduces uniform column key concept for calendar events
Refactors column identification with a new buildColumnKey method to support flexible date and resource tracking

Replaces separate dateKey and resourceId handling with a unified columnKey approach
Improves column rendering and event management with more consistent key generation
Simplifies cross-component event tracking and column lookups
2025-12-13 11:46:57 +01:00
Janus C. H. Knudsen
7da88bb977 Improves header drag-and-drop event handling
Enhances drag leave logic for more precise event tracking
- Adds conditional cleanup for grid-to-header drag events
- Updates drag state management during column transitions
- Prevents premature ghost element removal
2025-12-12 15:48:28 +01:00
Janus C. H. Knudsen
bc5854e09a Enhance drag and drop interactions across calendar views
Adds support for dragging events between header and grid views
Improves drag-and-drop state management and event persistence
Enables converting all-day events to timed events when dropped in grid

Refactors drag handling to support more flexible event interactions
2025-12-12 00:36:10 +01:00
Janus C. H. Knudsen
f7f1f8afe0 Improves header drawer layout and drag behavior
Implements dynamic item positioning and layout recalculation for header drawer

- Adds ISO date tracking for header items
- Introduces dynamic row allocation algorithm
- Updates drawer expansion logic during drag operations
- Calculates and adjusts drawer height based on item tracks
2025-12-11 23:56:20 +01:00