@exaudeus/workrail 0.6.1-beta.8 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/application/services/workflow-service.js +41 -11
- package/dist/cli.js +44 -0
- package/dist/config/feature-flags.d.ts +33 -0
- package/dist/config/feature-flags.js +106 -0
- package/dist/container.d.ts +2 -0
- package/dist/container.js +3 -0
- package/dist/mcp-server.js +31 -6
- package/package.json +1 -1
- package/web/assets/images/favicon-amber-16.png +0 -0
- package/web/assets/images/favicon-amber-32.png +0 -0
- package/web/assets/images/favicon-white-16-clean.png +0 -0
- package/web/assets/images/favicon-white-32-clean.png +0 -0
- package/web/assets/images/icon-amber-192.png +0 -0
- package/web/assets/images/icon-amber-512.png +0 -0
- package/web/assets/images/icon-amber.svg +27 -0
- package/web/assets/images/icon-white-192-clean.png +0 -0
- package/web/assets/images/icon-white-512-clean.png +0 -0
- package/web/assets/images/icon-white.svg +27 -0
- package/web/manifest.json +1 -1
- package/workflows/CHANGELOG-bug-investigation.md +167 -85
- package/workflows/documentation-update-workflow.json +334 -345
- package/workflows/examples/dashboard-template-workflow.json +176 -0
- package/workflows/systematic-bug-investigation-with-loops.backup-20251106-125543.json +751 -0
- package/workflows/systematic-bug-investigation-with-loops.json +727 -664
- package/web/ADAPTIVE_BACKGROUND_SYSTEM.md +0 -523
- package/web/BACKGROUND_ENHANCEMENTS.md +0 -419
- package/web/COMPONENT_LIBRARY.md +0 -755
- package/web/COMPONENT_MIGRATION_GUIDE.md +0 -537
- package/web/assets/images/favicon-white-16.png +0 -0
- package/web/assets/images/favicon-white-32.png +0 -0
- package/web/assets/images/icon-white-192.png +0 -0
- package/web/assets/images/icon-white-512.png +0 -0
- package/web/assets/images/icon-white.png +0 -0
- package/workflows/dashboard-template-workflow.json +0 -337
- package/workflows/deep-documentation-workflow.json +0 -0
- package/workflows/systemic-bug-investigation-with-loops.json +0 -645
|
@@ -1,419 +0,0 @@
|
|
|
1
|
-
# 🎨 Background Enhancement Implementation
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
This document describes the three new background enhancements added to Workrail's design system.
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## ✅ 1. Animated Grain Texture
|
|
9
|
-
|
|
10
|
-
**File:** `assets/background-effects.css`
|
|
11
|
-
|
|
12
|
-
### What It Does
|
|
13
|
-
Adds a subtle film grain texture that slowly moves across the screen, creating organic richness and depth.
|
|
14
|
-
|
|
15
|
-
### Technical Details
|
|
16
|
-
- **Opacity:** 2.5% (very subtle)
|
|
17
|
-
- **Pattern:** Repeating gradient lines creating grain effect
|
|
18
|
-
- **Animation:** 8-second loop with 10 steps (jumpy/film-like)
|
|
19
|
-
- **Blend Mode:** Overlay for natural integration
|
|
20
|
-
- **Z-index:** -1 (behind everything)
|
|
21
|
-
|
|
22
|
-
### Visual Effect
|
|
23
|
-
- Adds tactile texture without being distracting
|
|
24
|
-
- Creates a "premium" film-like quality
|
|
25
|
-
- Moves slowly to add subtle life
|
|
26
|
-
|
|
27
|
-
### CSS Snippet
|
|
28
|
-
```css
|
|
29
|
-
.bg-grain {
|
|
30
|
-
opacity: 0.025;
|
|
31
|
-
animation: grain 8s steps(10) infinite;
|
|
32
|
-
mix-blend-mode: overlay;
|
|
33
|
-
}
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
## ✅ 2. Time-of-Day Theming
|
|
39
|
-
|
|
40
|
-
**File:** `assets/time-of-day-theme.js`
|
|
41
|
-
|
|
42
|
-
### What It Does
|
|
43
|
-
Automatically adjusts orb colors based on the current time of day to create appropriate mood.
|
|
44
|
-
|
|
45
|
-
### Time Periods
|
|
46
|
-
|
|
47
|
-
#### 🌅 Morning (6 AM - 11 AM)
|
|
48
|
-
**Mood:** Energetic, warm, optimistic
|
|
49
|
-
- **Colors:** Orange, yellow, pink tones
|
|
50
|
-
- **Purpose:** Wake up, energize
|
|
51
|
-
|
|
52
|
-
#### ☀️ Afternoon (12 PM - 5 PM)
|
|
53
|
-
**Mood:** Balanced, productive, neutral
|
|
54
|
-
- **Colors:** Default palette (cyan, purple, pink, orange, green)
|
|
55
|
-
- **Purpose:** Maintain focus
|
|
56
|
-
|
|
57
|
-
#### 🌆 Evening (6 PM - 11 PM)
|
|
58
|
-
**Mood:** Cool, calm, winding down
|
|
59
|
-
- **Colors:** Blue, purple, cyan, indigo
|
|
60
|
-
- **Purpose:** Relax, transition
|
|
61
|
-
|
|
62
|
-
#### 🌙 Night (12 AM - 5 AM)
|
|
63
|
-
**Mood:** Deep, focused, contemplative
|
|
64
|
-
- **Colors:** Indigo, purple, deep blue
|
|
65
|
-
- **Purpose:** Late-night focus work
|
|
66
|
-
|
|
67
|
-
### Technical Details
|
|
68
|
-
- **Auto-detection:** Checks system time
|
|
69
|
-
- **Smooth transitions:** 3-second fade between themes
|
|
70
|
-
- **Check interval:** Every 10 minutes
|
|
71
|
-
- **No flicker:** Initial load has no transition
|
|
72
|
-
|
|
73
|
-
### API
|
|
74
|
-
```javascript
|
|
75
|
-
// Get current theme
|
|
76
|
-
WorkrailTimeTheme.getCurrentTheme()
|
|
77
|
-
|
|
78
|
-
// Force a specific theme
|
|
79
|
-
WorkrailTimeTheme.forceTheme('evening')
|
|
80
|
-
|
|
81
|
-
// Available themes
|
|
82
|
-
WorkrailTimeTheme.themes // { morning, afternoon, evening, night }
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## ✅ 3. Scroll Parallax
|
|
88
|
-
|
|
89
|
-
**File:** `assets/scroll-parallax.js`
|
|
90
|
-
|
|
91
|
-
### What It Does
|
|
92
|
-
Creates subtle 3D depth by moving background layers at different speeds when scrolling.
|
|
93
|
-
|
|
94
|
-
### Layer Speeds (slower = further back)
|
|
95
|
-
- **Orbs:** 0.15x scroll speed (furthest back, slowest)
|
|
96
|
-
- **Rails:** 0.25x scroll speed
|
|
97
|
-
- **Nodes:** 0.35x scroll speed
|
|
98
|
-
- **Particles:** 0.5x scroll speed (closest, fastest)
|
|
99
|
-
|
|
100
|
-
### Technical Details
|
|
101
|
-
- **Smooth interpolation:** Uses lerp (0.1 smoothness) for buttery scrolling
|
|
102
|
-
- **RAF-based:** 60fps animation loop
|
|
103
|
-
- **Passive listener:** Doesn't block scroll performance
|
|
104
|
-
- **Auto-caching:** Re-queries elements on demand
|
|
105
|
-
|
|
106
|
-
### Visual Effect
|
|
107
|
-
- Adds **perceived depth** to flat background
|
|
108
|
-
- Creates **3D space** illusion
|
|
109
|
-
- **Very subtle** - not overwhelming
|
|
110
|
-
- Enhances immersion
|
|
111
|
-
|
|
112
|
-
### API
|
|
113
|
-
```javascript
|
|
114
|
-
// Enable/disable
|
|
115
|
-
WorkrailParallax.enable()
|
|
116
|
-
WorkrailParallax.disable()
|
|
117
|
-
|
|
118
|
-
// Refresh elements after DOM changes
|
|
119
|
-
WorkrailParallax.refresh()
|
|
120
|
-
|
|
121
|
-
// Adjust speeds
|
|
122
|
-
WorkrailParallax.setConfig({
|
|
123
|
-
layers: {
|
|
124
|
-
orbs: { speed: 0.2 } // Make orbs move faster
|
|
125
|
-
}
|
|
126
|
-
})
|
|
127
|
-
|
|
128
|
-
// Check status
|
|
129
|
-
WorkrailParallax.isEnabled()
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
---
|
|
133
|
-
|
|
134
|
-
## 🎯 Combined Effect
|
|
135
|
-
|
|
136
|
-
When all three enhancements work together:
|
|
137
|
-
|
|
138
|
-
1. **Grain texture** adds organic richness
|
|
139
|
-
2. **Time-of-day colors** set the mood
|
|
140
|
-
3. **Scroll parallax** adds 3D depth
|
|
141
|
-
|
|
142
|
-
Result: A **living, breathing, context-aware background** that feels premium and thoughtful.
|
|
143
|
-
|
|
144
|
-
---
|
|
145
|
-
|
|
146
|
-
## 🔧 Configuration
|
|
147
|
-
|
|
148
|
-
### Disable Features Individually
|
|
149
|
-
|
|
150
|
-
#### Disable Grain
|
|
151
|
-
```javascript
|
|
152
|
-
document.querySelector('.bg-grain').style.display = 'none';
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
#### Disable Time Theming
|
|
156
|
-
```javascript
|
|
157
|
-
WorkrailTimeTheme.forceTheme('afternoon'); // Lock to one theme
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
#### Disable Parallax
|
|
161
|
-
```javascript
|
|
162
|
-
WorkrailParallax.disable();
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
---
|
|
166
|
-
|
|
167
|
-
## 📊 Performance Impact
|
|
168
|
-
|
|
169
|
-
- **Grain:** Minimal (CSS only)
|
|
170
|
-
- **Time Theming:** Negligible (checks every 10min)
|
|
171
|
-
- **Parallax:** Low (RAF + passive scroll, ~1-2% CPU)
|
|
172
|
-
|
|
173
|
-
**Overall:** Very performant. Uses `will-change`, GPU acceleration, and passive listeners.
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
## 🎨 Design Philosophy
|
|
178
|
-
|
|
179
|
-
These enhancements follow Workrail's "Delightfully Engaging" design philosophy:
|
|
180
|
-
|
|
181
|
-
- **Grain:** Adds richness without distraction
|
|
182
|
-
- **Time Theming:** Shows intelligence and context awareness
|
|
183
|
-
- **Parallax:** Creates immersion through subtle depth
|
|
184
|
-
|
|
185
|
-
All three are **purposeful** additions that enhance the experience without overwhelming it.
|
|
186
|
-
|
|
187
|
-
---
|
|
188
|
-
|
|
189
|
-
## 🚀 Future Ideas
|
|
190
|
-
|
|
191
|
-
Potential enhancements to explore:
|
|
192
|
-
|
|
193
|
-
1. **Weather-based theming** - Adjust colors based on user's weather
|
|
194
|
-
2. **User preference override** - Let users force a theme
|
|
195
|
-
3. **Seasonal variations** - Winter/spring/summer/fall palettes
|
|
196
|
-
4. **Mouse-reactive parallax** - Move layers based on cursor position
|
|
197
|
-
5. **Workflow-specific themes** - Different colors per workflow type
|
|
198
|
-
|
|
199
|
-
---
|
|
200
|
-
|
|
201
|
-
## 📝 Notes
|
|
202
|
-
|
|
203
|
-
- All scripts auto-initialize on page load
|
|
204
|
-
- Scripts expose global APIs for customization
|
|
205
|
-
- All effects can be disabled individually
|
|
206
|
-
- Performance optimized with RAF and passive listeners
|
|
207
|
-
- Mobile-friendly (reduced on small screens via media queries)
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
## Overview
|
|
213
|
-
This document describes the three new background enhancements added to Workrail's design system.
|
|
214
|
-
|
|
215
|
-
---
|
|
216
|
-
|
|
217
|
-
## ✅ 1. Animated Grain Texture
|
|
218
|
-
|
|
219
|
-
**File:** `assets/background-effects.css`
|
|
220
|
-
|
|
221
|
-
### What It Does
|
|
222
|
-
Adds a subtle film grain texture that slowly moves across the screen, creating organic richness and depth.
|
|
223
|
-
|
|
224
|
-
### Technical Details
|
|
225
|
-
- **Opacity:** 2.5% (very subtle)
|
|
226
|
-
- **Pattern:** Repeating gradient lines creating grain effect
|
|
227
|
-
- **Animation:** 8-second loop with 10 steps (jumpy/film-like)
|
|
228
|
-
- **Blend Mode:** Overlay for natural integration
|
|
229
|
-
- **Z-index:** -1 (behind everything)
|
|
230
|
-
|
|
231
|
-
### Visual Effect
|
|
232
|
-
- Adds tactile texture without being distracting
|
|
233
|
-
- Creates a "premium" film-like quality
|
|
234
|
-
- Moves slowly to add subtle life
|
|
235
|
-
|
|
236
|
-
### CSS Snippet
|
|
237
|
-
```css
|
|
238
|
-
.bg-grain {
|
|
239
|
-
opacity: 0.025;
|
|
240
|
-
animation: grain 8s steps(10) infinite;
|
|
241
|
-
mix-blend-mode: overlay;
|
|
242
|
-
}
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
---
|
|
246
|
-
|
|
247
|
-
## ✅ 2. Time-of-Day Theming
|
|
248
|
-
|
|
249
|
-
**File:** `assets/time-of-day-theme.js`
|
|
250
|
-
|
|
251
|
-
### What It Does
|
|
252
|
-
Automatically adjusts orb colors based on the current time of day to create appropriate mood.
|
|
253
|
-
|
|
254
|
-
### Time Periods
|
|
255
|
-
|
|
256
|
-
#### 🌅 Morning (6 AM - 11 AM)
|
|
257
|
-
**Mood:** Energetic, warm, optimistic
|
|
258
|
-
- **Colors:** Orange, yellow, pink tones
|
|
259
|
-
- **Purpose:** Wake up, energize
|
|
260
|
-
|
|
261
|
-
#### ☀️ Afternoon (12 PM - 5 PM)
|
|
262
|
-
**Mood:** Balanced, productive, neutral
|
|
263
|
-
- **Colors:** Default palette (cyan, purple, pink, orange, green)
|
|
264
|
-
- **Purpose:** Maintain focus
|
|
265
|
-
|
|
266
|
-
#### 🌆 Evening (6 PM - 11 PM)
|
|
267
|
-
**Mood:** Cool, calm, winding down
|
|
268
|
-
- **Colors:** Blue, purple, cyan, indigo
|
|
269
|
-
- **Purpose:** Relax, transition
|
|
270
|
-
|
|
271
|
-
#### 🌙 Night (12 AM - 5 AM)
|
|
272
|
-
**Mood:** Deep, focused, contemplative
|
|
273
|
-
- **Colors:** Indigo, purple, deep blue
|
|
274
|
-
- **Purpose:** Late-night focus work
|
|
275
|
-
|
|
276
|
-
### Technical Details
|
|
277
|
-
- **Auto-detection:** Checks system time
|
|
278
|
-
- **Smooth transitions:** 3-second fade between themes
|
|
279
|
-
- **Check interval:** Every 10 minutes
|
|
280
|
-
- **No flicker:** Initial load has no transition
|
|
281
|
-
|
|
282
|
-
### API
|
|
283
|
-
```javascript
|
|
284
|
-
// Get current theme
|
|
285
|
-
WorkrailTimeTheme.getCurrentTheme()
|
|
286
|
-
|
|
287
|
-
// Force a specific theme
|
|
288
|
-
WorkrailTimeTheme.forceTheme('evening')
|
|
289
|
-
|
|
290
|
-
// Available themes
|
|
291
|
-
WorkrailTimeTheme.themes // { morning, afternoon, evening, night }
|
|
292
|
-
```
|
|
293
|
-
|
|
294
|
-
---
|
|
295
|
-
|
|
296
|
-
## ✅ 3. Scroll Parallax
|
|
297
|
-
|
|
298
|
-
**File:** `assets/scroll-parallax.js`
|
|
299
|
-
|
|
300
|
-
### What It Does
|
|
301
|
-
Creates subtle 3D depth by moving background layers at different speeds when scrolling.
|
|
302
|
-
|
|
303
|
-
### Layer Speeds (slower = further back)
|
|
304
|
-
- **Orbs:** 0.15x scroll speed (furthest back, slowest)
|
|
305
|
-
- **Rails:** 0.25x scroll speed
|
|
306
|
-
- **Nodes:** 0.35x scroll speed
|
|
307
|
-
- **Particles:** 0.5x scroll speed (closest, fastest)
|
|
308
|
-
|
|
309
|
-
### Technical Details
|
|
310
|
-
- **Smooth interpolation:** Uses lerp (0.1 smoothness) for buttery scrolling
|
|
311
|
-
- **RAF-based:** 60fps animation loop
|
|
312
|
-
- **Passive listener:** Doesn't block scroll performance
|
|
313
|
-
- **Auto-caching:** Re-queries elements on demand
|
|
314
|
-
|
|
315
|
-
### Visual Effect
|
|
316
|
-
- Adds **perceived depth** to flat background
|
|
317
|
-
- Creates **3D space** illusion
|
|
318
|
-
- **Very subtle** - not overwhelming
|
|
319
|
-
- Enhances immersion
|
|
320
|
-
|
|
321
|
-
### API
|
|
322
|
-
```javascript
|
|
323
|
-
// Enable/disable
|
|
324
|
-
WorkrailParallax.enable()
|
|
325
|
-
WorkrailParallax.disable()
|
|
326
|
-
|
|
327
|
-
// Refresh elements after DOM changes
|
|
328
|
-
WorkrailParallax.refresh()
|
|
329
|
-
|
|
330
|
-
// Adjust speeds
|
|
331
|
-
WorkrailParallax.setConfig({
|
|
332
|
-
layers: {
|
|
333
|
-
orbs: { speed: 0.2 } // Make orbs move faster
|
|
334
|
-
}
|
|
335
|
-
})
|
|
336
|
-
|
|
337
|
-
// Check status
|
|
338
|
-
WorkrailParallax.isEnabled()
|
|
339
|
-
```
|
|
340
|
-
|
|
341
|
-
---
|
|
342
|
-
|
|
343
|
-
## 🎯 Combined Effect
|
|
344
|
-
|
|
345
|
-
When all three enhancements work together:
|
|
346
|
-
|
|
347
|
-
1. **Grain texture** adds organic richness
|
|
348
|
-
2. **Time-of-day colors** set the mood
|
|
349
|
-
3. **Scroll parallax** adds 3D depth
|
|
350
|
-
|
|
351
|
-
Result: A **living, breathing, context-aware background** that feels premium and thoughtful.
|
|
352
|
-
|
|
353
|
-
---
|
|
354
|
-
|
|
355
|
-
## 🔧 Configuration
|
|
356
|
-
|
|
357
|
-
### Disable Features Individually
|
|
358
|
-
|
|
359
|
-
#### Disable Grain
|
|
360
|
-
```javascript
|
|
361
|
-
document.querySelector('.bg-grain').style.display = 'none';
|
|
362
|
-
```
|
|
363
|
-
|
|
364
|
-
#### Disable Time Theming
|
|
365
|
-
```javascript
|
|
366
|
-
WorkrailTimeTheme.forceTheme('afternoon'); // Lock to one theme
|
|
367
|
-
```
|
|
368
|
-
|
|
369
|
-
#### Disable Parallax
|
|
370
|
-
```javascript
|
|
371
|
-
WorkrailParallax.disable();
|
|
372
|
-
```
|
|
373
|
-
|
|
374
|
-
---
|
|
375
|
-
|
|
376
|
-
## 📊 Performance Impact
|
|
377
|
-
|
|
378
|
-
- **Grain:** Minimal (CSS only)
|
|
379
|
-
- **Time Theming:** Negligible (checks every 10min)
|
|
380
|
-
- **Parallax:** Low (RAF + passive scroll, ~1-2% CPU)
|
|
381
|
-
|
|
382
|
-
**Overall:** Very performant. Uses `will-change`, GPU acceleration, and passive listeners.
|
|
383
|
-
|
|
384
|
-
---
|
|
385
|
-
|
|
386
|
-
## 🎨 Design Philosophy
|
|
387
|
-
|
|
388
|
-
These enhancements follow Workrail's "Delightfully Engaging" design philosophy:
|
|
389
|
-
|
|
390
|
-
- **Grain:** Adds richness without distraction
|
|
391
|
-
- **Time Theming:** Shows intelligence and context awareness
|
|
392
|
-
- **Parallax:** Creates immersion through subtle depth
|
|
393
|
-
|
|
394
|
-
All three are **purposeful** additions that enhance the experience without overwhelming it.
|
|
395
|
-
|
|
396
|
-
---
|
|
397
|
-
|
|
398
|
-
## 🚀 Future Ideas
|
|
399
|
-
|
|
400
|
-
Potential enhancements to explore:
|
|
401
|
-
|
|
402
|
-
1. **Weather-based theming** - Adjust colors based on user's weather
|
|
403
|
-
2. **User preference override** - Let users force a theme
|
|
404
|
-
3. **Seasonal variations** - Winter/spring/summer/fall palettes
|
|
405
|
-
4. **Mouse-reactive parallax** - Move layers based on cursor position
|
|
406
|
-
5. **Workflow-specific themes** - Different colors per workflow type
|
|
407
|
-
|
|
408
|
-
---
|
|
409
|
-
|
|
410
|
-
## 📝 Notes
|
|
411
|
-
|
|
412
|
-
- All scripts auto-initialize on page load
|
|
413
|
-
- Scripts expose global APIs for customization
|
|
414
|
-
- All effects can be disabled individually
|
|
415
|
-
- Performance optimized with RAF and passive listeners
|
|
416
|
-
- Mobile-friendly (reduced on small screens via media queries)
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|