v1.5.6: boneyard-js skeleton migration, TanStack Query refactor, rate-limit config
- Replace hand-coded skeleton CSS/JSX with boneyard-js auto-generated bones - Remove skeleton.css and @keyframes shimmer from base.css - Add <Skeleton> wrappers with fixtures to all 25+ page components - Generate 20 bone captures via boneyard CLI (CDP auth-gated capture) - Refactor data fetching from useEffect+useState to TanStack Query - Extract query hooks into src/admin/lib/queries/ and apiAdapter - Add usePaginatedQuery hook replacing useApiCall/useListData - Fix parseFloat || 0 anti-pattern in OfferDetail and OffersTemplates inputs - Fix customer_id mandatory validation on offer creation - Fix leave-requests comma-separated status filter (Prisma enum in: []) - Add cross-entity cache invalidation for orders/offers/invoices/projects - Make rate limits configurable via env vars (RATE_LIMIT_MAX, RATE_LIMIT_REFRESH, etc.) - Add boneyard.config.json with routes and breakpoints Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
263
src/admin/bones/attendance-create.bones.json
Normal file
263
src/admin/bones/attendance-create.bones.json
Normal file
@@ -0,0 +1,263 @@
|
||||
{
|
||||
"breakpoints": {
|
||||
"375": {
|
||||
"name": "attendance-create",
|
||||
"viewportWidth": 351,
|
||||
"width": 351,
|
||||
"height": 403,
|
||||
"bones": [
|
||||
[
|
||||
0,
|
||||
0,
|
||||
100,
|
||||
22,
|
||||
8
|
||||
],
|
||||
[
|
||||
0,
|
||||
42,
|
||||
100,
|
||||
361,
|
||||
10,
|
||||
true
|
||||
],
|
||||
[
|
||||
3.7037,
|
||||
55,
|
||||
92.5926,
|
||||
21,
|
||||
8
|
||||
],
|
||||
[
|
||||
3.7037,
|
||||
83,
|
||||
92.5926,
|
||||
44,
|
||||
8
|
||||
],
|
||||
[
|
||||
3.7037,
|
||||
127,
|
||||
92.5926,
|
||||
21,
|
||||
8
|
||||
],
|
||||
[
|
||||
3.7037,
|
||||
156,
|
||||
92.5926,
|
||||
44,
|
||||
8
|
||||
],
|
||||
[
|
||||
3.7037,
|
||||
200,
|
||||
92.5926,
|
||||
21,
|
||||
8
|
||||
],
|
||||
[
|
||||
3.7037,
|
||||
229,
|
||||
92.5926,
|
||||
44,
|
||||
8
|
||||
],
|
||||
[
|
||||
3.7037,
|
||||
273,
|
||||
92.5926,
|
||||
21,
|
||||
8
|
||||
],
|
||||
[
|
||||
3.7037,
|
||||
302,
|
||||
92.5926,
|
||||
44,
|
||||
8
|
||||
],
|
||||
[
|
||||
3.7037,
|
||||
346,
|
||||
19.2352,
|
||||
44,
|
||||
8
|
||||
]
|
||||
]
|
||||
},
|
||||
"768": {
|
||||
"name": "attendance-create",
|
||||
"viewportWidth": 736,
|
||||
"width": 736,
|
||||
"height": 420,
|
||||
"bones": [
|
||||
[
|
||||
0,
|
||||
0,
|
||||
23.3738,
|
||||
26,
|
||||
8
|
||||
],
|
||||
[
|
||||
0,
|
||||
46,
|
||||
81.5217,
|
||||
373,
|
||||
10,
|
||||
true
|
||||
],
|
||||
[
|
||||
2.5815,
|
||||
65,
|
||||
76.3587,
|
||||
21,
|
||||
8
|
||||
],
|
||||
[
|
||||
2.5815,
|
||||
94,
|
||||
76.3587,
|
||||
44,
|
||||
8
|
||||
],
|
||||
[
|
||||
2.5815,
|
||||
138,
|
||||
76.3587,
|
||||
21,
|
||||
8
|
||||
],
|
||||
[
|
||||
2.5815,
|
||||
167,
|
||||
76.3587,
|
||||
44,
|
||||
8
|
||||
],
|
||||
[
|
||||
2.5815,
|
||||
211,
|
||||
76.3587,
|
||||
21,
|
||||
8
|
||||
],
|
||||
[
|
||||
2.5815,
|
||||
240,
|
||||
76.3587,
|
||||
44,
|
||||
8
|
||||
],
|
||||
[
|
||||
2.5815,
|
||||
284,
|
||||
76.3587,
|
||||
21,
|
||||
8
|
||||
],
|
||||
[
|
||||
2.5815,
|
||||
313,
|
||||
76.3587,
|
||||
44,
|
||||
8
|
||||
],
|
||||
[
|
||||
2.5815,
|
||||
357,
|
||||
9.1733,
|
||||
44,
|
||||
8
|
||||
]
|
||||
]
|
||||
},
|
||||
"1280": {
|
||||
"name": "attendance-create",
|
||||
"viewportWidth": 996,
|
||||
"width": 996,
|
||||
"height": 369,
|
||||
"bones": [
|
||||
[
|
||||
0,
|
||||
0,
|
||||
17.2722,
|
||||
26,
|
||||
8
|
||||
],
|
||||
[
|
||||
0,
|
||||
46,
|
||||
60.241,
|
||||
323,
|
||||
10,
|
||||
true
|
||||
],
|
||||
[
|
||||
1.9076,
|
||||
65,
|
||||
56.4257,
|
||||
19,
|
||||
8
|
||||
],
|
||||
[
|
||||
1.9076,
|
||||
93,
|
||||
56.4257,
|
||||
36,
|
||||
8
|
||||
],
|
||||
[
|
||||
1.9076,
|
||||
129,
|
||||
56.4257,
|
||||
19,
|
||||
8
|
||||
],
|
||||
[
|
||||
1.9076,
|
||||
156,
|
||||
56.4257,
|
||||
36,
|
||||
8
|
||||
],
|
||||
[
|
||||
1.9076,
|
||||
192,
|
||||
56.4257,
|
||||
19,
|
||||
8
|
||||
],
|
||||
[
|
||||
1.9076,
|
||||
219,
|
||||
56.4257,
|
||||
36,
|
||||
8
|
||||
],
|
||||
[
|
||||
1.9076,
|
||||
255,
|
||||
56.4257,
|
||||
19,
|
||||
8
|
||||
],
|
||||
[
|
||||
1.9076,
|
||||
282,
|
||||
56.4257,
|
||||
36,
|
||||
8
|
||||
],
|
||||
[
|
||||
1.9076,
|
||||
318,
|
||||
6.3771,
|
||||
32,
|
||||
8
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"_hash": "7c4e446bf97f164a0fba87e2dd7df7d1"
|
||||
}
|
||||
Reference in New Issue
Block a user