Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support limiting scope to one network or layer - simplified version #1269

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

csillag
Copy link
Contributor

@csillag csillag commented Feb 17, 2024

This a reduced, alternate version of #1242, which provides less features (ie. the URLs are not as nice), but on the other hand, lesser changes, and simpler to maintain.

Copy link

github-actions bot commented Feb 17, 2024

Deployed to Cloudflare Pages

Latest commit: 81338fb933d8995ae3e80370d5ee0835290d3311
Status:✅ Deploy successful!
Preview URL: https://6deb17cd.oasis-explorer.pages.dev

@csillag csillag force-pushed the csillag/limit-scope-2 branch 2 times, most recently from 8c367a7 to bb507c7 Compare February 17, 2024 00:49
@csillag csillag marked this pull request as ready for review February 17, 2024 00:50
@csillag csillag force-pushed the csillag/limit-scope-2 branch from bb507c7 to bf09b26 Compare February 19, 2024 14:34
(We can select consensus, too, not just paratimes,
so the correct term is Layer, not ParaTime.)
@csillag csillag force-pushed the csillag/limit-scope-2 branch from bf09b26 to 5d690cd Compare February 21, 2024 03:32
It's now possible to specify a given network or layer
in the .env file, and when given, the scope of the whole
explorer will be limited to that specific network,
or even a specific layer within that network.
No data external to the required scope will be shown.
The network (and the layer) will not be part of the URLs.

You can specify network, or layer, or both.
@csillag csillag force-pushed the csillag/limit-scope-2 branch from 5d690cd to 81338fb Compare February 21, 2024 03:37
@csillag csillag enabled auto-merge February 21, 2024 03:37
@csillag csillag merged commit c89f536 into master Feb 21, 2024
8 checks passed
@csillag csillag deleted the csillag/limit-scope-2 branch February 21, 2024 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants