Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
65 changes: 65 additions & 0 deletions explorer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/node_modules_linux
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/
/public/assets/envs.js
/public/assets/configs
/public/icons/sprite.svg
/public/icons/sprite.*.svg
/public/icons/registry.json
/public/icons/README.md
/public/static/og_image.png
/public/sitemap.xml
/public/robots.txt
/analyze

# production
/build

# misc
.DS_Store
*.pem
.tools
grafana
.cursor

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env
.env*.local
/configs/envs/.env.secrets
/configs/envs/.samples

# typescript
*.tsbuildinfo

.eslintcache

**.decrypted~**
/test-results/
/playwright-report/
/playwright/.cache/
/playwright/.browser/
/playwright/envs.js
/playwright/affected-tests.txt

**.dec**

# build outputs
/tools/preset-sync/index.js
/toolkit/package/dist
3 changes: 3 additions & 0 deletions explorer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Monorepo

This project consists of 2 parts, frontend which is the BlockScout frontend that feeds from a database and a cron-job that updates this database with the wss data.
32 changes: 32 additions & 0 deletions explorer/frontend/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "blockscout dev",
"image": "mcr.microsoft.com/devcontainers/typescript-node:20",
"forwardPorts": [ 3000 ],
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/bin/zsh"
}
}
},
"extensions": [
"streetsidesoftware.code-spell-checker",
"formulahendry.auto-close-tag",
"formulahendry.auto-rename-tag",
"dbaeumer.vscode-eslint",
"eamodio.gitlens",
"yatki.vscode-surround",
"simonsiefke.svg-preview"
]
}
},
"features": {
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {
"plugins": "npm",
"omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions"
}
}
}
13 changes: 13 additions & 0 deletions explorer/frontend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Dockerfile
.dockerignore
node_modules
/**/node_modules
node_modules_linux
npm-debug.log
README.md
.next
.git
*.tsbuildinfo
.eslintcache
/test-results/
/playwright-report/
4 changes: 4 additions & 0 deletions explorer/frontend/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DATABASE_URL=
NEXT_PUBLIC_APP_PROTOCOL=https
NEXT_PUBLIC_APP_HOST=127.0.0.1:3000
NEXT_PUBLIC_NETWORK_NAME=Yellow
1 change: 1 addition & 0 deletions explorer/frontend/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__snapshots__/** filter=lfs diff=lfs merge=lfs -text
78 changes: 78 additions & 0 deletions explorer/frontend/.github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Bug Report
description: File a bug report
labels: [ "bug", "triage" ]
body:
- type: markdown
attributes:
value: |
Thanks for reporting a bug 🐛!

Please search open/closed issues before submitting. Someone might have had the similar problem before 😉!

- type: textarea
id: description
attributes:
label: Description
description: A brief description of the issue.
placeholder: |
When I ____, I expected ____ to happen but ____ happened instead.
validations:
required: true

- type: input
id: link
attributes:
label: Link to the page
description: The link to the page where the issue occurs.
placeholder: https://eth.blockscout.com
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: |
Explain how to reproduce the issue in the development environment.
value: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error

- type: input
id: version
attributes:
label: App version
description: The version of the front-end app you use. You can find it in the footer of the page.
placeholder: v1.2.0
validations:
required: true

- type: input
id: browser
# validations:
# required: true
attributes:
label: Browser
description: What browsers are you seeing the problem on? Please specify browser vendor and its version.
placeholder: Google Chrome 111

- type: dropdown
id: operating-system
# validations:
# required: true
attributes:
label: Operating system
description: The operating system this issue occurred with.
options:
- macOS
- Windows
- Linux

- type: textarea
id: additional-information
attributes:
label: Additional information
description: |
Use this section to provide any additional information you might have (e.g screenshots or screencasts).
11 changes: 11 additions & 0 deletions explorer/frontend/.github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Feature Request
url: https://blockscout.canny.io/feature-requests
about: Request a feature or enhancement
- name: Ask a question
url: https://github.com/orgs/blockscout/discussions
about: Ask questions and discuss topics with other community members
- name: Join our Discord Server
url: https://discord.gg/blockscout
about: The official Blockscout Discord community
Loading