Files
taskpile/frontend/node_modules/next/dist/build/output/log.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

115 lines
2.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
bootstrap: null,
error: null,
event: null,
info: null,
prefixes: null,
ready: null,
trace: null,
wait: null,
warn: null,
warnOnce: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bootstrap: function() {
return bootstrap;
},
error: function() {
return error;
},
event: function() {
return event;
},
info: function() {
return info;
},
prefixes: function() {
return prefixes;
},
ready: function() {
return ready;
},
trace: function() {
return trace;
},
wait: function() {
return wait;
},
warn: function() {
return warn;
},
warnOnce: function() {
return warnOnce;
}
});
const _picocolors = require("../../lib/picocolors");
const prefixes = {
wait: (0, _picocolors.white)((0, _picocolors.bold)("○")),
error: (0, _picocolors.red)((0, _picocolors.bold)("")),
warn: (0, _picocolors.yellow)((0, _picocolors.bold)("⚠")),
ready: "▲",
info: (0, _picocolors.white)((0, _picocolors.bold)(" ")),
event: (0, _picocolors.green)((0, _picocolors.bold)("✓")),
trace: (0, _picocolors.magenta)((0, _picocolors.bold)("\xbb"))
};
const LOGGING_METHOD = {
log: "log",
warn: "warn",
error: "error"
};
function prefixedLog(prefixType, ...message) {
if ((message[0] === "" || message[0] === undefined) && message.length === 1) {
message.shift();
}
const consoleMethod = prefixType in LOGGING_METHOD ? LOGGING_METHOD[prefixType] : "log";
const prefix = prefixes[prefixType];
// If there's no message, don't print the prefix but a new line
if (message.length === 0) {
console[consoleMethod]("");
} else {
console[consoleMethod](" " + prefix, ...message);
}
}
function bootstrap(...message) {
console.log(" ", ...message);
}
function wait(...message) {
prefixedLog("wait", ...message);
}
function error(...message) {
prefixedLog("error", ...message);
}
function warn(...message) {
prefixedLog("warn", ...message);
}
function ready(...message) {
prefixedLog("ready", ...message);
}
function info(...message) {
prefixedLog("info", ...message);
}
function event(...message) {
prefixedLog("event", ...message);
}
function trace(...message) {
prefixedLog("trace", ...message);
}
const warnOnceMessages = new Set();
function warnOnce(...message) {
if (!warnOnceMessages.has(message[0])) {
warnOnceMessages.add(message.join(" "));
warn(...message);
}
}
//# sourceMappingURL=log.js.map