Stephanie Gredell
ee265eebf3
add routing and redirection to failure/success pages. Fix RPS calculations
4 months ago
Stephanie Gredell
44fce817ef
reroute on success/failure
4 months ago
Stephanie Gredell
a69074cf26
remove info panel
4 months ago
Stephanie Gredell
e628fb4cae
hide resources tab
4 months ago
Stephanie Gredell
8e4e1ad2fd
add beta pill
4 months ago
Stephanie Gredell
93be4af83d
modify homepage login state
4 months ago
Stephanie Gredell
1623c55fe0
fix simulation for url shortener, remove unused properties
4 months ago
Stephanie Gredell
8ddc2af15b
canvas state
5 months ago
Stephanie Gredell
5259d3f44b
Add in canvas state machine
5 months ago
Stephanie Gredell
e826ba761a
Clean up console.log
5 months ago
Stephanie Gredell
1f794021dc
Refactor to using the Commander pattern
5 months ago
Stephanie Gredell
03cdcbe767
conform to observer pattern
5 months ago
Stephanie Gredell
8937943c7b
fix node properties positioning
5 months ago
Stephanie Gredell
5cb4052c49
Simplify levels and adjust routes to use level id instead of level name
5 months ago
Stephanie Gredell
be872a8300
fix: Clean up game.html template structure
...
Remove duplicate and unused template sections that were causing
rendering issues. This cleanup improves template organization
and eliminates potential conflicts in the game interface.
5 months ago
Stephanie Gredell
39b8a0e1b3
refactor: Modernize CSS with nested selectors and improved styling
...
Major CSS improvements:
- Refactor to use modern nested selector syntax for better maintainability
- Add comprehensive chat interface styling with animations
- Improve component hover states and interactive feedback
- Add loading indicators and smooth transitions
- Better organization of styles with logical grouping
- Enhanced visual hierarchy and accessibility
This modernizes the frontend styling while maintaining existing
functionality and improving code maintainability.
5 months ago
Stephanie Gredell
9bfe098efe
feat: Add frontend template components
...
Add modular HTML templates for better code organization:
- canvas.html: Game canvas and component palette interface
- challenges.html: Challenge selection and requirements panel
- chat.html: Chat interface with WebSocket support structure
- header.html: Reusable header component
These templates provide a foundation for a more modular
frontend architecture and improved user interface.
5 months ago
Stephanie Gredell
c7e0307f08
feat: Complete simulation engine with 10 components and level validation
...
COMPLETE SIMULATION SYSTEM IMPLEMENTATION
## New Simulation Components (7 added):
- Database: Read/write latency, replication overhead, RPS capacity
- Cache: In-memory caching with LRU/LFU/FIFO/Random eviction policies
- Message Queue: FIFO processing, retention, backpressure, processing rate
- Microservice: Auto-scaling, resource capacity, load balancing across instances
- Monitoring/Alerting: Multi-metric alerting (latency, errors, queue size)
- Third Party Service: External API reliability, rate limiting, failure modeling
- Data Pipeline: Batch processing with 10 transformation types
## Enhanced Existing Components:
- Web Server: Fixed property naming (rpsCapacity)
- CDN: Fixed property naming (ttl)
- Load Balancer: Maintained existing functionality
- Engine: Added smart topology-based entry point detection
## Level Validation System:
- Complete pass/fail game mechanics with scoring (0-100)
- Performance validation: throughput, latency, availability, cost
- Component validation: mustInclude, mustNotInclude, minReplicas
- Detailed feedback with specific requirement failures
- Smart scoring with performance bonuses
## Frontend Integration:
- Real simulation execution (replaced mock data)
- Level information extraction from URL paths
- Rich results display with pass/fail feedback
- Automatic entry node detection from design topology
## Infrastructure Updates:
- Design Schema: Added missing properties, fixed coordinate precision (float64)
- Authentication: GitHub OAuth protection for all game routes
- Error Handling: Comprehensive validation and user feedback
- Testing: 78 tests covering all components and integration scenarios
## Technical Achievements:
- 100% simulation component coverage (10/10 components)
- Realistic performance modeling for all component types
- Discrete-event simulation with proper state management
- Production-ready code without emojis
- Comprehensive test suite with integration testing
## Breaking Changes:
- Position coordinates now use float64 for precision
- /simulate endpoint now requires authentication
- Request/response format updated for level validation
This completes the core simulation engine implementation and enables
a complete educational game experience for learning system design.
5 months ago
Stephanie Gredell
2c8ea2f31d
refactoring
7 months ago
Stephanie Gredell
df5fc0d299
Revert "moving styles around"
...
This reverts commit 13c035a0c6 .
7 months ago
Stephanie Gredell
8879ded290
Revert "more frontend changes"
...
This reverts commit 26667c2543 .
7 months ago
Stephanie Gredell
26667c2543
more frontend changes
7 months ago
Stephanie Gredell
13c035a0c6
moving styles around
7 months ago
Stephanie Gredell
7ea8d41976
WIP but saving this anyways
7 months ago
Stephanie Gredell
65f19be0b5
add github login
7 months ago
Stephanie Gredell
15a0c60a68
create play route, render requirements for level
7 months ago
Stephanie Gredell
d4a0ab51bd
bit of clean up
7 months ago
Stephanie Gredell
ec3d5b8bf0
fix types, integrated challenges into ui, created levels and tests
7 months ago
Stephanie Gredell
bb6eb54665
minor adjustments to payloads
7 months ago
Stephanie Gredell
9087d64a2a
add monitoring/alerting and third party service plugin
7 months ago
Stephanie Gredell
fb57b8c0a5
add microservice and cdn plugins
7 months ago
Stephanie Gredell
ed3705a9de
major refactor to plugin architecture; some plugins still need to be added
7 months ago
Stephanie Gredell
880f28bb03
add cache options
7 months ago
Stephanie Gredell
8a052c460b
add webserver options to props panel and condense down to just one webserver option vs having 2 options
7 months ago
Stephanie Gredell
f9487ce24d
delete old game file, fix duplicate nodes bug when exporting design
7 months ago
Stephanie Gredell
32ce500588
add connection tls, connection modal
7 months ago
Stephanie Gredell
3004899e2a
Move connection click logic to connection.js
7 months ago
Stephanie Gredell
d738e088d9
fix arrow following node. caused by typo
7 months ago
Stephanie Gredell
c4c863095c
initial protocol prototype - to be enhanced
7 months ago
Stephanie Gredell
8533cf3ca8
add position to payload and update on dragging nodes
7 months ago
Stephanie Gredell
221b16e4a9
arrow toggling, load via starting the server
7 months ago
Stephanie Gredell
43cf2f0e8d
Fix hero styling
7 months ago
Stephanie Gredell
4b791a1fda
change the cost text
7 months ago
Stephanie Gredell
d6246545d7
initial commit
7 months ago