Files
taskpile/frontend/node_modules/next/dist/cli/next-telemetry.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

43 lines
1.7 KiB
JavaScript

#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "nextTelemetry", {
enumerable: true,
get: function() {
return nextTelemetry;
}
});
const _picocolors = require("../lib/picocolors");
const _storage = require("../telemetry/storage");
const telemetry = new _storage.Telemetry({
distDir: process.cwd()
});
let isEnabled = telemetry.isEnabled;
const nextTelemetry = (options, arg)=>{
if (options.enable || arg === "enable") {
telemetry.setEnabled(true);
isEnabled = true;
console.log((0, _picocolors.cyan)("Success!"));
} else if (options.disable || arg === "disable") {
const path = telemetry.setEnabled(false);
if (isEnabled) {
console.log((0, _picocolors.cyan)(`Your preference has been saved${path ? ` to ${path}` : ""}.`));
} else {
console.log((0, _picocolors.yellow)(`Next.js' telemetry collection is already disabled.`));
}
isEnabled = false;
} else {
console.log((0, _picocolors.bold)("Next.js Telemetry"));
}
console.log(`\nStatus: ${isEnabled ? (0, _picocolors.bold)((0, _picocolors.green)("Enabled")) : (0, _picocolors.bold)((0, _picocolors.red)("Disabled"))}`);
if (isEnabled) {
console.log("\nNext.js telemetry is completely anonymous. Thank you for participating!");
} else {
console.log(`\nYou have opted-out of Next.js' anonymous telemetry program.\nNo data will be collected from your machine.`);
}
console.log(`\nLearn more: ${(0, _picocolors.cyan)("https://nextjs.org/telemetry")}`);
};
//# sourceMappingURL=next-telemetry.js.map