asmitha2025 commited on
Commit
6dd9375
·
1 Parent(s): f071590

Remove toast notifications from dashboard

Browse files
Files changed (3) hide show
  1. app.js +2 -4
  2. index.html +3 -3
  3. styles.css +1 -0
app.js CHANGED
@@ -365,10 +365,8 @@ function showView(viewName) {
365
 
366
 
367
  function showToast(message) {
368
- toast.textContent = message;
369
- toast.classList.add("show");
370
- window.clearTimeout(showToast.timer);
371
- showToast.timer = window.setTimeout(() => toast.classList.remove("show"), 3200);
372
  }
373
 
374
  function matchesSearch(row, term) {
 
365
 
366
 
367
  function showToast(message) {
368
+ // Toast notifications disabled
369
+ return;
 
 
370
  }
371
 
372
  function matchesSearch(row, term) {
index.html CHANGED
@@ -8,7 +8,7 @@
8
  <link rel="preconnect" href="https://fonts.googleapis.com">
9
  <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&display=swap" rel="stylesheet">
10
  <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236366f1' d='M12 2L4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5L12 2zm0 3.9l4.58 1.8v4.29c0 3.05-1.79 5.86-4.58 6.91V5.9z'/%3E%3C/svg%3E" />
11
- <link rel="stylesheet" href="styles.css?v=1.3.0" />
12
  <style>
13
 
14
  *,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
@@ -1671,10 +1671,10 @@ footer{border-top:1px solid var(--border);padding:32px 40px;display:flex;align-i
1671
  </aside>
1672
  </div>
1673
  <!-- Toast Notification -->
1674
- <div class="toast" id="toast">Loaded preset scenario.</div>
1675
 
1676
  <!-- Core Application Bundle -->
1677
- <script src="app.js?v=1.3.0"></script>
1678
 
1679
  <script>
1680
  // Terminal animation
 
8
  <link rel="preconnect" href="https://fonts.googleapis.com">
9
  <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&display=swap" rel="stylesheet">
10
  <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236366f1' d='M12 2L4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5L12 2zm0 3.9l4.58 1.8v4.29c0 3.05-1.79 5.86-4.58 6.91V5.9z'/%3E%3C/svg%3E" />
11
+ <link rel="stylesheet" href="styles.css?v=1.4.0" />
12
  <style>
13
 
14
  *,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
 
1671
  </aside>
1672
  </div>
1673
  <!-- Toast Notification -->
1674
+ <div class="toast" id="toast"></div>
1675
 
1676
  <!-- Core Application Bundle -->
1677
+ <script src="app.js?v=1.4.0"></script>
1678
 
1679
  <script>
1680
  // Terminal animation
styles.css CHANGED
@@ -3353,6 +3353,7 @@ textarea {
3353
 
3354
  /* Toast refinements – make sure #toast works */
3355
  #toast {
 
3356
  position: fixed;
3357
  bottom: 24px;
3358
  right: 24px;
 
3353
 
3354
  /* Toast refinements – make sure #toast works */
3355
  #toast {
3356
+ display: none !important;
3357
  position: fixed;
3358
  bottom: 24px;
3359
  right: 24px;