style: remove emojis and keep UI minimal
This commit is contained in:
parent
33dda8f123
commit
d152526119
5 changed files with 8 additions and 3 deletions
|
|
@ -228,3 +228,4 @@ async function aggregateTokens(customSessionsRoot) {
|
|||
export {
|
||||
aggregateTokens
|
||||
};
|
||||
//# sourceMappingURL=aggregator.js.map
|
||||
|
|
|
|||
|
|
@ -600,7 +600,7 @@ function apply(ctx) {
|
|||
const button = document.createElement("button");
|
||||
button.className = "dsh-heatmap-trigger-btn";
|
||||
button.type = "button";
|
||||
button.innerHTML = "<span>\u{1F4CA} View 12-Month Activity Heatmap \u2192</span>";
|
||||
button.innerHTML = "<span>View 12-Month Activity Heatmap \u2192</span>";
|
||||
button.style.cssText = `
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
|||
|
|
@ -42,3 +42,4 @@ export {
|
|||
inject,
|
||||
name
|
||||
};
|
||||
//# sourceMappingURL=index.js.map
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@ console.log("Building server backend...");
|
|||
execSync("npx esbuild src/server/index.ts src/server/aggregator.ts --outdir=lib --platform=node --format=esm --target=node20 --sourcemap", { stdio: "inherit" });
|
||||
|
||||
console.log("Building client frontend bundle...");
|
||||
execSync("npx esbuild src/client/index.tsx --outfile=lib/client.js --platform=browser --format=esm --target=es2022 --bundle --external:react --external:react-dom --external:react-dom/client --sourcemap", { stdio: "inherit" });
|
||||
const banner = 'window.__ModuleLoader__.load({ id: "dsh-plugin-token-heatmap", factory: (require) => { var module = { exports: {} }; var exports = module.exports;';
|
||||
const footer = 'return module.exports; } });';
|
||||
execSync(`npx esbuild src/client/index.tsx --outfile=lib/client.js --platform=browser --format=cjs --target=es2022 --bundle --external:react --external:react-dom --external:react-dom/client --banner:js='${banner}' --footer:js='${footer}' --sourcemap`, { stdio: "inherit" });
|
||||
|
||||
console.log("Build complete!");
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ export function apply(ctx: any) {
|
|||
const button = document.createElement("button");
|
||||
button.className = "dsh-heatmap-trigger-btn";
|
||||
button.type = "button";
|
||||
button.innerHTML = "<span>📊 View 12-Month Activity Heatmap →</span>";
|
||||
button.innerHTML = "<span>View 12-Month Activity Heatmap →</span>";
|
||||
button.style.cssText = `
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue