Add sync error logging, extend error flash, fix unload saves
- Log workforce sync errors to backend stdout so they appear in docker logs - Extend error flash from 5s to 15s so errors are readable - Replace sendBeacon (POST-only) with keepalive fetch (PUT) on unload — sendBeacon was hitting 404s on all three unload saves Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c7066521ff
commit
18e24efbeb
14485 changed files with 1836116 additions and 33 deletions
48
frontend/node_modules/lucide-react/dist/esm/Icon.mjs
generated
vendored
Normal file
48
frontend/node_modules/lucide-react/dist/esm/Icon.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
"use strict";
|
||||
"use client";
|
||||
/**
|
||||
* @license lucide-react v1.24.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
import { forwardRef, createElement } from 'react';
|
||||
import defaultAttributes from './defaultAttributes.mjs';
|
||||
import { hasA11yProp } from './shared/src/utils/hasA11yProp.mjs';
|
||||
import { mergeClasses } from './shared/src/utils/mergeClasses.mjs';
|
||||
import { useLucideContext } from './context.mjs';
|
||||
|
||||
const Icon = forwardRef(
|
||||
({ color, size, strokeWidth, absoluteStrokeWidth, className = "", children, iconNode, ...rest }, ref) => {
|
||||
const {
|
||||
size: contextSize = 24,
|
||||
strokeWidth: contextStrokeWidth = 2,
|
||||
absoluteStrokeWidth: contextAbsoluteStrokeWidth = false,
|
||||
color: contextColor = "currentColor",
|
||||
className: contextClass = ""
|
||||
} = useLucideContext() ?? {};
|
||||
const calculatedStrokeWidth = absoluteStrokeWidth ?? contextAbsoluteStrokeWidth ? Number(strokeWidth ?? contextStrokeWidth) * 24 / Number(size ?? contextSize) : strokeWidth ?? contextStrokeWidth;
|
||||
return createElement(
|
||||
"svg",
|
||||
{
|
||||
ref,
|
||||
...defaultAttributes,
|
||||
width: size ?? contextSize ?? defaultAttributes.width,
|
||||
height: size ?? contextSize ?? defaultAttributes.height,
|
||||
stroke: color ?? contextColor,
|
||||
strokeWidth: calculatedStrokeWidth,
|
||||
className: mergeClasses("lucide", contextClass, className),
|
||||
...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
|
||||
...rest
|
||||
},
|
||||
[
|
||||
...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),
|
||||
...Array.isArray(children) ? children : [children]
|
||||
]
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
export { Icon as default };
|
||||
//# sourceMappingURL=Icon.mjs.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue