Track all dist assets and remove debug logging

This commit is contained in:
2025-12-25 12:38:54 +01:00
parent dddf1ac568
commit 042acd9ed2
7 changed files with 158 additions and 5 deletions

87
app/web/dist/bundle.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
app/web/dist/bundle.js.map vendored Normal file

File diff suppressed because one or more lines are too long

BIN
app/web/dist/favicon.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 KiB

69
app/web/dist/global.css vendored Normal file
View File

@@ -0,0 +1,69 @@
html,
body {
position: relative;
width: 100%;
height: 100%;
}
body {
color: #333;
margin: 0;
padding: 8px;
box-sizing: border-box;
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
Cantarell, "Helvetica Neue", sans-serif;
}
a {
color: rgb(0, 100, 200);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: rgb(0, 80, 160);
}
label {
display: block;
}
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
-webkit-padding: 0.4em 0;
padding: 0.4em;
margin: 0 0 0.5em 0;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 2px;
}
input:disabled {
color: #ccc;
}
button {
color: #333;
background-color: #f4f4f4;
outline: none;
}
button:disabled {
color: #999;
}
button:not(:disabled):active {
background-color: #ddd;
}
button:focus {
border-color: #666;
}

BIN
app/web/dist/orly.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB

View File

@@ -37,7 +37,6 @@
$: canAccess = isLoggedIn && userPubkey; $: canAccess = isLoggedIn && userPubkey;
$: isAdmin = currentEffectiveRole === "admin" || currentEffectiveRole === "owner"; $: isAdmin = currentEffectiveRole === "admin" || currentEffectiveRole === "owner";
$: console.log("BlossomView role:", currentEffectiveRole, "isAdmin:", isAdmin);
// Track if we've loaded once to prevent repeated loads // Track if we've loaded once to prevent repeated loads
let hasLoadedOnce = false; let hasLoadedOnce = false;
@@ -431,9 +430,6 @@
{#if canAccess} {#if canAccess}
<div class="blossom-view"> <div class="blossom-view">
<div style="background: red; color: white; padding: 4px; font-size: 12px;">
DEBUG: role="{currentEffectiveRole}" isAdmin={isAdmin}
</div>
<div class="header-section"> <div class="header-section">
{#if selectedAdminUser} {#if selectedAdminUser}
<button class="back-btn" on:click={exitUserView}> <button class="back-btn" on:click={exitUserView}>