Skip to content

Commit eb4b345

Browse files
authored
Update explorer (#4922)
Updates explorer with new features: - pagination for chains, latest blocks, chain's blocks - improved re-rendering - refactored code for readability and maintainability - added search-for-chain feature https://github.com/user-attachments/assets/d25f21fd-7ab4-4b22-ae0a-d51d7e04675d
1 parent fae592e commit eb4b345

25 files changed

+4605
-375
lines changed

docker/Dockerfile.explorer

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# Stage 1: Build the frontend
33
FROM node:18-alpine AS frontend-builder
44

5+
RUN apk add --no-cache python3 make g++
6+
57
WORKDIR /app
68

79
# Copy package files
@@ -31,6 +33,7 @@ COPY linera-explorer-new/server ./server
3133
COPY linera-explorer-new/package*.json ./
3234

3335
# Install backend dependencies (including better-sqlite3)
36+
RUN apk add --no-cache python3 make g++
3437
RUN npm ci --only=production
3538

3639
# Stage 3: Production runtime

linera-explorer-new/package-lock.json

Lines changed: 35 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

linera-explorer-new/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"lucide-react": "^0.263.1",
1818
"express": "^4.18.2",
1919
"cors": "^2.8.5",
20-
"better-sqlite3": "^8.7.0"
20+
"better-sqlite3": "^12.4.1"
2121
},
2222
"devDependencies": {
2323
"@types/react": "^18.2.15",

0 commit comments

Comments
 (0)