Files
taskpile/frontend/node_modules/next/dist/shared/lib/lazy-dynamic/preload-css.js
Alvis f1d51b8cc8 Add side panels, task selection, graph animation, and project docs
- Foldable left panel (user profile) and right panel (task details)
- Clicking a task in the list or graph node selects it and shows details
- Both views (task list + graph) always mounted via absolute inset-0 for
  correct canvas dimensions; tabs toggle visibility with opacity
- Graph node selection animation: other nodes repel outward (charge -600),
  then selected node smoothly slides to center (500ms cubic ease-out),
  then charge restores to -120 and graph stabilizes
- Graph re-fits on tab switch and panel resize via ResizeObserver
- Fix UUID string IDs throughout (backend returns UUIDs, not integers)
- Add TaskDetailPanel, UserPanel components
- Add CLAUDE.md project documentation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 11:23:06 +00:00

49 lines
1.7 KiB
JavaScript

"use client";
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "PreloadCss", {
enumerable: true,
get: function() {
return PreloadCss;
}
});
const _jsxruntime = require("react/jsx-runtime");
const _requestasyncstorageexternal = require("../../../client/components/request-async-storage.external");
function PreloadCss(param) {
let { moduleIds } = param;
// Early return in client compilation and only load requestStore on server side
if (typeof window !== "undefined") {
return null;
}
const requestStore = (0, _requestasyncstorageexternal.getExpectedRequestStore)("next/dynamic css");
const allFiles = [];
// Search the current dynamic call unique key id in react loadable manifest,
// and find the corresponding CSS files to preload
if (requestStore.reactLoadableManifest && moduleIds) {
const manifest = requestStore.reactLoadableManifest;
for (const key of moduleIds){
if (!manifest[key]) continue;
const cssFiles = manifest[key].files.filter((file)=>file.endsWith(".css"));
allFiles.push(...cssFiles);
}
}
if (allFiles.length === 0) {
return null;
}
return /*#__PURE__*/ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {
children: allFiles.map((file)=>{
return /*#__PURE__*/ (0, _jsxruntime.jsx)("link", {
// @ts-ignore
precedence: "dynamic",
rel: "stylesheet",
href: requestStore.assetPrefix + "/_next/" + encodeURI(file),
as: "style"
}, file);
})
});
}
//# sourceMappingURL=preload-css.js.map