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

Gnoweb: list available realms and packages in the HOME #997

Closed
moul opened this issue Jul 29, 2023 · 2 comments
Closed

Gnoweb: list available realms and packages in the HOME #997

moul opened this issue Jul 29, 2023 · 2 comments
Labels
🗺️good first issue🗺️ Ideal for newcomer contributors help wanted Want to contribute? We recommend these issues. 📦 ⛰️ gno.land Issues or PRs gno.land package related

Comments

@moul
Copy link
Member

moul commented Jul 29, 2023

It could be a new helper ({{ range .ListRealms }} and {{ range .ListPackages }}) that remains resource-free when not utilized in the template. This way, we can have the default template for local development with the option to disable it on testnets. It might also be useful to enable it on staging.

@moul moul added help wanted 🗺️good first issue🗺️ Ideal for newcomer contributors 📦 ⛰️ gno.land Issues or PRs gno.land package related labels Jul 29, 2023
@moul moul changed the title Gnoweb: list available realms and packages in the README. Gnoweb: list available realms and packages in the HOME Jul 29, 2023
@tbruyelle
Copy link
Contributor

Note that also there's no package query implementation in vm/handler.go. There's a TODO but I'm not sure the initial purpose of this method was to list all packages. The comment mentions package's file...

// queryPackage fetch a package's files.
func (vh vmHandler) queryPackage(ctx sdk.Context, req abci.RequestQuery) (res abci.ResponseQuery) {
res.Data = []byte(fmt.Sprintf("TODO: parse parts get or make fileset..."))
return
}

@moul moul moved this to 🌟 Wanted for Launch in 🚀 The Launch [DEPRECATED] Sep 5, 2023
@moul moul moved this from 🌟 Wanted for Launch to 🔵 Not Needed for Launch in 🚀 The Launch [DEPRECATED] Sep 5, 2023
@moul moul added this to the 💡Someday/Maybe milestone Sep 6, 2023
@moul moul moved this to Todo in 💪 Bounties & Worx Dec 22, 2023
@Kouteki Kouteki added help wanted Want to contribute? We recommend these issues. and removed help wanted labels Oct 2, 2024
@Kouteki
Copy link
Contributor

Kouteki commented Jan 15, 2025

Closing: duplicate of #3518

@Kouteki Kouteki closed this as completed Jan 15, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in 💪 Bounties & Worx Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗺️good first issue🗺️ Ideal for newcomer contributors help wanted Want to contribute? We recommend these issues. 📦 ⛰️ gno.land Issues or PRs gno.land package related
Projects
Status: Done
Status: 🔵 Not Needed for Launch
Development

No branches or pull requests

3 participants