mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-06-20 19:48:24 -07:00
website: refactor
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@
|
||||
|
||||
## Parser
|
||||
|
||||
- Added a `/datasets/last` json file with all the latest va
|
||||
- Added a `/datasets/last` json file with all the latest values
|
||||
|
||||
## Server
|
||||
|
||||
|
||||
+1
-1
@@ -1804,7 +1804,7 @@
|
||||
/>
|
||||
</svg>
|
||||
</button>
|
||||
<button id="button-go-to-selected" title="Go to selected">
|
||||
<button id="scroll-go-to-selected" title="Scroll to selected">
|
||||
<svg viewBox="0 0 20 20">
|
||||
<path
|
||||
d="M4.25 2A2.25 2.25 0 0 0 2 4.25v2a.75.75 0 0 0 1.5 0v-2a.75.75 0 0 1 .75-.75h2a.75.75 0 0 0 0-1.5h-2ZM13.75 2a.75.75 0 0 0 0 1.5h2a.75.75 0 0 1 .75.75v2a.75.75 0 0 0 1.5 0v-2A2.25 2.25 0 0 0 15.75 2h-2ZM3.5 13.75a.75.75 0 0 0-1.5 0v2A2.25 2.25 0 0 0 4.25 18h2a.75.75 0 0 0 0-1.5h-2a.75.75 0 0 1-.75-.75v-2ZM18 13.75a.75.75 0 0 0-1.5 0v2a.75.75 0 0 1-.75.75h-2a.75.75 0 0 0 0 1.5h2A2.25 2.25 0 0 0 18 15.75v-2ZM7 10a3 3 0 1 1 6 0 3 3 0 0 1-6 0Z"
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
"target": "ESNext",
|
||||
"module": "ESNext"
|
||||
},
|
||||
"exclude": ["assets", "libraries", "ignore"]
|
||||
"exclude": ["assets", "packages", "ignore"]
|
||||
}
|
||||
|
||||
@@ -2,5 +2,7 @@ URL:
|
||||
https://github.com/leeoniya/uFuzzy/commits/main/dist
|
||||
|
||||
Head:
|
||||
|
||||
- SHA: 6bb27a8d8c41e4be5458844afc5c89f6c2399512
|
||||
- Date: Feb 21, 2024
|
||||
- Date: Feb 21, 2024
|
||||
- Version: v1.0.14
|
||||
|
||||
+4612
-4581
File diff suppressed because it is too large
Load Diff
@@ -12,7 +12,7 @@ self.addEventListener("install", (_event) => {
|
||||
"/index.html",
|
||||
"/script.js",
|
||||
"/packages/solid-signals/2024-04-17/script.js",
|
||||
"/packages/ufuzzy/2024-02-21/script.js",
|
||||
"/packages/ufuzzy/v1.0.14/script.js",
|
||||
"/packages/lean-qr/v2.3.4/script.js",
|
||||
"/packages/lightweight-charts/v4.2.0/script.js",
|
||||
"/fonts/satoshi/2024-09/font.var.woff2",
|
||||
@@ -59,18 +59,19 @@ self.addEventListener("fetch", (_event) => {
|
||||
const { status } = response;
|
||||
|
||||
// @ts-ignore
|
||||
if (url.includes("/api/")) {
|
||||
if (method !== "GET" || url.includes("/api/")) {
|
||||
return response;
|
||||
}
|
||||
|
||||
return caches.open(version).then((cache) => {
|
||||
if (status === 200 || status === 304) {
|
||||
if (status === 200 && method === "GET") {
|
||||
if (status === 200) {
|
||||
cache.put(request, response.clone());
|
||||
}
|
||||
return response;
|
||||
} else {
|
||||
return pickCorrectResponse(cachedResponse, response);
|
||||
}
|
||||
return pickCorrectResponse(cachedResponse, response);
|
||||
});
|
||||
})
|
||||
.catch(() => {
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
"module": "ESNext",
|
||||
"outDir": "/tmp/kibo"
|
||||
},
|
||||
"exclude": ["assets", "libraries", "ignore"]
|
||||
"exclude": ["assets", "packages", "ignore"]
|
||||
}
|
||||
|
||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Vendored
+4
-2
@@ -1,5 +1,3 @@
|
||||
type Scale = "date" | "height";
|
||||
|
||||
import {
|
||||
Accessor,
|
||||
Setter,
|
||||
@@ -21,8 +19,12 @@ import {
|
||||
import { DatePath, HeightPath } from "./paths";
|
||||
import { Owner } from "../packages/solid-signals/2024-04-17/types/owner";
|
||||
|
||||
type Scale = "date" | "height";
|
||||
|
||||
type SettingsTheme = "system" | "dark" | "light";
|
||||
|
||||
type FoldersFilter = "all" | "favorites" | "new";
|
||||
|
||||
type Signal<T> = Accessor<T> & { set: Setter<T> };
|
||||
|
||||
type TimeRange = Range<Time | number>;
|
||||
|
||||
Reference in New Issue
Block a user