diff --git a/api/internal/handlers/registry.go b/api/internal/handlers/registry.go index 590677018..8adaf4572 100644 --- a/api/internal/handlers/registry.go +++ b/api/internal/handlers/registry.go @@ -15,6 +15,7 @@ import ( "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "github.com/GameplanePanel/gameplane/api/internal/audit" + "github.com/GameplanePanel/gameplane/api/internal/auth" "github.com/GameplanePanel/gameplane/api/internal/httperr" "github.com/GameplanePanel/gameplane/api/internal/kube" "github.com/GameplanePanel/gameplane/api/internal/messages" @@ -154,11 +155,17 @@ func (h *registryHandler) search(w http.ResponseWriter, req *http.Request) { // slips past) — clamp here once rather than in every engine. offset = 0 } + typ := req.URL.Query().Get("type") + if typ == "modpack" && allLoadersRequested(req) { + // FR-014: "All loaders" lists packs for every loader and Minecraft + // version, so the server's facets do not narrow the search. + loader, gameVersion = "", "" + } res, err := p.Search(req.Context(), registry.SearchQuery{ Term: req.URL.Query().Get("q"), Loader: loader, GameVersion: gameVersion, - ProjectType: req.URL.Query().Get("type"), + ProjectType: typ, Category: req.URL.Query().Get("category"), Sort: req.URL.Query().Get("sort"), Limit: limit, @@ -186,15 +193,35 @@ func (h *registryHandler) versions(w http.ResponseWriter, req *http.Request) { httperr.WriteCode(w, req, http.StatusBadRequest, errors.New("invalid project id")) return } - res, err := p.Versions(req.Context(), project, registry.Filter{ - Loader: loader, - GameVersion: gameVersion, - ProjectType: req.URL.Query().Get("type"), - }) + typ := req.URL.Query().Get("type") + allLoaders := typ == "modpack" && allLoadersRequested(req) + filter := registry.Filter{Loader: loader, GameVersion: gameVersion, ProjectType: typ} + if allLoaders { + filter.Loader, filter.GameVersion = "", "" + } + res, err := p.Versions(req.Context(), project, filter) if err != nil { httperr.WriteCode(w, req, http.StatusBadGateway, fmt.Errorf("mod registry versions failed: %w", err)) return } + if allLoaders { + // FR-014: keep only the pack versions this server's template can run, + // each naming the template version it runs on. An entry the key check + // blocks is never offered; its verdict is computed once per entry. + selected, _, _ := unstructured.NestedString(target.server.Object, "spec", "version") + prov, _ := pickProvider(target.template, req.URL.Query().Get("provider")) + ctx := req.Context() + unblocked := map[string]bool{} + for _, e := range templateVersionEntries(target.template) { + if id := entryID(e); id != "" { + if _, seen := unblocked[id]; !seen { + unblocked[id] = h.blockedReasonFor(ctx, target, prov, e) == "" + } + } + } + allowed := func(entry map[string]any) bool { return unblocked[entryID(entry)] } + res = matchServerVersionsAllowed(target.template, selected, res, allowed) + } writeJSON(w, res) } @@ -269,7 +296,35 @@ func (h *registryHandler) installModpack(w http.ResponseWriter, req *http.Reques httperr.WriteMessage(w, req, messages.New("server.modpack.backup_unavailable", nil)) return } - if h.modpacksBlockedReason(req.Context(), target, prov) != "" { + // The server runs the entry it has now, unless serverVersion switches it + // (FR-014, OD-13 B); the key check and the audit row follow that entry. + currentID := currentServerVersionID(target) + runEntry := activeVersionEntry(target.template, currentID) + var serverSwitch string + if body.ServerVersion != "" && body.ServerVersion != currentID { + // Changing a server's version needs servers:write in its namespace, + // as in Settings; an owner or collaborator grant is not enough. + if !auth.UserFromContext(req.Context()).Can("servers:write", true, target.cluster, target.namespace) { + httperr.WriteMessage(w, req, messages.New("server.modpack.server_version_forbidden", nil)) + return + } + entry, err := h.serverVersionTarget(req.Context(), target, prov, body) + if errors.Is(err, errServerVersionMismatch) { + httperr.WriteMessage(w, req, messages.New("server.modpack.server_version_mismatch", nil)) + return + } + if errors.Is(err, errNoRegistry) { + h.writeResolveErr(w, req, err) + return + } + if err != nil { + httperr.WriteCode(w, req, http.StatusBadGateway, err) + return + } + runEntry = entry + serverSwitch = currentID + "->" + body.ServerVersion + } + if h.blockedReasonFor(req.Context(), target, prov, runEntry) != "" { httperr.WriteMessage(w, req, messages.New("server.modpack.key_required", nil)) return } @@ -294,6 +349,10 @@ func (h *registryHandler) installModpack(w http.ResponseWriter, req *http.Reques updated, err := updateModTarget(req.Context(), target, func(current *unstructured.Unstructured) { // SetNestedMap only fails on a non-map parent; spec is always a map here. _ = unstructured.SetNestedMap(current.Object, spec, "spec", "modpack") + if serverSwitch != "" { + // The server switches to the matching version in the same write as the pack. + _ = unstructured.SetNestedField(current.Object, body.ServerVersion, "spec", "version") + } // A removal whose backup failed leaves its request behind, and an // adopted legacy pin would hold back the new pack; installing a pack // supersedes both. @@ -307,18 +366,14 @@ func (h *registryHandler) installModpack(w http.ResponseWriter, req *http.Reques httperr.Write(w, req, err) return } - h.auditModpack(req, target.server.GetName(), action, prov.provider, body.Project, body.Version) + h.auditModpack(req, target.server.GetName(), action, prov.provider, body.Project, body.Version, serverSwitch) writeJSONStatus(w, http.StatusAccepted, h.modpackViewFor(req, target, updated, false)) } -// resolve picks the requested provider from the selected server's template, -// returning its central engine and the selected server's version filters. -func (h *registryHandler) resolve(ctx context.Context, target *modTarget, providerName string) (registry.Provider, string, string, error) { - prov, ok := pickProvider(target.template, providerName) - if !ok { - return nil, "", "", errNoRegistry - } - p, ok := h.reg.For(ctx, registry.Config{ +// providerFor returns the central engine for a template's declared provider, +// or false when the engine is not configured. +func (h *registryHandler) providerFor(ctx context.Context, prov providerCfg) (registry.Provider, bool) { + return h.reg.For(ctx, registry.Config{ Provider: prov.provider, Community: prov.community, SteamAppID: prov.steamAppID, @@ -326,6 +381,16 @@ func (h *registryHandler) resolve(ctx context.Context, target *modTarget, provid GitHubOwner: prov.githubOwner, GitHubRepo: prov.githubRepo, }) +} + +// resolve picks the requested provider from the selected server's template, +// returning its central engine and the selected server's version filters. +func (h *registryHandler) resolve(ctx context.Context, target *modTarget, providerName string) (registry.Provider, string, string, error) { + prov, ok := pickProvider(target.template, providerName) + if !ok { + return nil, "", "", errNoRegistry + } + p, ok := h.providerFor(ctx, prov) if !ok { return nil, "", "", errNoRegistry } diff --git a/api/internal/handlers/registry_modpack.go b/api/internal/handlers/registry_modpack.go index c9118b0de..dea4f425b 100644 --- a/api/internal/handlers/registry_modpack.go +++ b/api/internal/handlers/registry_modpack.go @@ -63,6 +63,10 @@ type modpackInstallBody struct { VersionName string `json:"versionName"` BackupFirst bool `json:"backupFirst"` Ref string `json:"ref"` + // ServerVersion is an optional template version id (spec 035 FR-014). When + // it differs from the server's current version, the install switches the + // server to it in the same write as the pack. + ServerVersion string `json:"serverVersion"` } // modpackRemoveRequest is the JSON stored in the modpack-remove annotation. @@ -262,11 +266,16 @@ func (h *registryHandler) backupDestinationName(req *http.Request, target *modTa // carries one of those tags, and the administrator has not enabled key // sharing. The Secret is read only when the first two hold. func (h *registryHandler) modpacksBlockedReason(ctx context.Context, target *modTarget, p providerCfg) string { + selected, _, _ := unstructured.NestedString(target.server.Object, "spec", "version") + return h.blockedReasonFor(ctx, target, p, activeVersionEntry(target.template, selected)) +} + +// blockedReasonFor is modpacksBlockedReason for the server version entry the +// pack would run on (the image decides whether the CurseForge key is needed). +func (h *registryHandler) blockedReasonFor(ctx context.Context, target *modTarget, p providerCfg, entry map[string]any) string { if p.modpacks == nil || len(p.modpacks.needsKeyImageTags) == 0 { return "" } - selected, _, _ := unstructured.NestedString(target.server.Object, "spec", "version") - entry := activeVersionEntry(target.template, selected) if entry == nil { return "" } @@ -370,7 +379,7 @@ func (h *registryHandler) removeModpack(w http.ResponseWriter, req *http.Request httperr.Write(w, req, err) return } - h.auditModpack(req, gs.GetName(), "remove", removed.Provider, removed.Project, removed.Version) + h.auditModpack(req, gs.GetName(), "remove", removed.Provider, removed.Project, removed.Version, "") writeJSONStatus(w, http.StatusAccepted, h.modpackViewFor(req, target, updated, false)) } @@ -387,11 +396,16 @@ func newModpackRequestID() (string, error) { // install, change or remove). Provider, project and version are validated // slugs; the CurseForge key never reaches this code. A failed audit write is // logged and the generic audit middleware row stays as the fallback. -func (h *registryHandler) auditModpack(req *http.Request, serverName, action, provider, project, version string) { +// serverSwitch is "->" when the install also switched the server +// version (FR-014), else "". +func (h *registryHandler) auditModpack(req *http.Request, serverName, action, provider, project, version, serverSwitch string) { if h.audit == nil { return } reason := fmt.Sprintf("server.modpack.%s provider=%s project=%s version=%s", action, provider, project, version) + if serverSwitch != "" { + reason += " server_version=" + serverSwitch + } if err := h.audit.WriteSync(req.Context(), req.Method, req.URL.Path, serverName, reason, http.StatusAccepted); err != nil { slog.Warn("modpack audit write failed", "server", serverName, "action", action, "err", err) return diff --git a/api/internal/handlers/registry_server_version.go b/api/internal/handlers/registry_server_version.go new file mode 100644 index 000000000..d28987c0b --- /dev/null +++ b/api/internal/handlers/registry_server_version.go @@ -0,0 +1,162 @@ +package handlers + +import ( + "context" + "errors" + "fmt" + "net/http" + "slices" + "strings" + + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" + + "github.com/GameplanePanel/gameplane/api/internal/registry" +) + +// Spec 035 FR-014 ("All loaders"): a modpack browse can list every pack +// version and name the template version each one runs on, and an install can +// switch the server to that template version in the same write as the pack. + +// errServerVersionMismatch means the POST serverVersion cannot run the chosen +// pack version (unknown or moving entry, or the pack has no such version for +// that entry). Mapped to server.modpack.server_version_mismatch (400). +var errServerVersionMismatch = errors.New("the chosen pack version does not run on that server version") + +// allLoadersRequested reports whether the request asked for the "All loaders" +// modpack browse (?allLoaders=true). It only has an effect with type=modpack. +func allLoadersRequested(req *http.Request) bool { + return req.URL.Query().Get("allLoaders") == "true" +} + +// currentServerVersionID is the server's selected template version id; when the +// server selects none, the default entry the operator would run. +func currentServerVersionID(target *modTarget) string { + if selected, _, _ := unstructured.NestedString(target.server.Object, "spec", "version"); selected != "" { + return selected + } + return entryID(activeVersionEntry(target.template, "")) +} + +// serverVersionTarget validates a POST serverVersion that switches the server +// away from its current version. It returns the template entry the server +// switches to when the pack version body.Version exists for that entry's +// loader and Minecraft version. errServerVersionMismatch means the request +// cannot be honoured; any other error is a provider failure. +func (h *registryHandler) serverVersionTarget(ctx context.Context, target *modTarget, prov providerCfg, body modpackInstallBody) (map[string]any, error) { + entry := templateEntryByID(target.template, body.ServerVersion) + loader, gameVersion := loaderGameVersion(entry) + if entry == nil || gameVersion == "" || body.Version == "" { + return nil, errServerVersionMismatch + } + p, ok := h.providerFor(ctx, prov) + if !ok { + return nil, errNoRegistry + } + versions, err := p.Versions(ctx, body.Project, registry.Filter{ + Loader: loader, + GameVersion: gameVersion, + ProjectType: "modpack", + }) + if err != nil { + return nil, fmt.Errorf("mod registry versions failed: %w", err) + } + // The provider filter can let through files with no loader tag, or entries + // tagged with a loader the entry does not run, so the match must also check + // that the entry fits the version. + if !slices.ContainsFunc(versions, func(v registry.Version) bool { + return v.ID == body.Version && entryFits(entry, v) + }) { + return nil, errServerVersionMismatch + } + return entry, nil +} + +// matchServerVersions keeps the pack versions that some template version entry +// can run, and names that entry on each kept version. An entry fits a version +// when its loader is one of the version's loaders (case-insensitive) and its +// gameVersion is one of the version's game versions; moving entries without a +// gameVersion never fit. The server's current entry wins when it fits, else the +// first fitting entry in template order. Versions with no fitting entry are +// dropped. +func matchServerVersions(tmpl *unstructured.Unstructured, selected string, versions []registry.Version) []registry.Version { + return matchServerVersionsAllowed(tmpl, selected, versions, nil) +} + +// matchServerVersionsAllowed is matchServerVersions limited to the entries +// allowed accepts (nil allows all). A disallowed entry is never named, and the +// server's current entry is preferred only when it is allowed. +func matchServerVersionsAllowed(tmpl *unstructured.Unstructured, selected string, versions []registry.Version, allowed func(map[string]any) bool) []registry.Version { + permitted := func(e map[string]any) bool { return allowed == nil || allowed(e) } + entries := templateVersionEntries(tmpl) + current := activeVersionEntry(tmpl, selected) + if current != nil && !permitted(current) { + current = nil + } + out := make([]registry.Version, 0, len(versions)) + for _, v := range versions { + entry := current + if entry == nil || !entryFits(entry, v) { + entry = nil + for _, e := range entries { + if permitted(e) && entryFits(e, v) { + entry = e + break + } + } + } + if entry == nil { + continue + } + v.ServerVersion, _ = entry["id"].(string) + v.ServerVersionName, _ = entry["displayName"].(string) + out = append(out, v) + } + return out +} + +// entryFits reports whether a template version entry can run a pack version. +func entryFits(entry map[string]any, v registry.Version) bool { + loader, gameVersion := loaderGameVersion(entry) + if loader == "" || gameVersion == "" { + return false + } + loaderOK := slices.ContainsFunc(v.Loaders, func(l string) bool { return strings.EqualFold(l, loader) }) + return loaderOK && slices.Contains(v.GameVersions, gameVersion) +} + +// templateVersionEntries returns the template's spec.versions maps in order. +func templateVersionEntries(tmpl *unstructured.Unstructured) []map[string]any { + if tmpl == nil { + return nil + } + raw, found, err := unstructured.NestedSlice(tmpl.Object, "spec", "versions") + if !found || err != nil { + return nil + } + out := make([]map[string]any, 0, len(raw)) + for _, r := range raw { + if m, ok := r.(map[string]any); ok { + out = append(out, m) + } + } + return out +} + +// templateEntryByID returns the template version entry with the given id, or nil. +func templateEntryByID(tmpl *unstructured.Unstructured, id string) map[string]any { + if id == "" { + return nil + } + for _, e := range templateVersionEntries(tmpl) { + if entryID(e) == id { + return e + } + } + return nil +} + +// entryID returns a template version entry's id, "" for nil. +func entryID(entry map[string]any) string { + id, _ := entry["id"].(string) + return id +} diff --git a/api/internal/handlers/registry_server_version_test.go b/api/internal/handlers/registry_server_version_test.go new file mode 100644 index 000000000..5d19a3cdf --- /dev/null +++ b/api/internal/handlers/registry_server_version_test.go @@ -0,0 +1,479 @@ +package handlers + +import ( + "context" + "encoding/json" + "net/http" + "net/http/httptest" + "strings" + "testing" + + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" + + "github.com/GameplanePanel/gameplane/api/internal/auth" + "github.com/GameplanePanel/gameplane/api/internal/kube" + "github.com/GameplanePanel/gameplane/api/internal/registry" +) + +// versionsProvider is a fakeProvider whose Versions returns a fixed list and +// counts its calls, so a test can see whether the handler asked at all. +type versionsProvider struct { + fakeProvider + versions []registry.Version + calls int +} + +func (f *versionsProvider) Versions(_ context.Context, project string, fl registry.Filter) ([]registry.Version, error) { + f.calls++ + f.gotProject = project + f.gotFilter = fl + return f.versions, nil +} + +// allLoadersTemplate has a forge entry with no gameVersion (a moving entry) +// ahead of the neoforge default and a forge 1.21.1 entry, so tests can tell +// moving entries, template order and the server's current entry apart. +func allLoadersTemplate(name string) *unstructured.Unstructured { + tmpl := modpackTestTemplate(name) + versions, _, _ := unstructured.NestedSlice(tmpl.Object, "spec", "versions") + versions = append([]any{map[string]any{"id": "forge-latest", "displayName": "Latest Forge", "loader": "forge"}}, versions...) + versions = append(versions, map[string]any{"id": "1.21.1-forge", "displayName": "1.21.1 Forge", "loader": "forge", "gameVersion": "1.21.1"}) + _ = unstructured.SetNestedSlice(tmpl.Object, versions, "spec", "versions") + return tmpl +} + +func TestMatchServerVersions(t *testing.T) { + tmpl := allLoadersTemplate("minecraft") + forgeOnly := registry.Version{ID: "forge-121", Loaders: []string{"forge"}, GameVersions: []string{"1.21.1"}} + both := registry.Version{ID: "both-121", Loaders: []string{"forge", "neoforge"}, GameVersions: []string{"1.21.1"}} + cases := []struct { + name string + selected string + in []registry.Version + want []string // kept IDs + wantSrv []string // ServerVersion per kept ID + }{ + { + name: "forge pack on the template's forge entry, skipping the moving entry", + in: []registry.Version{forgeOnly}, + want: []string{"forge-121"}, + wantSrv: []string{"1.21.1-forge"}, + }, + { + name: "loader match is case-insensitive", + in: []registry.Version{{ID: "nf", Loaders: []string{"NeoForge"}, GameVersions: []string{"1.21.1"}}}, + want: []string{"nf"}, + wantSrv: []string{"1.21.1-neoforge"}, + }, + { + name: "version with no fitting entry is dropped", + in: []registry.Version{{ID: "fab", Loaders: []string{"fabric"}, GameVersions: []string{"1.21.1"}}, {ID: "old", Loaders: []string{"forge"}, GameVersions: []string{"1.7.10"}}}, + want: nil, + wantSrv: nil, + }, + { + name: "moving entry without a gameVersion never matches", + in: []registry.Version{{ID: "latest", Loaders: []string{"forge"}, GameVersions: []string{"latest"}}}, + want: nil, + wantSrv: nil, + }, + { + name: "server's current entry wins when it fits", + selected: "1.21.1-forge", + in: []registry.Version{both}, + want: []string{"both-121"}, + wantSrv: []string{"1.21.1-forge"}, + }, + { + name: "server's default entry wins when it fits", + in: []registry.Version{both}, + want: []string{"both-121"}, + wantSrv: []string{"1.21.1-neoforge"}, + }, + } + for _, tc := range cases { + t.Run(tc.name, func(t *testing.T) { + got := matchServerVersions(tmpl, tc.selected, tc.in) + if len(got) != len(tc.want) { + t.Fatalf("kept %d versions, want %d: %+v", len(got), len(tc.want), got) + } + for i := range got { + if got[i].ID != tc.want[i] || got[i].ServerVersion != tc.wantSrv[i] { + t.Errorf("version %d = %s on %q, want %s on %q", i, got[i].ID, got[i].ServerVersion, tc.want[i], tc.wantSrv[i]) + } + } + }) + } +} + +func TestMatchServerVersions_NamesEntryDisplayName(t *testing.T) { + got := matchServerVersions(allLoadersTemplate("minecraft"), "", []registry.Version{ + {ID: "nf", Loaders: []string{"neoforge"}, GameVersions: []string{"1.21.1"}}, + }) + if len(got) != 1 || got[0].ServerVersionName != "1.21.1 NeoForge" { + t.Fatalf("got %+v, want serverVersionName 1.21.1 NeoForge", got) + } +} + +func TestRegistryVersions_AllLoadersMatchesTemplate(t *testing.T) { + k := fakeKubeClient( + allLoadersTemplate("minecraft"), + serverWithVersion("gameplane-games", "alpha", "minecraft", "1.12.2-forge"), + ) + fp := &versionsProvider{versions: []registry.Version{ + {ID: "nf", Loaders: []string{"neoforge"}, GameVersions: []string{"1.21.1"}}, + {ID: "fab", Loaders: []string{"fabric"}, GameVersions: []string{"1.21.1"}}, + }} + r := mountRegistryRouter(k, fakeSet{p: fp}) + + rr := do(t, r, "GET", "/servers/alpha/mods/registry/projects/p1/versions?provider=modrinth&type=modpack&allLoaders=true", nil) + if rr.Code != http.StatusOK { + t.Fatalf("got %d %s", rr.Code, rr.Body) + } + if fp.gotFilter.Loader != "" || fp.gotFilter.GameVersion != "" || fp.gotFilter.ProjectType != "modpack" { + t.Errorf("provider filter = %+v, want empty facets with modpack type", fp.gotFilter) + } + var got []registry.Version + if err := json.Unmarshal(rr.Body.Bytes(), &got); err != nil { + t.Fatalf("decode: %v", err) + } + if len(got) != 1 || got[0].ID != "nf" || got[0].ServerVersion != "1.21.1-neoforge" || got[0].ServerVersionName != "1.21.1 NeoForge" { + t.Errorf("body = %+v, want only nf on 1.21.1-neoforge", got) + } +} + +func TestRegistryVersions_WithoutAllLoadersKeepsServerFilter(t *testing.T) { + k := fakeKubeClient( + allLoadersTemplate("minecraft"), + serverWithVersion("gameplane-games", "alpha", "minecraft", "1.12.2-forge"), + ) + fp := &versionsProvider{versions: []registry.Version{{ID: "x"}}} + r := mountRegistryRouter(k, fakeSet{p: fp}) + + rr := do(t, r, "GET", "/servers/alpha/mods/registry/projects/p1/versions?provider=modrinth&type=modpack", nil) + if rr.Code != http.StatusOK { + t.Fatalf("got %d %s", rr.Code, rr.Body) + } + if fp.gotFilter.Loader != "forge" || fp.gotFilter.GameVersion != "1.12.2" { + t.Errorf("provider filter = %+v, want the server's forge 1.12.2", fp.gotFilter) + } +} + +func TestRegistryVersions_AllLoadersIgnoredForMods(t *testing.T) { + k := fakeKubeClient( + allLoadersTemplate("minecraft"), + serverWithVersion("gameplane-games", "alpha", "minecraft", "1.12.2-forge"), + ) + fp := &versionsProvider{versions: []registry.Version{{ID: "x"}}} + r := mountRegistryRouter(k, fakeSet{p: fp}) + + rr := do(t, r, "GET", "/servers/alpha/mods/registry/projects/p1/versions?provider=modrinth&type=mod&allLoaders=true", nil) + if rr.Code != http.StatusOK { + t.Fatalf("got %d %s", rr.Code, rr.Body) + } + if fp.gotFilter.Loader != "forge" || fp.gotFilter.GameVersion != "1.12.2" { + t.Errorf("provider filter = %+v, want the server's facets for type=mod", fp.gotFilter) + } + if strings.Contains(rr.Body.String(), "serverVersion") { + t.Errorf("type=mod must not add serverVersion: %s", rr.Body) + } +} + +func TestRegistrySearch_AllLoadersDropsFacetsForModpacks(t *testing.T) { + k := fakeKubeClient( + allLoadersTemplate("minecraft"), + serverWithVersion("gameplane-games", "alpha", "minecraft", "1.12.2-forge"), + ) + fp := &fakeProvider{} + r := mountRegistryRouter(k, fakeSet{p: fp}) + + if rr := do(t, r, "GET", "/servers/alpha/mods/registry/search?provider=modrinth&type=modpack&allLoaders=true", nil); rr.Code != http.StatusOK { + t.Fatalf("got %d %s", rr.Code, rr.Body) + } + if fp.gotSearch.Loader != "" || fp.gotSearch.GameVersion != "" || fp.gotSearch.ProjectType != "modpack" { + t.Errorf("search query = %+v, want no facets for all-loaders modpacks", fp.gotSearch) + } + + if rr := do(t, r, "GET", "/servers/alpha/mods/registry/search?provider=modrinth&type=mod&allLoaders=true", nil); rr.Code != http.StatusOK { + t.Fatalf("got %d %s", rr.Code, rr.Body) + } + if fp.gotSearch.Loader != "forge" || fp.gotSearch.GameVersion != "1.12.2" { + t.Errorf("type=mod search query = %+v, want the server's facets", fp.gotSearch) + } +} + +// installSwitchFixture is a neoforge 1.21.1 server, and a provider that lists +// the given pack versions for any pack. +func installSwitchFixture(versions []registry.Version) (*kube.Client, *versionsProvider) { + k := fakeKubeClient( + allLoadersTemplate("minecraft"), + serverWithVersion("gameplane-games", "alpha", "minecraft", "1.21.1-neoforge"), + ) + return k, &versionsProvider{versions: versions} +} + +func serverSpecVersion(t *testing.T, k *kube.Client) (version string, hasModpack bool) { + t.Helper() + gs, err := k.Dynamic.Resource(kube.GVRs["servers"]).Namespace("gameplane-games"). + Get(t.Context(), "alpha", metav1.GetOptions{}) + if err != nil { + t.Fatalf("get: %v", err) + } + version, _, _ = unstructured.NestedString(gs.Object, "spec", "version") + _, hasModpack, _ = unstructured.NestedMap(gs.Object, "spec", "modpack") + return version, hasModpack +} + +func TestInstallModpack_ServerVersionSwitchWritesVersionAndPack(t *testing.T) { + k, fp := installSwitchFixture([]registry.Version{{ID: "pack-forge", Loaders: []string{"forge"}, GameVersions: []string{"1.12.2"}}}) + mount := mountRegistryRouter(k, fakeSet{p: fp}) + + rr := modpackReqAs(t, switchAdminUser(), mount, http.MethodPost, "/servers/alpha/modpack", map[string]any{ + "provider": "modrinth", "project": "pack", "version": "pack-forge", + "serverVersion": "1.12.2-forge", + }) + if rr.Code != http.StatusAccepted { + t.Fatalf("got %d %s", rr.Code, rr.Body) + } + if fp.gotFilter.Loader != "forge" || fp.gotFilter.GameVersion != "1.12.2" || fp.gotFilter.ProjectType != "modpack" { + t.Errorf("provider checked with %+v, want forge/1.12.2 modpack", fp.gotFilter) + } + version, hasModpack := serverSpecVersion(t, k) + if version != "1.12.2-forge" || !hasModpack { + t.Errorf("spec.version = %q modpack set %v, want 1.12.2-forge with the pack", version, hasModpack) + } +} + +func TestInstallModpack_ServerVersionSameAsCurrentSkipsCheck(t *testing.T) { + k, fp := installSwitchFixture(nil) + mount := mountRegistryRouter(k, fakeSet{p: fp}) + + rr := modpackReq(t, mount, http.MethodPost, "/servers/alpha/modpack", map[string]any{ + "provider": "modrinth", "project": "pack", "version": "pack-neo", + "serverVersion": "1.21.1-neoforge", + }) + if rr.Code != http.StatusAccepted { + t.Fatalf("got %d %s", rr.Code, rr.Body) + } + if fp.calls != 0 { + t.Errorf("provider called %d times, want none when serverVersion is the current version", fp.calls) + } + if version, _ := serverSpecVersion(t, k); version != "1.21.1-neoforge" { + t.Errorf("spec.version = %q, want unchanged", version) + } +} + +func TestInstallModpack_ServerVersionRejects(t *testing.T) { + forgePack := []registry.Version{{ID: "pack-forge", Loaders: []string{"forge"}, GameVersions: []string{"1.12.2"}}} + cases := []struct { + name string + body map[string]any + // versions overrides the provider's list when set. + versions []registry.Version + }{ + { + name: "pack version missing for that server version", + body: map[string]any{"provider": "modrinth", "project": "pack", "version": "other", "serverVersion": "1.12.2-forge"}, + versions: forgePack, + }, + { + name: "server version is not a template entry", + body: map[string]any{"provider": "modrinth", "project": "pack", "version": "pack-forge", "serverVersion": "9.9-nothing"}, + versions: forgePack, + }, + { + name: "moving entry without a gameVersion", + body: map[string]any{"provider": "modrinth", "project": "pack", "version": "pack-forge", "serverVersion": "forge-latest"}, + versions: forgePack, + }, + { + name: "switch without a pack version", + // The legacy ref body carries no version, so the switch has no pack version to check. + body: map[string]any{"provider": "modrinth", "ref": "pack", "serverVersion": "1.12.2-forge"}, + versions: forgePack, + }, + } + for _, tc := range cases { + t.Run(tc.name, func(t *testing.T) { + k, fp := installSwitchFixture(tc.versions) + mount := mountRegistryRouter(k, fakeSet{p: fp}) + rr := modpackReqAs(t, switchAdminUser(), mount, http.MethodPost, "/servers/alpha/modpack", tc.body) + if rr.Code != http.StatusBadRequest { + t.Fatalf("got %d %s, want 400", rr.Code, rr.Body) + } + if !strings.Contains(rr.Body.String(), "server.modpack.server_version_mismatch") { + t.Errorf("body %s does not carry server.modpack.server_version_mismatch", rr.Body) + } + if version, hasModpack := serverSpecVersion(t, k); version != "1.21.1-neoforge" || hasModpack { + t.Errorf("rejected install changed the server: version %q, modpack set %v", version, hasModpack) + } + }) + } +} + +// A switch to an image that needs the CurseForge key is blocked by that +// entry's image, even though the current entry's image would not be. +func TestInstallModpack_ServerVersionSwitchChecksTargetImageKey(t *testing.T) { + k := fakeKubeClient( + allLoadersTemplate("minecraft"), + serverWithVersion("gameplane-games", "alpha", "minecraft", "1.21.1-neoforge"), + ) + fp := &versionsProvider{versions: []registry.Version{{ID: "pack-forge", Loaders: []string{"forge"}, GameVersions: []string{"1.12.2"}}}} + mount := mountRegistryRouter(k, fakeSet{p: fp}) + + rr := modpackReqAs(t, switchAdminUser(), mount, http.MethodPost, "/servers/alpha/modpack", map[string]any{ + "provider": "curseforge", "project": "pack", "version": "pack-forge", "serverVersion": "1.12.2-forge", + }) + if rr.Code != http.StatusConflict { + t.Fatalf("got %d %s, want 409 key_required from the 1.12.2 image", rr.Code, rr.Body) + } + if version, hasModpack := serverSpecVersion(t, k); version != "1.21.1-neoforge" || hasModpack { + t.Errorf("blocked install changed the server: version %q, modpack set %v", version, hasModpack) + } +} + +// The provider can return the requested pack version with loader or game +// version tags that do not fit the target entry; the install must still refuse. +func TestInstallModpack_ServerVersionRejectsUnfittingVersion(t *testing.T) { + cases := []struct { + name string + version registry.Version + }{ + { + name: "loader tag the entry does not run", + version: registry.Version{ID: "pack-forge", Loaders: []string{"paper"}, GameVersions: []string{"1.12.2"}}, + }, + { + name: "no loader tag", + version: registry.Version{ID: "pack-forge", GameVersions: []string{"1.12.2"}}, + }, + { + name: "game version the entry does not run", + version: registry.Version{ID: "pack-forge", Loaders: []string{"forge"}, GameVersions: []string{"1.7.10"}}, + }, + } + for _, tc := range cases { + t.Run(tc.name, func(t *testing.T) { + k, fp := installSwitchFixture([]registry.Version{tc.version}) + mount := mountRegistryRouter(k, fakeSet{p: fp}) + rr := modpackReqAs(t, switchAdminUser(), mount, http.MethodPost, "/servers/alpha/modpack", map[string]any{ + "provider": "curseforge", "project": "pack", "version": "pack-forge", + "serverVersion": "1.12.2-forge", + }) + if rr.Code != http.StatusBadRequest { + t.Fatalf("got %d %s, want 400", rr.Code, rr.Body) + } + if !strings.Contains(rr.Body.String(), "server.modpack.server_version_mismatch") { + t.Errorf("body %s does not carry server.modpack.server_version_mismatch", rr.Body) + } + if version, hasModpack := serverSpecVersion(t, k); version != "1.21.1-neoforge" || hasModpack { + t.Errorf("rejected install changed the server: version %q, modpack set %v", version, hasModpack) + } + }) + } +} + +// With key sharing off, a CurseForge template entry whose image needs the key +// is never named by the all-loaders browse, so a pack version only that entry +// fits is dropped, and a version that also fits an unblocked entry names that +// entry even when the server currently runs the blocked one. +func TestRegistryVersions_AllLoadersSkipsKeyBlockedEntries(t *testing.T) { + forgeOnly := registry.Version{ID: "forge-only", Loaders: []string{"forge"}, GameVersions: []string{"1.12.2"}} + both := registry.Version{ID: "both", Loaders: []string{"forge", "neoforge"}, GameVersions: []string{"1.12.2", "1.21.1"}} + cases := []struct { + name string + selected string + want []string + wantSrv []string + }{ + { + name: "blocked forge entry is not offered for a forge-only version", + selected: "1.21.1-neoforge", + want: []string{"both"}, + wantSrv: []string{"1.21.1-neoforge"}, + }, + { + name: "blocked current entry is not preferred", + selected: "1.12.2-forge", + want: []string{"both"}, + wantSrv: []string{"1.21.1-neoforge"}, + }, + } + for _, tc := range cases { + t.Run(tc.name, func(t *testing.T) { + k := fakeKubeClient( + allLoadersTemplate("minecraft"), + serverWithVersion("gameplane-games", "alpha", "minecraft", tc.selected), + ) + fp := &versionsProvider{versions: []registry.Version{forgeOnly, both}} + r := mountRegistryRouter(k, fakeSet{p: fp}) + + rr := do(t, r, "GET", "/servers/alpha/mods/registry/projects/p1/versions?provider=curseforge&type=modpack&allLoaders=true", nil) + if rr.Code != http.StatusOK { + t.Fatalf("got %d %s", rr.Code, rr.Body) + } + var got []registry.Version + if err := json.Unmarshal(rr.Body.Bytes(), &got); err != nil { + t.Fatalf("decode: %v", err) + } + if len(got) != len(tc.want) { + t.Fatalf("kept %+v, want IDs %v", got, tc.want) + } + for i := range got { + if got[i].ID != tc.want[i] || got[i].ServerVersion != tc.wantSrv[i] { + t.Errorf("version %d = %s on %q, want %s on %q", i, got[i].ID, got[i].ServerVersion, tc.want[i], tc.wantSrv[i]) + } + } + if strings.Contains(rr.Body.String(), "1.12.2-forge") { + t.Errorf("blocked entry named in body: %s", rr.Body) + } + }) + } +} + +// switchAdminUser holds every permission on every cluster and namespace. +func switchAdminUser() *auth.User { + return &auth.User{ID: 1, Username: "admin", Perms: map[string]map[string]map[string]struct{}{ + "*": {"*": {"*": {}}}, + }} +} + +// modpackReqAs is modpackReq with u as the signed-in user. +func modpackReqAs(t *testing.T, u *auth.User, h http.Handler, method, path string, body any) *httptest.ResponseRecorder { + t.Helper() + b, err := json.Marshal(body) + if err != nil { + t.Fatalf("marshal: %v", err) + } + req := httptest.NewRequestWithContext(auth.WithUser(t.Context(), u), method, path, strings.NewReader(string(b))) + req.Header.Set("Accept", "application/problem+json") + rr := httptest.NewRecorder() + h.ServeHTTP(rr, req) + return rr +} + +// FR-014 + valgul 2026-11-26: switching the server version through a pack +// install needs servers:write; an owner or collaborator grant (here: a user +// with only mods:manage) is refused and nothing is written. +func TestInstallModpack_ServerVersionSwitchNeedsServersWrite(t *testing.T) { + k, fp := installSwitchFixture([]registry.Version{{ID: "pack-forge", Loaders: []string{"forge"}, GameVersions: []string{"1.12.2"}}}) + mount := mountRegistryRouter(k, fakeSet{p: fp}) + collaborator := &auth.User{ID: 2, Username: "collab", Perms: map[string]map[string]map[string]struct{}{ + "*": {"gameplane-games": {"mods:manage": {}}}, + }} + for name, u := range map[string]*auth.User{"collaborator": collaborator, "no user": nil} { + t.Run(name, func(t *testing.T) { + rr := modpackReqAs(t, u, mount, http.MethodPost, "/servers/alpha/modpack", map[string]any{ + "provider": "modrinth", "project": "pack", "version": "pack-forge", + "serverVersion": "1.12.2-forge", + }) + if rr.Code != http.StatusForbidden || !strings.Contains(rr.Body.String(), "server.modpack.server_version_forbidden") { + t.Fatalf("got %d %s, want 403 server.modpack.server_version_forbidden", rr.Code, rr.Body) + } + if version, hasModpack := serverSpecVersion(t, k); version != "1.21.1-neoforge" || hasModpack { + t.Errorf("spec.version = %q modpack set %v, want unchanged", version, hasModpack) + } + }) + } +} diff --git a/api/internal/messages/entries_server.go b/api/internal/messages/entries_server.go index 06d8e1f1a..10283b246 100644 --- a/api/internal/messages/entries_server.go +++ b/api/internal/messages/entries_server.go @@ -119,6 +119,18 @@ var serverEntries = []Entry{ Description: "API error from the modpack API (registry_modpack.go:removeModpack) when there is no modpack to remove.", Status: http.StatusNotFound, }, + { + ID: "server.modpack.server_version_forbidden", + English: "changing the server version needs permission to edit the server", + Description: "API error from the modpack API (registry.go:installModpack) when a modpack install would switch the server version (serverVersion) and the caller lacks servers:write in the server's namespace.", + Status: http.StatusForbidden, + }, + { + ID: "server.modpack.server_version_mismatch", + English: "the chosen pack version does not run on that server version", + Description: "API error from the modpack API (registry.go:installModpack, registry_server_version.go:serverVersionTarget) when a modpack install names a server version (serverVersion) that is not a template version or cannot run the chosen pack version.", + Status: http.StatusBadRequest, + }, { ID: "server.modpack.version_required", English: "version is required", diff --git a/api/internal/registry/curseforge.go b/api/internal/registry/curseforge.go index be31aa921..8734861a7 100644 --- a/api/internal/registry/curseforge.go +++ b/api/internal/registry/curseforge.go @@ -195,27 +195,12 @@ func (m cfMod) project() Project { // third-party distribution carry no downloadUrl and are skipped — neither // the dashboard nor the pack installer can fetch them. func (c *Curseforge) Versions(ctx context.Context, projectID string, f Filter) ([]Version, error) { - params := url.Values{} - if f.GameVersion != "" { - params.Set("gameVersion", f.GameVersion) - } - if lt := cfLoaderType(f.Loader); lt != 0 { - params.Set("modLoaderType", strconv.Itoa(lt)) - } - params.Set("pageSize", "50") - u := c.baseURL + "/mods/" + url.PathEscape(projectID) + "/files" - if enc := params.Encode(); enc != "" { - u += "?" + enc - } - - var resp struct { - Data []cfFile `json:"data"` - } - if err := c.get(ctx, u, &resp); err != nil { + files, err := c.versionFiles(ctx, projectID, f) + if err != nil { return nil, err } - out := make([]Version, 0, len(resp.Data)) - for _, fl := range resp.Data { + out := make([]Version, 0, len(files)) + for _, fl := range files { if fl.DownloadURL == "" { continue } @@ -231,6 +216,7 @@ func (c *Curseforge) Versions(ctx context.Context, projectID string, f Filter) ( Name: fl.DisplayName, VersionNumber: fl.DisplayName, GameVersions: fl.GameVersions, + Loaders: cfLoaders(fl.GameVersions), ReleaseType: cfReleaseType(fl.ReleaseType), PublishedAt: published, Files: []File{{ @@ -244,6 +230,48 @@ func (c *Curseforge) Versions(ctx context.Context, projectID string, f Filter) ( return out, nil } +// Every Versions call (filtered or unfiltered) pages through the pack's files: +// index 0, 50, 100, ... until a page holds fewer than cfVersionsPageSize files +// or cfVersionsMaxPages pages were read. That is a hard cap of 250 files per +// call. Filtered calls page too, so the install check sees every file that the +// unfiltered "All loaders" list can offer. +const ( + cfVersionsPageSize = 50 + cfVersionsMaxPages = 5 +) + +// versionFiles fetches the project's raw files for Versions, paging up to +// cfVersionsMaxPages pages for both filtered and unfiltered calls. +func (c *Curseforge) versionFiles(ctx context.Context, projectID string, f Filter) ([]cfFile, error) { + var files []cfFile + for page := 0; page < cfVersionsMaxPages; page++ { + params := url.Values{} + if f.GameVersion != "" { + params.Set("gameVersion", f.GameVersion) + } + if lt := cfLoaderType(f.Loader); lt != 0 { + params.Set("modLoaderType", strconv.Itoa(lt)) + } + params.Set("pageSize", strconv.Itoa(cfVersionsPageSize)) + params.Set("index", strconv.Itoa(page*cfVersionsPageSize)) + u := c.baseURL + "/mods/" + url.PathEscape(projectID) + "/files" + if enc := params.Encode(); enc != "" { + u += "?" + enc + } + var resp struct { + Data []cfFile `json:"data"` + } + if err := c.get(ctx, u, &resp); err != nil { + return nil, err + } + files = append(files, resp.Data...) + if len(resp.Data) < cfVersionsPageSize { + break + } + } + return files, nil +} + type cfFile struct { ID int `json:"id"` DisplayName string `json:"displayName"` @@ -279,6 +307,20 @@ var cfLoaderTags = map[string]string{ "quilt": "Quilt", } +// cfLoaders returns the Gameplane loader ids (lower-cased cfLoaderTags keys) +// of the loader tags in a file's gameVersions, in tag order, without repeats. +func cfLoaders(tags []string) []string { + var out []string + for _, tag := range tags { + id := strings.ToLower(tag) + if _, ok := cfLoaderTags[id]; !ok || slices.Contains(out, id) { + continue + } + out = append(out, id) + } + return out +} + // cfFileMatches reports whether a file's gameVersions tags fit the filter. // The game version must be listed exactly (when set). The loader (when set) // matches if the file lists it, or if the file lists no loader tag at all diff --git a/api/internal/registry/curseforge_loaders_test.go b/api/internal/registry/curseforge_loaders_test.go new file mode 100644 index 000000000..1bba20fc0 --- /dev/null +++ b/api/internal/registry/curseforge_loaders_test.go @@ -0,0 +1,58 @@ +package registry + +import ( + "context" + "net/http" + "net/http/httptest" + "reflect" + "testing" +) + +func TestCurseforgeVersionsFillLoadersFromTags(t *testing.T) { + srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) { + _, _ = w.Write([]byte(`{"data":[ + {"id":1,"displayName":"nf","fileName":"nf.zip","downloadUrl":"https://edge.forgecdn.net/nf.zip","fileLength":1,"gameVersions":["1.21.1","NeoForge"],"releaseType":1,"fileDate":"2026-10-28T14:03:11Z"}, + {"id":2,"displayName":"multi","fileName":"m.zip","downloadUrl":"https://edge.forgecdn.net/m.zip","fileLength":1,"gameVersions":["Fabric","1.20.1","Quilt","fabric"],"releaseType":1,"fileDate":"2026-10-28T14:03:11Z"}, + {"id":3,"displayName":"none","fileName":"n.zip","downloadUrl":"https://edge.forgecdn.net/n.zip","fileLength":1,"gameVersions":["1.12.2","Java 8"],"releaseType":1,"fileDate":"2026-10-28T14:03:11Z"} + ]}`)) + })) + defer srv.Close() + + got, err := testCurseforgeGame(srv.URL, cfGameMinecraft).Versions(context.Background(), "925200", Filter{ProjectType: "modpack"}) + if err != nil { + t.Fatalf("Versions: %v", err) + } + if len(got) != 3 { + t.Fatalf("len = %d, want 3", len(got)) + } + wantLoaders := [][]string{{"neoforge"}, {"fabric", "quilt"}, nil} + for i, want := range wantLoaders { + if !reflect.DeepEqual(got[i].Loaders, want) { + t.Errorf("version %d Loaders = %v, want %v", i, got[i].Loaders, want) + } + } + // GameVersions stay as CurseForge lists them, loader tags included. + if want := []string{"1.21.1", "NeoForge"}; !reflect.DeepEqual(got[0].GameVersions, want) { + t.Errorf("GameVersions = %v, want %v", got[0].GameVersions, want) + } +} + +func TestCfLoaders(t *testing.T) { + cases := []struct { + name string + tags []string + want []string + }{ + {"all four loaders in tag order", []string{"Quilt", "NEOFORGE", "forge", "Fabric"}, []string{"quilt", "neoforge", "forge", "fabric"}}, + {"game versions only", []string{"1.21.1", "Client", "Server"}, nil}, + {"repeated loader collapses", []string{"Forge", "forge"}, []string{"forge"}}, + {"empty", nil, nil}, + } + for _, tc := range cases { + t.Run(tc.name, func(t *testing.T) { + if got := cfLoaders(tc.tags); !reflect.DeepEqual(got, tc.want) { + t.Errorf("cfLoaders(%v) = %v, want %v", tc.tags, got, tc.want) + } + }) + } +} diff --git a/api/internal/registry/curseforge_versions_paging_test.go b/api/internal/registry/curseforge_versions_paging_test.go new file mode 100644 index 000000000..cc1df36f9 --- /dev/null +++ b/api/internal/registry/curseforge_versions_paging_test.go @@ -0,0 +1,130 @@ +package registry + +import ( + "context" + "fmt" + "net/http" + "net/http/httptest" + "net/url" + "strconv" + "strings" + "sync" + "testing" +) + +// cfFilePage returns a CurseForge files response with n downloadable files +// whose ids start at firstID. +func cfFilePage(firstID, n int) string { + var b strings.Builder + b.WriteString(`{"data":[`) + for i := 0; i < n; i++ { + if i > 0 { + b.WriteString(",") + } + id := firstID + i + fmt.Fprintf(&b, `{"id":%d,"displayName":"f%d","fileName":"f%d.zip","downloadUrl":"https://edge.forgecdn.net/f%d.zip","fileLength":1,"gameVersions":["1.21.1","NeoForge"],"releaseType":1,"fileDate":"2026-10-28T14:03:11Z"}`, id, id, id, id) + } + b.WriteString(`]}`) + return b.String() +} + +// indexRecorder serves files pages by the request's index parameter and +// records each index it was asked for. +type indexRecorder struct { + mu sync.Mutex + indexes []string + serve func(index int) string +} + +func (r *indexRecorder) ServeHTTP(w http.ResponseWriter, req *http.Request) { + idx := req.URL.Query().Get("index") + r.mu.Lock() + r.indexes = append(r.indexes, idx) + r.mu.Unlock() + n, _ := strconv.Atoi(idx) + _, _ = w.Write([]byte(r.serve(n))) +} + +func TestCurseforgeVersionsUnfilteredPagesThroughFiles(t *testing.T) { + rec := &indexRecorder{serve: func(index int) string { + if index == 0 { + return cfFilePage(1, 50) + } + return cfFilePage(51, 3) + }} + srv := httptest.NewServer(rec) + defer srv.Close() + + got, err := testCurseforgeGame(srv.URL, cfGameMinecraft).Versions(context.Background(), "925200", Filter{ProjectType: "modpack"}) + if err != nil { + t.Fatalf("Versions: %v", err) + } + if len(got) != 53 { + t.Fatalf("len = %d, want 53 (50 + 3 files over two pages)", len(got)) + } + if got[52].ID != "53" { + t.Errorf("last ID = %s, want 53", got[52].ID) + } + if want := []string{"0", "50"}; strings.Join(rec.indexes, ",") != strings.Join(want, ",") { + t.Errorf("requested indexes = %v, want %v", rec.indexes, want) + } +} + +func TestCurseforgeVersionsUnfilteredHardCapsAtFivePages(t *testing.T) { + rec := &indexRecorder{serve: func(index int) string { + return cfFilePage(index+1, 50) + }} + srv := httptest.NewServer(rec) + defer srv.Close() + + got, err := testCurseforgeGame(srv.URL, cfGameMinecraft).Versions(context.Background(), "925200", Filter{ProjectType: "modpack"}) + if err != nil { + t.Fatalf("Versions: %v", err) + } + if len(got) != 250 { + t.Fatalf("len = %d, want the 250-file hard cap", len(got)) + } + if len(rec.indexes) != 5 { + t.Errorf("requests = %d, want 5", len(rec.indexes)) + } +} + +func TestCurseforgeVersionsFilteredPagesToo(t *testing.T) { + var mu sync.Mutex + var queries []url.Values + srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { + q := req.URL.Query() + mu.Lock() + queries = append(queries, q) + mu.Unlock() + if q.Get("index") == "0" { + _, _ = w.Write([]byte(cfFilePage(1, 50))) + return + } + _, _ = w.Write([]byte(cfFilePage(51, 2))) + })) + defer srv.Close() + + got, err := testCurseforgeGame(srv.URL, cfGameMinecraft).Versions(context.Background(), "925200", Filter{Loader: "neoforge", ProjectType: "modpack"}) + if err != nil { + t.Fatalf("Versions: %v", err) + } + if len(got) != 52 { + t.Fatalf("len = %d, want 52 (50 + 2 files over two pages)", len(got)) + } + if len(queries) != 2 { + t.Fatalf("filtered requests = %d, want 2", len(queries)) + } + wantLoader := strconv.Itoa(cfLoaderType("neoforge")) + for i, q := range queries { + if v := q.Get("modLoaderType"); v != wantLoader { + t.Errorf("request %d modLoaderType = %q, want %q", i, v, wantLoader) + } + if v := q.Get("pageSize"); v != strconv.Itoa(cfVersionsPageSize) { + t.Errorf("request %d pageSize = %q, want %d", i, v, cfVersionsPageSize) + } + } + if got := queries[1].Get("index"); got != strconv.Itoa(cfVersionsPageSize) { + t.Errorf("second request index = %q, want %d", got, cfVersionsPageSize) + } +} diff --git a/api/internal/registry/registry.go b/api/internal/registry/registry.go index 09f4eea40..d5444f0f0 100644 --- a/api/internal/registry/registry.go +++ b/api/internal/registry/registry.go @@ -83,7 +83,12 @@ type Version struct { ReleaseType string `json:"releaseType,omitempty"` // PublishedAt is RFC 3339 UTC; empty when unknown. PublishedAt string `json:"publishedAt,omitempty"` - Files []File `json:"files"` + // ServerVersion and ServerVersionName are set only by the handler's + // all-loaders modpack listing (spec 035 FR-014): the template version id + // and displayName of the server version this pack version runs on. + ServerVersion string `json:"serverVersion,omitempty"` + ServerVersionName string `json:"serverVersionName,omitempty"` + Files []File `json:"files"` } // SearchQuery is a normalized search request. Loader and GameVersion are diff --git a/api/specs.md b/api/specs.md index 52a19ac2b..fe746f989 100644 --- a/api/specs.md +++ b/api/specs.md @@ -169,7 +169,7 @@ The HTTP server listens on `:8000` (configurable) with these route groups. Prome - `/modules/catalog` — GET: merged catalog across sources, with installation state - `/modules/{name}/locales/{tag}` — GET: the module's translated messages for a language as a flat id → message map, read from the operator-written `-locales` ConfigMap. The tag falls back to its base language; an unknown or malformed tag, or a module without translations, returns `200 {}`; values are the validated ICU message strings, uncompiled. 404 only when the Module does not exist. Requires `modules:read`. - `/modules/builder/{archetypes,scaffold,validate,preview,export}` — module builder workflow -- `/servers/{name}/mods/registry/providers`, `/servers/{name}/mods/registry/search`, `/servers/{name}/mods/registry/projects/{project}/versions` (`?type=modpack` returns pack versions for the server's Minecraft version and loader, newest first), `/servers/{name}/mods/registry/projects/{project}/modpack` (GET, deps-mode packs) — live mod registry queries (CurseForge, Modrinth, FTB, Spigot, etc.) +- `/servers/{name}/mods/registry/providers`, `/servers/{name}/mods/registry/search`, `/servers/{name}/mods/registry/projects/{project}/versions` (`?type=modpack` returns pack versions for the server's Minecraft version and loader, newest first; with `allLoaders=true` it returns every version a template version entry runs, each with `serverVersion`/`serverVersionName`, and search drops the loader and version filters; POST `/servers/{name}/modpack` with `serverVersion` also switches `spec.version`, spec 035 FR-014), `/servers/{name}/mods/registry/projects/{project}/modpack` (GET, deps-mode packs) — live mod registry queries (CurseForge, Modrinth, FTB, Spigot, etc.) - `/servers/{name}/modpack` — GET: active pack, phase, backup, missing manual-download files; POST: install or change version (202, writes `spec.modpack` only); DELETE `?backupFirst=`: remove the pack (202, deletes `spec.modpack`, sets `gameplane.local/modpack-remove`). See [Modpacks (spec 035)](#modpacks-spec-035) - `/admin/registries/curseforge/share` — GET/PUT: admin toggle for sharing the managed CurseForge key with game servers (`config:manage`) - `/servers/{name}/mods/updates` — GET: available updates for a mod diff --git a/assets/design-export/fig/1-46380.fig b/assets/design-export/fig/1-46380.fig index 06aac60fb..3043cf06d 100644 Binary files a/assets/design-export/fig/1-46380.fig and b/assets/design-export/fig/1-46380.fig differ diff --git a/assets/design-export/fig/1-46381.fig b/assets/design-export/fig/1-46381.fig index 18b1a2e1c..3b7cdd4bb 100644 Binary files a/assets/design-export/fig/1-46381.fig and b/assets/design-export/fig/1-46381.fig differ diff --git a/assets/design-export/fig/1-46382.fig b/assets/design-export/fig/1-46382.fig index eacaf7fa1..1c7b26cae 100644 Binary files a/assets/design-export/fig/1-46382.fig and b/assets/design-export/fig/1-46382.fig differ diff --git a/assets/design-export/fig/1-46383.fig b/assets/design-export/fig/1-46383.fig index 89b8dc430..3b647a7ae 100644 Binary files a/assets/design-export/fig/1-46383.fig and b/assets/design-export/fig/1-46383.fig differ diff --git a/assets/design-export/fig/1-46384.fig b/assets/design-export/fig/1-46384.fig index bf8ce6c67..1bb024c54 100644 Binary files a/assets/design-export/fig/1-46384.fig and b/assets/design-export/fig/1-46384.fig differ diff --git a/assets/design-export/fig/1-46385.fig b/assets/design-export/fig/1-46385.fig index af6b13be7..f46b24b5a 100644 Binary files a/assets/design-export/fig/1-46385.fig and b/assets/design-export/fig/1-46385.fig differ diff --git a/assets/design-export/fig/1-46387.fig b/assets/design-export/fig/1-46387.fig index 68583d3ef..281c024ea 100644 Binary files a/assets/design-export/fig/1-46387.fig and b/assets/design-export/fig/1-46387.fig differ diff --git a/assets/design-export/fig/1-46388.fig b/assets/design-export/fig/1-46388.fig index 1f882f2e1..7a89809c0 100644 Binary files a/assets/design-export/fig/1-46388.fig and b/assets/design-export/fig/1-46388.fig differ diff --git a/assets/design-export/fig/1-46390.fig b/assets/design-export/fig/1-46390.fig index 18f755a72..1e3ef84e8 100644 Binary files a/assets/design-export/fig/1-46390.fig and b/assets/design-export/fig/1-46390.fig differ diff --git a/assets/design-export/fig/1-46391.fig b/assets/design-export/fig/1-46391.fig index 13a5622d1..e0ab4f910 100644 Binary files a/assets/design-export/fig/1-46391.fig and b/assets/design-export/fig/1-46391.fig differ diff --git a/assets/design-export/fig/1-46392.fig b/assets/design-export/fig/1-46392.fig index 0bdadfcb8..d94a38afa 100644 Binary files a/assets/design-export/fig/1-46392.fig and b/assets/design-export/fig/1-46392.fig differ diff --git a/assets/design-export/fig/1-46393.fig b/assets/design-export/fig/1-46393.fig index d4637e5c7..4eaef9184 100644 Binary files a/assets/design-export/fig/1-46393.fig and b/assets/design-export/fig/1-46393.fig differ diff --git a/assets/design-export/fig/1-46394.fig b/assets/design-export/fig/1-46394.fig index c552f141e..fe1b1bb7a 100644 Binary files a/assets/design-export/fig/1-46394.fig and b/assets/design-export/fig/1-46394.fig differ diff --git a/assets/design-export/fig/1-46395.fig b/assets/design-export/fig/1-46395.fig index ab7c9adb4..25f3def37 100644 Binary files a/assets/design-export/fig/1-46395.fig and b/assets/design-export/fig/1-46395.fig differ diff --git a/assets/design-export/fig/1-46396.fig b/assets/design-export/fig/1-46396.fig index 5f3282a6c..10a8eb43c 100644 Binary files a/assets/design-export/fig/1-46396.fig and b/assets/design-export/fig/1-46396.fig differ diff --git a/assets/design-export/fig/1-46397.fig b/assets/design-export/fig/1-46397.fig index 80078b25f..5e35b03d6 100644 Binary files a/assets/design-export/fig/1-46397.fig and b/assets/design-export/fig/1-46397.fig differ diff --git a/assets/design-export/fig/1-46398.fig b/assets/design-export/fig/1-46398.fig index 0bc8d1357..f90f9968b 100644 Binary files a/assets/design-export/fig/1-46398.fig and b/assets/design-export/fig/1-46398.fig differ diff --git a/assets/design-export/fig/1006926387-2294.fig b/assets/design-export/fig/1006926387-2294.fig index 56d583491..ea7a95d70 100644 Binary files a/assets/design-export/fig/1006926387-2294.fig and b/assets/design-export/fig/1006926387-2294.fig differ diff --git a/assets/design-export/fig/1006926387-2310.fig b/assets/design-export/fig/1006926387-2310.fig index 0e862acf4..f42666eeb 100644 Binary files a/assets/design-export/fig/1006926387-2310.fig and b/assets/design-export/fig/1006926387-2310.fig differ diff --git a/assets/design-export/fig/1041846705-1.fig b/assets/design-export/fig/1041846705-1.fig index 3e550585f..afe6aaeb4 100644 Binary files a/assets/design-export/fig/1041846705-1.fig and b/assets/design-export/fig/1041846705-1.fig differ diff --git a/assets/design-export/fig/1041846705-38.fig b/assets/design-export/fig/1041846705-38.fig index 35e36cc3d..f2b6d5182 100644 Binary files a/assets/design-export/fig/1041846705-38.fig and b/assets/design-export/fig/1041846705-38.fig differ diff --git a/assets/design-export/fig/1163467012-1553.fig b/assets/design-export/fig/1163467012-1553.fig index 1f9883715..2195d6492 100644 Binary files a/assets/design-export/fig/1163467012-1553.fig and b/assets/design-export/fig/1163467012-1553.fig differ diff --git a/assets/design-export/fig/1163467012-2214.fig b/assets/design-export/fig/1163467012-2214.fig index 8f3476d58..a60025db6 100644 Binary files a/assets/design-export/fig/1163467012-2214.fig and b/assets/design-export/fig/1163467012-2214.fig differ diff --git a/assets/design-export/fig/1163467012-2492.fig b/assets/design-export/fig/1163467012-2492.fig index 44224ac78..3a837e477 100644 Binary files a/assets/design-export/fig/1163467012-2492.fig and b/assets/design-export/fig/1163467012-2492.fig differ diff --git a/assets/design-export/fig/1163467012-259.fig b/assets/design-export/fig/1163467012-259.fig index 556c44a0d..86a8e98f0 100644 Binary files a/assets/design-export/fig/1163467012-259.fig and b/assets/design-export/fig/1163467012-259.fig differ diff --git a/assets/design-export/fig/1163467012-2680.fig b/assets/design-export/fig/1163467012-2680.fig index c1ff2e12a..0d0994ebc 100644 Binary files a/assets/design-export/fig/1163467012-2680.fig and b/assets/design-export/fig/1163467012-2680.fig differ diff --git a/assets/design-export/fig/1163467012-2868.fig b/assets/design-export/fig/1163467012-2868.fig index c62608e0e..d40c77adc 100644 Binary files a/assets/design-export/fig/1163467012-2868.fig and b/assets/design-export/fig/1163467012-2868.fig differ diff --git a/assets/design-export/fig/1163467012-3056.fig b/assets/design-export/fig/1163467012-3056.fig index f792ee34a..47fa39b1b 100644 Binary files a/assets/design-export/fig/1163467012-3056.fig and b/assets/design-export/fig/1163467012-3056.fig differ diff --git a/assets/design-export/fig/1163467012-3228.fig b/assets/design-export/fig/1163467012-3228.fig index 6a79448ec..57834c858 100644 Binary files a/assets/design-export/fig/1163467012-3228.fig and b/assets/design-export/fig/1163467012-3228.fig differ diff --git a/assets/design-export/fig/1163467012-906.fig b/assets/design-export/fig/1163467012-906.fig index 37c58d3a3..63815e21e 100644 Binary files a/assets/design-export/fig/1163467012-906.fig and b/assets/design-export/fig/1163467012-906.fig differ diff --git a/assets/design-export/fig/1210536257-22.fig b/assets/design-export/fig/1210536257-22.fig index 72bb86978..36e287ccc 100644 Binary files a/assets/design-export/fig/1210536257-22.fig and b/assets/design-export/fig/1210536257-22.fig differ diff --git a/assets/design-export/fig/1274632774-1258.fig b/assets/design-export/fig/1274632774-1258.fig index f6cf9d7dc..d6ce33fd6 100644 Binary files a/assets/design-export/fig/1274632774-1258.fig and b/assets/design-export/fig/1274632774-1258.fig differ diff --git a/assets/design-export/fig/1274632774-130.fig b/assets/design-export/fig/1274632774-130.fig index 9e3c6a7d4..4df79a0b6 100644 Binary files a/assets/design-export/fig/1274632774-130.fig and b/assets/design-export/fig/1274632774-130.fig differ diff --git a/assets/design-export/fig/1274632774-1722.fig b/assets/design-export/fig/1274632774-1722.fig index 45e133062..e30c7e5c3 100644 Binary files a/assets/design-export/fig/1274632774-1722.fig and b/assets/design-export/fig/1274632774-1722.fig differ diff --git a/assets/design-export/fig/1274632774-2112.fig b/assets/design-export/fig/1274632774-2112.fig index 23f13e71a..becdcb558 100644 Binary files a/assets/design-export/fig/1274632774-2112.fig and b/assets/design-export/fig/1274632774-2112.fig differ diff --git a/assets/design-export/fig/1274632774-2492.fig b/assets/design-export/fig/1274632774-2492.fig index b1949243e..ed55cef1e 100644 Binary files a/assets/design-export/fig/1274632774-2492.fig and b/assets/design-export/fig/1274632774-2492.fig differ diff --git a/assets/design-export/fig/1274632774-2877.fig b/assets/design-export/fig/1274632774-2877.fig index db981e0d6..2b5dc0875 100644 Binary files a/assets/design-export/fig/1274632774-2877.fig and b/assets/design-export/fig/1274632774-2877.fig differ diff --git a/assets/design-export/fig/1274632774-3217.fig b/assets/design-export/fig/1274632774-3217.fig index 9ac89853e..e60a4c284 100644 Binary files a/assets/design-export/fig/1274632774-3217.fig and b/assets/design-export/fig/1274632774-3217.fig differ diff --git a/assets/design-export/fig/1274632774-3559.fig b/assets/design-export/fig/1274632774-3559.fig index ca540f899..66f4b54d2 100644 Binary files a/assets/design-export/fig/1274632774-3559.fig and b/assets/design-export/fig/1274632774-3559.fig differ diff --git a/assets/design-export/fig/1274632774-3890.fig b/assets/design-export/fig/1274632774-3890.fig index 465d52bd9..591247643 100644 Binary files a/assets/design-export/fig/1274632774-3890.fig and b/assets/design-export/fig/1274632774-3890.fig differ diff --git a/assets/design-export/fig/1274632774-4001.fig b/assets/design-export/fig/1274632774-4001.fig index b6fbe9c6a..791519fe0 100644 Binary files a/assets/design-export/fig/1274632774-4001.fig and b/assets/design-export/fig/1274632774-4001.fig differ diff --git a/assets/design-export/fig/1274632774-4260.fig b/assets/design-export/fig/1274632774-4260.fig index ca561d6de..295c48592 100644 Binary files a/assets/design-export/fig/1274632774-4260.fig and b/assets/design-export/fig/1274632774-4260.fig differ diff --git a/assets/design-export/fig/1274632774-470.fig b/assets/design-export/fig/1274632774-470.fig index adbcd8ea0..5e5901038 100644 Binary files a/assets/design-export/fig/1274632774-470.fig and b/assets/design-export/fig/1274632774-470.fig differ diff --git a/assets/design-export/fig/1274632774-907.fig b/assets/design-export/fig/1274632774-907.fig index 96533e6c3..d4e76aed7 100644 Binary files a/assets/design-export/fig/1274632774-907.fig and b/assets/design-export/fig/1274632774-907.fig differ diff --git a/assets/design-export/fig/1494270493-26.fig b/assets/design-export/fig/1494270493-26.fig index 309a4bffd..7cc6bcca7 100644 Binary files a/assets/design-export/fig/1494270493-26.fig and b/assets/design-export/fig/1494270493-26.fig differ diff --git a/assets/design-export/fig/1730846790-11.fig b/assets/design-export/fig/1730846790-11.fig new file mode 100644 index 000000000..f89d1feeb Binary files /dev/null and b/assets/design-export/fig/1730846790-11.fig differ diff --git a/assets/design-export/fig/1730846790-1140.fig b/assets/design-export/fig/1730846790-1140.fig new file mode 100644 index 000000000..66fc8687b Binary files /dev/null and b/assets/design-export/fig/1730846790-1140.fig differ diff --git a/assets/design-export/fig/1730846790-322.fig b/assets/design-export/fig/1730846790-322.fig new file mode 100644 index 000000000..12a252071 Binary files /dev/null and b/assets/design-export/fig/1730846790-322.fig differ diff --git a/assets/design-export/fig/1730846790-741.fig b/assets/design-export/fig/1730846790-741.fig new file mode 100644 index 000000000..91f95d41e Binary files /dev/null and b/assets/design-export/fig/1730846790-741.fig differ diff --git a/assets/design-export/fig/2044649516-1099.fig b/assets/design-export/fig/2044649516-1099.fig index 35cd4c21b..12704a566 100644 Binary files a/assets/design-export/fig/2044649516-1099.fig and b/assets/design-export/fig/2044649516-1099.fig differ diff --git a/assets/design-export/fig/2044649516-13.fig b/assets/design-export/fig/2044649516-13.fig index fdefb1915..28adbfa91 100644 Binary files a/assets/design-export/fig/2044649516-13.fig and b/assets/design-export/fig/2044649516-13.fig differ diff --git a/assets/design-export/fig/2044649516-1687.fig b/assets/design-export/fig/2044649516-1687.fig index 4a464b300..2f120a915 100644 Binary files a/assets/design-export/fig/2044649516-1687.fig and b/assets/design-export/fig/2044649516-1687.fig differ diff --git a/assets/design-export/fig/2044649516-2282.fig b/assets/design-export/fig/2044649516-2282.fig index 756745dcd..c5a373cd7 100644 Binary files a/assets/design-export/fig/2044649516-2282.fig and b/assets/design-export/fig/2044649516-2282.fig differ diff --git a/assets/design-export/fig/2044649516-2862.fig b/assets/design-export/fig/2044649516-2862.fig index 1fbb15b11..2fc75ab1a 100644 Binary files a/assets/design-export/fig/2044649516-2862.fig and b/assets/design-export/fig/2044649516-2862.fig differ diff --git a/assets/design-export/fig/2044649516-2982.fig b/assets/design-export/fig/2044649516-2982.fig index 5f12ed9e6..70d90084a 100644 Binary files a/assets/design-export/fig/2044649516-2982.fig and b/assets/design-export/fig/2044649516-2982.fig differ diff --git a/assets/design-export/fig/2044649516-579.fig b/assets/design-export/fig/2044649516-579.fig index 0c6ed4752..aef7c6e4c 100644 Binary files a/assets/design-export/fig/2044649516-579.fig and b/assets/design-export/fig/2044649516-579.fig differ diff --git a/assets/design-export/fig/46479436-2.fig b/assets/design-export/fig/46479436-2.fig index 40c85bc10..e9b03faba 100644 Binary files a/assets/design-export/fig/46479436-2.fig and b/assets/design-export/fig/46479436-2.fig differ diff --git a/assets/design-export/fig/901437436-1.fig b/assets/design-export/fig/901437436-1.fig index a6f405b2d..2766a5df3 100644 Binary files a/assets/design-export/fig/901437436-1.fig and b/assets/design-export/fig/901437436-1.fig differ diff --git a/assets/design-export/fig/901437436-1393.fig b/assets/design-export/fig/901437436-1393.fig index 9ea90c926..b5b342a56 100644 Binary files a/assets/design-export/fig/901437436-1393.fig and b/assets/design-export/fig/901437436-1393.fig differ diff --git a/assets/design-export/fig/901437436-1857.fig b/assets/design-export/fig/901437436-1857.fig index f613bc6fb..d653fddce 100644 Binary files a/assets/design-export/fig/901437436-1857.fig and b/assets/design-export/fig/901437436-1857.fig differ diff --git a/assets/design-export/fig/901437436-2321.fig b/assets/design-export/fig/901437436-2321.fig index bc799521d..9d673f944 100644 Binary files a/assets/design-export/fig/901437436-2321.fig and b/assets/design-export/fig/901437436-2321.fig differ diff --git a/assets/design-export/fig/901437436-2785.fig b/assets/design-export/fig/901437436-2785.fig index ec0d0e2f1..ecd66ea80 100644 Binary files a/assets/design-export/fig/901437436-2785.fig and b/assets/design-export/fig/901437436-2785.fig differ diff --git a/assets/design-export/fig/901437436-3249.fig b/assets/design-export/fig/901437436-3249.fig index 684bbf1d7..261a70c3c 100644 Binary files a/assets/design-export/fig/901437436-3249.fig and b/assets/design-export/fig/901437436-3249.fig differ diff --git a/assets/design-export/fig/901437436-3713.fig b/assets/design-export/fig/901437436-3713.fig index f4ef753cd..cc42b4f7e 100644 Binary files a/assets/design-export/fig/901437436-3713.fig and b/assets/design-export/fig/901437436-3713.fig differ diff --git a/assets/design-export/fig/901437436-465.fig b/assets/design-export/fig/901437436-465.fig index 0af4ef332..cb900f9e6 100644 Binary files a/assets/design-export/fig/901437436-465.fig and b/assets/design-export/fig/901437436-465.fig differ diff --git a/assets/design-export/fig/901437436-929.fig b/assets/design-export/fig/901437436-929.fig index 9d4660202..40eca2e2f 100644 Binary files a/assets/design-export/fig/901437436-929.fig and b/assets/design-export/fig/901437436-929.fig differ diff --git a/assets/design-export/fig/A8vGwM.fig b/assets/design-export/fig/A8vGwM.fig index c408937fa..2acbd34f9 100644 Binary files a/assets/design-export/fig/A8vGwM.fig and b/assets/design-export/fig/A8vGwM.fig differ diff --git a/assets/design-export/fig/B57dG.fig b/assets/design-export/fig/B57dG.fig index d7eda6ac1..efb552fdc 100644 Binary files a/assets/design-export/fig/B57dG.fig and b/assets/design-export/fig/B57dG.fig differ diff --git a/assets/design-export/fig/Bbnga.fig b/assets/design-export/fig/Bbnga.fig index 3c437e15a..961fed656 100644 Binary files a/assets/design-export/fig/Bbnga.fig and b/assets/design-export/fig/Bbnga.fig differ diff --git a/assets/design-export/fig/BdmAW.fig b/assets/design-export/fig/BdmAW.fig index 48913ed59..d2c923280 100644 Binary files a/assets/design-export/fig/BdmAW.fig and b/assets/design-export/fig/BdmAW.fig differ diff --git a/assets/design-export/fig/Be7ZW.fig b/assets/design-export/fig/Be7ZW.fig index 7faf2a25a..1f61a4dc6 100644 Binary files a/assets/design-export/fig/Be7ZW.fig and b/assets/design-export/fig/Be7ZW.fig differ diff --git a/assets/design-export/fig/BguST.fig b/assets/design-export/fig/BguST.fig index afe590027..5015acddb 100644 Binary files a/assets/design-export/fig/BguST.fig and b/assets/design-export/fig/BguST.fig differ diff --git a/assets/design-export/fig/Bq2Yg.fig b/assets/design-export/fig/Bq2Yg.fig index e859d9024..56969bcc0 100644 Binary files a/assets/design-export/fig/Bq2Yg.fig and b/assets/design-export/fig/Bq2Yg.fig differ diff --git a/assets/design-export/fig/C2LQE4.fig b/assets/design-export/fig/C2LQE4.fig index 65f9017cf..ae79695e3 100644 Binary files a/assets/design-export/fig/C2LQE4.fig and b/assets/design-export/fig/C2LQE4.fig differ diff --git a/assets/design-export/fig/C5Aoe.fig b/assets/design-export/fig/C5Aoe.fig index 51653ab36..be5ea3f7a 100644 Binary files a/assets/design-export/fig/C5Aoe.fig and b/assets/design-export/fig/C5Aoe.fig differ diff --git a/assets/design-export/fig/C9bR6.fig b/assets/design-export/fig/C9bR6.fig index e40dd32d4..7093d35e9 100644 Binary files a/assets/design-export/fig/C9bR6.fig and b/assets/design-export/fig/C9bR6.fig differ diff --git a/assets/design-export/fig/Cb3eC.fig b/assets/design-export/fig/Cb3eC.fig index 8588d3dc0..500150b1c 100644 Binary files a/assets/design-export/fig/Cb3eC.fig and b/assets/design-export/fig/Cb3eC.fig differ diff --git a/assets/design-export/fig/D9QYZ.fig b/assets/design-export/fig/D9QYZ.fig index 56409041d..d2d40ce41 100644 Binary files a/assets/design-export/fig/D9QYZ.fig and b/assets/design-export/fig/D9QYZ.fig differ diff --git a/assets/design-export/fig/DBQyF.fig b/assets/design-export/fig/DBQyF.fig index 4a484528e..6dd6dd51d 100644 Binary files a/assets/design-export/fig/DBQyF.fig and b/assets/design-export/fig/DBQyF.fig differ diff --git a/assets/design-export/fig/DMnEi.fig b/assets/design-export/fig/DMnEi.fig index 3bfd579ea..878282cf2 100644 Binary files a/assets/design-export/fig/DMnEi.fig and b/assets/design-export/fig/DMnEi.fig differ diff --git a/assets/design-export/fig/DWztv.fig b/assets/design-export/fig/DWztv.fig index 415bf0e30..f3a153331 100644 Binary files a/assets/design-export/fig/DWztv.fig and b/assets/design-export/fig/DWztv.fig differ diff --git a/assets/design-export/fig/Dpb9f.fig b/assets/design-export/fig/Dpb9f.fig index 4ae349ea4..a31626e2e 100644 Binary files a/assets/design-export/fig/Dpb9f.fig and b/assets/design-export/fig/Dpb9f.fig differ diff --git a/assets/design-export/fig/DxKOh.fig b/assets/design-export/fig/DxKOh.fig index 7b642a020..6b472b2fe 100644 Binary files a/assets/design-export/fig/DxKOh.fig and b/assets/design-export/fig/DxKOh.fig differ diff --git a/assets/design-export/fig/E9EEv0.fig b/assets/design-export/fig/E9EEv0.fig index 6edb3fe5b..6b728c938 100644 Binary files a/assets/design-export/fig/E9EEv0.fig and b/assets/design-export/fig/E9EEv0.fig differ diff --git a/assets/design-export/fig/EKJyM.fig b/assets/design-export/fig/EKJyM.fig index 7879bbcaa..c5e367557 100644 Binary files a/assets/design-export/fig/EKJyM.fig and b/assets/design-export/fig/EKJyM.fig differ diff --git a/assets/design-export/fig/EWrn0.fig b/assets/design-export/fig/EWrn0.fig index 9d882b546..108610208 100644 Binary files a/assets/design-export/fig/EWrn0.fig and b/assets/design-export/fig/EWrn0.fig differ diff --git a/assets/design-export/fig/EcoGD.fig b/assets/design-export/fig/EcoGD.fig index 59487697d..84f7ceebd 100644 Binary files a/assets/design-export/fig/EcoGD.fig and b/assets/design-export/fig/EcoGD.fig differ diff --git a/assets/design-export/fig/F9pUrx.fig b/assets/design-export/fig/F9pUrx.fig index c103c17e5..199bc1bd5 100644 Binary files a/assets/design-export/fig/F9pUrx.fig and b/assets/design-export/fig/F9pUrx.fig differ diff --git a/assets/design-export/fig/FBiMN.fig b/assets/design-export/fig/FBiMN.fig index 025a710bc..8e1dc6e50 100644 Binary files a/assets/design-export/fig/FBiMN.fig and b/assets/design-export/fig/FBiMN.fig differ diff --git a/assets/design-export/fig/FOVMf.fig b/assets/design-export/fig/FOVMf.fig index 9566c1410..f1b8cee92 100644 Binary files a/assets/design-export/fig/FOVMf.fig and b/assets/design-export/fig/FOVMf.fig differ diff --git a/assets/design-export/fig/GR1G9.fig b/assets/design-export/fig/GR1G9.fig index ae2f7c14f..315da422b 100644 Binary files a/assets/design-export/fig/GR1G9.fig and b/assets/design-export/fig/GR1G9.fig differ diff --git a/assets/design-export/fig/GsofJ.fig b/assets/design-export/fig/GsofJ.fig index 529c28227..270e1f1bb 100644 Binary files a/assets/design-export/fig/GsofJ.fig and b/assets/design-export/fig/GsofJ.fig differ diff --git a/assets/design-export/fig/HVhmb.fig b/assets/design-export/fig/HVhmb.fig index 9daa5f98d..4a077af98 100644 Binary files a/assets/design-export/fig/HVhmb.fig and b/assets/design-export/fig/HVhmb.fig differ diff --git a/assets/design-export/fig/Hy9r0.fig b/assets/design-export/fig/Hy9r0.fig index 315a6caab..f083d98b1 100644 Binary files a/assets/design-export/fig/Hy9r0.fig and b/assets/design-export/fig/Hy9r0.fig differ diff --git a/assets/design-export/fig/IBUqJ.fig b/assets/design-export/fig/IBUqJ.fig index e9e9409ba..9fd5f09c5 100644 Binary files a/assets/design-export/fig/IBUqJ.fig and b/assets/design-export/fig/IBUqJ.fig differ diff --git a/assets/design-export/fig/IMSD5.fig b/assets/design-export/fig/IMSD5.fig index 603dc7ca2..bb3e4204f 100644 Binary files a/assets/design-export/fig/IMSD5.fig and b/assets/design-export/fig/IMSD5.fig differ diff --git a/assets/design-export/fig/IdbiB.fig b/assets/design-export/fig/IdbiB.fig index 4960738ca..08a3506ae 100644 Binary files a/assets/design-export/fig/IdbiB.fig and b/assets/design-export/fig/IdbiB.fig differ diff --git a/assets/design-export/fig/IyMFM.fig b/assets/design-export/fig/IyMFM.fig index f9f862026..49910fab1 100644 Binary files a/assets/design-export/fig/IyMFM.fig and b/assets/design-export/fig/IyMFM.fig differ diff --git a/assets/design-export/fig/IzuY2.fig b/assets/design-export/fig/IzuY2.fig index 3b095980a..5631849e5 100644 Binary files a/assets/design-export/fig/IzuY2.fig and b/assets/design-export/fig/IzuY2.fig differ diff --git a/assets/design-export/fig/J8GzM9.fig b/assets/design-export/fig/J8GzM9.fig index a721f8fa8..3b00149a3 100644 Binary files a/assets/design-export/fig/J8GzM9.fig and b/assets/design-export/fig/J8GzM9.fig differ diff --git a/assets/design-export/fig/K5XinZ.fig b/assets/design-export/fig/K5XinZ.fig index e4379bb39..c7fed0749 100644 Binary files a/assets/design-export/fig/K5XinZ.fig and b/assets/design-export/fig/K5XinZ.fig differ diff --git a/assets/design-export/fig/KJdxg.fig b/assets/design-export/fig/KJdxg.fig index 39ecfc1c5..664cbeae3 100644 Binary files a/assets/design-export/fig/KJdxg.fig and b/assets/design-export/fig/KJdxg.fig differ diff --git a/assets/design-export/fig/KhYNc.fig b/assets/design-export/fig/KhYNc.fig index 04e927ed7..a0dcb63a2 100644 Binary files a/assets/design-export/fig/KhYNc.fig and b/assets/design-export/fig/KhYNc.fig differ diff --git a/assets/design-export/fig/LYPXU.fig b/assets/design-export/fig/LYPXU.fig index d67c6b6ab..9cf76cdc7 100644 Binary files a/assets/design-export/fig/LYPXU.fig and b/assets/design-export/fig/LYPXU.fig differ diff --git a/assets/design-export/fig/M2sA4u.fig b/assets/design-export/fig/M2sA4u.fig index eb3310806..059edc77e 100644 Binary files a/assets/design-export/fig/M2sA4u.fig and b/assets/design-export/fig/M2sA4u.fig differ diff --git a/assets/design-export/fig/MaoHP.fig b/assets/design-export/fig/MaoHP.fig index 1c7a121e5..197a3f9db 100644 Binary files a/assets/design-export/fig/MaoHP.fig and b/assets/design-export/fig/MaoHP.fig differ diff --git a/assets/design-export/fig/N2nTf.fig b/assets/design-export/fig/N2nTf.fig index 9cc49ab6c..d265cbde9 100644 Binary files a/assets/design-export/fig/N2nTf.fig and b/assets/design-export/fig/N2nTf.fig differ diff --git a/assets/design-export/fig/NKiqf.fig b/assets/design-export/fig/NKiqf.fig index 22b4652ef..dcf48e970 100644 Binary files a/assets/design-export/fig/NKiqf.fig and b/assets/design-export/fig/NKiqf.fig differ diff --git a/assets/design-export/fig/NLDDv.fig b/assets/design-export/fig/NLDDv.fig index 42196ffc1..e4c53412f 100644 Binary files a/assets/design-export/fig/NLDDv.fig and b/assets/design-export/fig/NLDDv.fig differ diff --git a/assets/design-export/fig/NLu2I.fig b/assets/design-export/fig/NLu2I.fig index efc05868e..e2ac63f97 100644 Binary files a/assets/design-export/fig/NLu2I.fig and b/assets/design-export/fig/NLu2I.fig differ diff --git a/assets/design-export/fig/Ne5TA.fig b/assets/design-export/fig/Ne5TA.fig index fadd4b118..2270aafc2 100644 Binary files a/assets/design-export/fig/Ne5TA.fig and b/assets/design-export/fig/Ne5TA.fig differ diff --git a/assets/design-export/fig/NqaaU.fig b/assets/design-export/fig/NqaaU.fig index b70b2776a..649b4e78a 100644 Binary files a/assets/design-export/fig/NqaaU.fig and b/assets/design-export/fig/NqaaU.fig differ diff --git a/assets/design-export/fig/O08uaD.fig b/assets/design-export/fig/O08uaD.fig index 0952d5009..3acb162fa 100644 Binary files a/assets/design-export/fig/O08uaD.fig and b/assets/design-export/fig/O08uaD.fig differ diff --git a/assets/design-export/fig/O5kaV.fig b/assets/design-export/fig/O5kaV.fig index 41bb2639f..2b34970ec 100644 Binary files a/assets/design-export/fig/O5kaV.fig and b/assets/design-export/fig/O5kaV.fig differ diff --git a/assets/design-export/fig/OC804.fig b/assets/design-export/fig/OC804.fig index 8ff7b479f..a51e321cd 100644 Binary files a/assets/design-export/fig/OC804.fig and b/assets/design-export/fig/OC804.fig differ diff --git a/assets/design-export/fig/OecJ5.fig b/assets/design-export/fig/OecJ5.fig index a00cfc117..e2a098aef 100644 Binary files a/assets/design-export/fig/OecJ5.fig and b/assets/design-export/fig/OecJ5.fig differ diff --git a/assets/design-export/fig/QFEg9.fig b/assets/design-export/fig/QFEg9.fig index 20fb311d4..32838c06a 100644 Binary files a/assets/design-export/fig/QFEg9.fig and b/assets/design-export/fig/QFEg9.fig differ diff --git a/assets/design-export/fig/QQtUD.fig b/assets/design-export/fig/QQtUD.fig index 5be1f068b..50367ae63 100644 Binary files a/assets/design-export/fig/QQtUD.fig and b/assets/design-export/fig/QQtUD.fig differ diff --git a/assets/design-export/fig/QgW58.fig b/assets/design-export/fig/QgW58.fig index d44ee79c5..5b7808682 100644 Binary files a/assets/design-export/fig/QgW58.fig and b/assets/design-export/fig/QgW58.fig differ diff --git a/assets/design-export/fig/QpEvu.fig b/assets/design-export/fig/QpEvu.fig index e173e863c..8b53dda62 100644 Binary files a/assets/design-export/fig/QpEvu.fig and b/assets/design-export/fig/QpEvu.fig differ diff --git a/assets/design-export/fig/RC3Kf.fig b/assets/design-export/fig/RC3Kf.fig index 71291e5ff..e9275d9e8 100644 Binary files a/assets/design-export/fig/RC3Kf.fig and b/assets/design-export/fig/RC3Kf.fig differ diff --git a/assets/design-export/fig/RS0KZ.fig b/assets/design-export/fig/RS0KZ.fig index 62a2c813a..8a4689931 100644 Binary files a/assets/design-export/fig/RS0KZ.fig and b/assets/design-export/fig/RS0KZ.fig differ diff --git a/assets/design-export/fig/RodrS.fig b/assets/design-export/fig/RodrS.fig index 97e932c84..ea124f1bc 100644 Binary files a/assets/design-export/fig/RodrS.fig and b/assets/design-export/fig/RodrS.fig differ diff --git a/assets/design-export/fig/SUcad.fig b/assets/design-export/fig/SUcad.fig index 0ce895604..e2027bdc5 100644 Binary files a/assets/design-export/fig/SUcad.fig and b/assets/design-export/fig/SUcad.fig differ diff --git a/assets/design-export/fig/SUtGZ.fig b/assets/design-export/fig/SUtGZ.fig index e465b5434..2a9970240 100644 Binary files a/assets/design-export/fig/SUtGZ.fig and b/assets/design-export/fig/SUtGZ.fig differ diff --git a/assets/design-export/fig/SeizD.fig b/assets/design-export/fig/SeizD.fig index 3c3f26cb8..c88bb63de 100644 Binary files a/assets/design-export/fig/SeizD.fig and b/assets/design-export/fig/SeizD.fig differ diff --git a/assets/design-export/fig/T1wkiT.fig b/assets/design-export/fig/T1wkiT.fig index 909192fa0..45c9eb2e1 100644 Binary files a/assets/design-export/fig/T1wkiT.fig and b/assets/design-export/fig/T1wkiT.fig differ diff --git a/assets/design-export/fig/T70dJ.fig b/assets/design-export/fig/T70dJ.fig index 8f83654c8..c8a155eaa 100644 Binary files a/assets/design-export/fig/T70dJ.fig and b/assets/design-export/fig/T70dJ.fig differ diff --git a/assets/design-export/fig/TBvTC.fig b/assets/design-export/fig/TBvTC.fig index 3cdc2e7bd..139b39440 100644 Binary files a/assets/design-export/fig/TBvTC.fig and b/assets/design-export/fig/TBvTC.fig differ diff --git a/assets/design-export/fig/TE2jI.fig b/assets/design-export/fig/TE2jI.fig index f7c42abe5..a608c4fe4 100644 Binary files a/assets/design-export/fig/TE2jI.fig and b/assets/design-export/fig/TE2jI.fig differ diff --git a/assets/design-export/fig/U9xSg.fig b/assets/design-export/fig/U9xSg.fig index a48c43daf..c127c08fb 100644 Binary files a/assets/design-export/fig/U9xSg.fig and b/assets/design-export/fig/U9xSg.fig differ diff --git a/assets/design-export/fig/UCNBm.fig b/assets/design-export/fig/UCNBm.fig index eb8a02a1a..3f24780a4 100644 Binary files a/assets/design-export/fig/UCNBm.fig and b/assets/design-export/fig/UCNBm.fig differ diff --git a/assets/design-export/fig/UdnBT.fig b/assets/design-export/fig/UdnBT.fig index 775ddceca..a980ad453 100644 Binary files a/assets/design-export/fig/UdnBT.fig and b/assets/design-export/fig/UdnBT.fig differ diff --git a/assets/design-export/fig/Uzzje.fig b/assets/design-export/fig/Uzzje.fig index 57d894faf..1d8642edb 100644 Binary files a/assets/design-export/fig/Uzzje.fig and b/assets/design-export/fig/Uzzje.fig differ diff --git a/assets/design-export/fig/VM7ro.fig b/assets/design-export/fig/VM7ro.fig index 2697c9605..36aacf406 100644 Binary files a/assets/design-export/fig/VM7ro.fig and b/assets/design-export/fig/VM7ro.fig differ diff --git a/assets/design-export/fig/VctzT.fig b/assets/design-export/fig/VctzT.fig index 6c1d0b422..a11e74757 100644 Binary files a/assets/design-export/fig/VctzT.fig and b/assets/design-export/fig/VctzT.fig differ diff --git a/assets/design-export/fig/WZdnw.fig b/assets/design-export/fig/WZdnw.fig index d62f39cc1..1f30eaf38 100644 Binary files a/assets/design-export/fig/WZdnw.fig and b/assets/design-export/fig/WZdnw.fig differ diff --git a/assets/design-export/fig/Wj0V4.fig b/assets/design-export/fig/Wj0V4.fig index 1db50380a..d769f349c 100644 Binary files a/assets/design-export/fig/Wj0V4.fig and b/assets/design-export/fig/Wj0V4.fig differ diff --git a/assets/design-export/fig/WrmU5.fig b/assets/design-export/fig/WrmU5.fig index 193b4d17d..9996201d5 100644 Binary files a/assets/design-export/fig/WrmU5.fig and b/assets/design-export/fig/WrmU5.fig differ diff --git a/assets/design-export/fig/X405l.fig b/assets/design-export/fig/X405l.fig index 71b295280..df60f5716 100644 Binary files a/assets/design-export/fig/X405l.fig and b/assets/design-export/fig/X405l.fig differ diff --git a/assets/design-export/fig/XR0f9.fig b/assets/design-export/fig/XR0f9.fig index 58d97bf3d..f37ee72b0 100644 Binary files a/assets/design-export/fig/XR0f9.fig and b/assets/design-export/fig/XR0f9.fig differ diff --git a/assets/design-export/fig/YN8cE.fig b/assets/design-export/fig/YN8cE.fig index b0d470905..adbcd09d7 100644 Binary files a/assets/design-export/fig/YN8cE.fig and b/assets/design-export/fig/YN8cE.fig differ diff --git a/assets/design-export/fig/YPKbV.fig b/assets/design-export/fig/YPKbV.fig index 017bcbb10..ed5731544 100644 Binary files a/assets/design-export/fig/YPKbV.fig and b/assets/design-export/fig/YPKbV.fig differ diff --git a/assets/design-export/fig/Z0oyh.fig b/assets/design-export/fig/Z0oyh.fig index 6539f9e3f..4e92b0832 100644 Binary files a/assets/design-export/fig/Z0oyh.fig and b/assets/design-export/fig/Z0oyh.fig differ diff --git a/assets/design-export/fig/ZU1BG.fig b/assets/design-export/fig/ZU1BG.fig index ae4372676..db96989c5 100644 Binary files a/assets/design-export/fig/ZU1BG.fig and b/assets/design-export/fig/ZU1BG.fig differ diff --git a/assets/design-export/fig/ZUAq1.fig b/assets/design-export/fig/ZUAq1.fig index 676f4a0ff..899a7f3bb 100644 Binary files a/assets/design-export/fig/ZUAq1.fig and b/assets/design-export/fig/ZUAq1.fig differ diff --git a/assets/design-export/fig/ZlLf0.fig b/assets/design-export/fig/ZlLf0.fig index 4bab967a7..6b0d0578d 100644 Binary files a/assets/design-export/fig/ZlLf0.fig and b/assets/design-export/fig/ZlLf0.fig differ diff --git a/assets/design-export/fig/a7o9C.fig b/assets/design-export/fig/a7o9C.fig index c7a5d0634..aad067177 100644 Binary files a/assets/design-export/fig/a7o9C.fig and b/assets/design-export/fig/a7o9C.fig differ diff --git a/assets/design-export/fig/aMU7O.fig b/assets/design-export/fig/aMU7O.fig index f46c5f83b..b851cf015 100644 Binary files a/assets/design-export/fig/aMU7O.fig and b/assets/design-export/fig/aMU7O.fig differ diff --git a/assets/design-export/fig/akr4I.fig b/assets/design-export/fig/akr4I.fig index 9cdce75d0..cba777036 100644 Binary files a/assets/design-export/fig/akr4I.fig and b/assets/design-export/fig/akr4I.fig differ diff --git a/assets/design-export/fig/atqRh.fig b/assets/design-export/fig/atqRh.fig index 8228e419a..106914191 100644 Binary files a/assets/design-export/fig/atqRh.fig and b/assets/design-export/fig/atqRh.fig differ diff --git a/assets/design-export/fig/b4eaUf.fig b/assets/design-export/fig/b4eaUf.fig index e488fff88..75243ff49 100644 Binary files a/assets/design-export/fig/b4eaUf.fig and b/assets/design-export/fig/b4eaUf.fig differ diff --git a/assets/design-export/fig/bYDHC.fig b/assets/design-export/fig/bYDHC.fig index cfefce47f..8770173b0 100644 Binary files a/assets/design-export/fig/bYDHC.fig and b/assets/design-export/fig/bYDHC.fig differ diff --git a/assets/design-export/fig/cDiNb.fig b/assets/design-export/fig/cDiNb.fig index df5c0ab0d..474f2f60c 100644 Binary files a/assets/design-export/fig/cDiNb.fig and b/assets/design-export/fig/cDiNb.fig differ diff --git a/assets/design-export/fig/dBILX.fig b/assets/design-export/fig/dBILX.fig index 851d80ee2..6bce65cb5 100644 Binary files a/assets/design-export/fig/dBILX.fig and b/assets/design-export/fig/dBILX.fig differ diff --git a/assets/design-export/fig/dQV9N.fig b/assets/design-export/fig/dQV9N.fig index 2915f6fcb..ead0e9ba1 100644 Binary files a/assets/design-export/fig/dQV9N.fig and b/assets/design-export/fig/dQV9N.fig differ diff --git a/assets/design-export/fig/dhPtX.fig b/assets/design-export/fig/dhPtX.fig index fa826c1ed..d53a90cde 100644 Binary files a/assets/design-export/fig/dhPtX.fig and b/assets/design-export/fig/dhPtX.fig differ diff --git a/assets/design-export/fig/dxdEi.fig b/assets/design-export/fig/dxdEi.fig index 34a3a0e57..23054a848 100644 Binary files a/assets/design-export/fig/dxdEi.fig and b/assets/design-export/fig/dxdEi.fig differ diff --git a/assets/design-export/fig/e9FnC.fig b/assets/design-export/fig/e9FnC.fig index 07ea9183c..62433fe65 100644 Binary files a/assets/design-export/fig/e9FnC.fig and b/assets/design-export/fig/e9FnC.fig differ diff --git a/assets/design-export/fig/e9lV4.fig b/assets/design-export/fig/e9lV4.fig index abf0d8586..70ee39b5a 100644 Binary files a/assets/design-export/fig/e9lV4.fig and b/assets/design-export/fig/e9lV4.fig differ diff --git a/assets/design-export/fig/eGbsg.fig b/assets/design-export/fig/eGbsg.fig index 8d02121f2..8e85f0bf1 100644 Binary files a/assets/design-export/fig/eGbsg.fig and b/assets/design-export/fig/eGbsg.fig differ diff --git a/assets/design-export/fig/epZO2.fig b/assets/design-export/fig/epZO2.fig index e08842b4a..e5932ae33 100644 Binary files a/assets/design-export/fig/epZO2.fig and b/assets/design-export/fig/epZO2.fig differ diff --git a/assets/design-export/fig/fbBqA.fig b/assets/design-export/fig/fbBqA.fig index 4d947e0e2..3eadebafc 100644 Binary files a/assets/design-export/fig/fbBqA.fig and b/assets/design-export/fig/fbBqA.fig differ diff --git a/assets/design-export/fig/g5mEpx.fig b/assets/design-export/fig/g5mEpx.fig index eaed4554c..b842a24da 100644 Binary files a/assets/design-export/fig/g5mEpx.fig and b/assets/design-export/fig/g5mEpx.fig differ diff --git a/assets/design-export/fig/gWqMD.fig b/assets/design-export/fig/gWqMD.fig index 57b759172..db87c8fcc 100644 Binary files a/assets/design-export/fig/gWqMD.fig and b/assets/design-export/fig/gWqMD.fig differ diff --git a/assets/design-export/fig/gX7um.fig b/assets/design-export/fig/gX7um.fig index 8f6845c5e..4150526e6 100644 Binary files a/assets/design-export/fig/gX7um.fig and b/assets/design-export/fig/gX7um.fig differ diff --git a/assets/design-export/fig/hlwx3.fig b/assets/design-export/fig/hlwx3.fig index 1a1d589c6..682301c44 100644 Binary files a/assets/design-export/fig/hlwx3.fig and b/assets/design-export/fig/hlwx3.fig differ diff --git a/assets/design-export/fig/hmPL7.fig b/assets/design-export/fig/hmPL7.fig index 73b66e036..fa6793518 100644 Binary files a/assets/design-export/fig/hmPL7.fig and b/assets/design-export/fig/hmPL7.fig differ diff --git a/assets/design-export/fig/i4L0M.fig b/assets/design-export/fig/i4L0M.fig index c19a77bf8..827aa33af 100644 Binary files a/assets/design-export/fig/i4L0M.fig and b/assets/design-export/fig/i4L0M.fig differ diff --git a/assets/design-export/fig/iLm38.fig b/assets/design-export/fig/iLm38.fig index e04f45131..ff18df09e 100644 Binary files a/assets/design-export/fig/iLm38.fig and b/assets/design-export/fig/iLm38.fig differ diff --git a/assets/design-export/fig/iYUWc.fig b/assets/design-export/fig/iYUWc.fig index 9afdeff5c..89405986d 100644 Binary files a/assets/design-export/fig/iYUWc.fig and b/assets/design-export/fig/iYUWc.fig differ diff --git a/assets/design-export/fig/j88bl0.fig b/assets/design-export/fig/j88bl0.fig index 0f620dacc..23c1bb4cb 100644 Binary files a/assets/design-export/fig/j88bl0.fig and b/assets/design-export/fig/j88bl0.fig differ diff --git a/assets/design-export/fig/jXykV.fig b/assets/design-export/fig/jXykV.fig index 62d3f0d37..6f5b04800 100644 Binary files a/assets/design-export/fig/jXykV.fig and b/assets/design-export/fig/jXykV.fig differ diff --git a/assets/design-export/fig/l64bd.fig b/assets/design-export/fig/l64bd.fig index 40418b234..4fd3f79c4 100644 Binary files a/assets/design-export/fig/l64bd.fig and b/assets/design-export/fig/l64bd.fig differ diff --git a/assets/design-export/fig/l7TRz9.fig b/assets/design-export/fig/l7TRz9.fig index 501c6842b..62f5a37f3 100644 Binary files a/assets/design-export/fig/l7TRz9.fig and b/assets/design-export/fig/l7TRz9.fig differ diff --git a/assets/design-export/fig/lCTci.fig b/assets/design-export/fig/lCTci.fig index 4108bf623..e4a0d7503 100644 Binary files a/assets/design-export/fig/lCTci.fig and b/assets/design-export/fig/lCTci.fig differ diff --git a/assets/design-export/fig/lWvcv.fig b/assets/design-export/fig/lWvcv.fig index c3bfe2feb..f09903af7 100644 Binary files a/assets/design-export/fig/lWvcv.fig and b/assets/design-export/fig/lWvcv.fig differ diff --git a/assets/design-export/fig/lhKzN.fig b/assets/design-export/fig/lhKzN.fig index 30f12ece0..6fcb72e7c 100644 Binary files a/assets/design-export/fig/lhKzN.fig and b/assets/design-export/fig/lhKzN.fig differ diff --git a/assets/design-export/fig/m5kOm4.fig b/assets/design-export/fig/m5kOm4.fig index d4a577b2c..a8195bc08 100644 Binary files a/assets/design-export/fig/m5kOm4.fig and b/assets/design-export/fig/m5kOm4.fig differ diff --git a/assets/design-export/fig/mrF6f.fig b/assets/design-export/fig/mrF6f.fig index 08147d102..89323ff5b 100644 Binary files a/assets/design-export/fig/mrF6f.fig and b/assets/design-export/fig/mrF6f.fig differ diff --git a/assets/design-export/fig/n2qdi.fig b/assets/design-export/fig/n2qdi.fig index 653ee942b..7c4231e40 100644 Binary files a/assets/design-export/fig/n2qdi.fig and b/assets/design-export/fig/n2qdi.fig differ diff --git a/assets/design-export/fig/n6Xlo.fig b/assets/design-export/fig/n6Xlo.fig index 1ebd81067..f9b15cf2a 100644 Binary files a/assets/design-export/fig/n6Xlo.fig and b/assets/design-export/fig/n6Xlo.fig differ diff --git a/assets/design-export/fig/nGJE1.fig b/assets/design-export/fig/nGJE1.fig index 46a1dc271..163b354fa 100644 Binary files a/assets/design-export/fig/nGJE1.fig and b/assets/design-export/fig/nGJE1.fig differ diff --git a/assets/design-export/fig/nNGDX.fig b/assets/design-export/fig/nNGDX.fig index 332c9315d..4a2ab653d 100644 Binary files a/assets/design-export/fig/nNGDX.fig and b/assets/design-export/fig/nNGDX.fig differ diff --git a/assets/design-export/fig/o1uEP.fig b/assets/design-export/fig/o1uEP.fig index 98072374d..f2d9ab48c 100644 Binary files a/assets/design-export/fig/o1uEP.fig and b/assets/design-export/fig/o1uEP.fig differ diff --git a/assets/design-export/fig/o4LH8W.fig b/assets/design-export/fig/o4LH8W.fig index 054243deb..faa43b1a0 100644 Binary files a/assets/design-export/fig/o4LH8W.fig and b/assets/design-export/fig/o4LH8W.fig differ diff --git a/assets/design-export/fig/oMuyw.fig b/assets/design-export/fig/oMuyw.fig index 86a6c68f0..ef7a90374 100644 Binary files a/assets/design-export/fig/oMuyw.fig and b/assets/design-export/fig/oMuyw.fig differ diff --git a/assets/design-export/fig/oPF1n.fig b/assets/design-export/fig/oPF1n.fig index 97b4e2cd3..ba224065a 100644 Binary files a/assets/design-export/fig/oPF1n.fig and b/assets/design-export/fig/oPF1n.fig differ diff --git a/assets/design-export/fig/oyoTs.fig b/assets/design-export/fig/oyoTs.fig index e82d08812..8fae4bb73 100644 Binary files a/assets/design-export/fig/oyoTs.fig and b/assets/design-export/fig/oyoTs.fig differ diff --git a/assets/design-export/fig/p8QSPq.fig b/assets/design-export/fig/p8QSPq.fig index abd1031f4..3a7421a6e 100644 Binary files a/assets/design-export/fig/p8QSPq.fig and b/assets/design-export/fig/p8QSPq.fig differ diff --git a/assets/design-export/fig/pnAbF.fig b/assets/design-export/fig/pnAbF.fig index 7140eefe1..c49dc7365 100644 Binary files a/assets/design-export/fig/pnAbF.fig and b/assets/design-export/fig/pnAbF.fig differ diff --git a/assets/design-export/fig/pszxE.fig b/assets/design-export/fig/pszxE.fig index 348cf18e9..a300860b8 100644 Binary files a/assets/design-export/fig/pszxE.fig and b/assets/design-export/fig/pszxE.fig differ diff --git a/assets/design-export/fig/q31B6w.fig b/assets/design-export/fig/q31B6w.fig index 0645f2607..e5ea6d461 100644 Binary files a/assets/design-export/fig/q31B6w.fig and b/assets/design-export/fig/q31B6w.fig differ diff --git a/assets/design-export/fig/qFLfB.fig b/assets/design-export/fig/qFLfB.fig index b50b7ce4a..82676ea7a 100644 Binary files a/assets/design-export/fig/qFLfB.fig and b/assets/design-export/fig/qFLfB.fig differ diff --git a/assets/design-export/fig/r0heh.fig b/assets/design-export/fig/r0heh.fig index 89aecc025..cba3e273c 100644 Binary files a/assets/design-export/fig/r0heh.fig and b/assets/design-export/fig/r0heh.fig differ diff --git a/assets/design-export/fig/r139UP.fig b/assets/design-export/fig/r139UP.fig index 58442f2e4..34ef8027c 100644 Binary files a/assets/design-export/fig/r139UP.fig and b/assets/design-export/fig/r139UP.fig differ diff --git a/assets/design-export/fig/rJt1I.fig b/assets/design-export/fig/rJt1I.fig index af9166b2b..7fd8c5790 100644 Binary files a/assets/design-export/fig/rJt1I.fig and b/assets/design-export/fig/rJt1I.fig differ diff --git a/assets/design-export/fig/sSISK.fig b/assets/design-export/fig/sSISK.fig index e15cd8898..40073929a 100644 Binary files a/assets/design-export/fig/sSISK.fig and b/assets/design-export/fig/sSISK.fig differ diff --git a/assets/design-export/fig/t3IY3u.fig b/assets/design-export/fig/t3IY3u.fig index c1993406a..5265e9e31 100644 Binary files a/assets/design-export/fig/t3IY3u.fig and b/assets/design-export/fig/t3IY3u.fig differ diff --git a/assets/design-export/fig/t56aLu.fig b/assets/design-export/fig/t56aLu.fig index 1707c74c5..4e5753218 100644 Binary files a/assets/design-export/fig/t56aLu.fig and b/assets/design-export/fig/t56aLu.fig differ diff --git a/assets/design-export/fig/tSOeI.fig b/assets/design-export/fig/tSOeI.fig index c52aa9088..e65fe34d2 100644 Binary files a/assets/design-export/fig/tSOeI.fig and b/assets/design-export/fig/tSOeI.fig differ diff --git a/assets/design-export/fig/tY6RD.fig b/assets/design-export/fig/tY6RD.fig index 3e8722d35..1efddbb1a 100644 Binary files a/assets/design-export/fig/tY6RD.fig and b/assets/design-export/fig/tY6RD.fig differ diff --git a/assets/design-export/fig/tooKB.fig b/assets/design-export/fig/tooKB.fig index 4f3139e5b..e94a8ac1c 100644 Binary files a/assets/design-export/fig/tooKB.fig and b/assets/design-export/fig/tooKB.fig differ diff --git a/assets/design-export/fig/tr6cE.fig b/assets/design-export/fig/tr6cE.fig index fd7f0d057..b989916bd 100644 Binary files a/assets/design-export/fig/tr6cE.fig and b/assets/design-export/fig/tr6cE.fig differ diff --git a/assets/design-export/fig/uCA23.fig b/assets/design-export/fig/uCA23.fig index e3c220035..f69648b9c 100644 Binary files a/assets/design-export/fig/uCA23.fig and b/assets/design-export/fig/uCA23.fig differ diff --git a/assets/design-export/fig/uMiwd.fig b/assets/design-export/fig/uMiwd.fig index 087836ce2..ecdf1958d 100644 Binary files a/assets/design-export/fig/uMiwd.fig and b/assets/design-export/fig/uMiwd.fig differ diff --git a/assets/design-export/fig/uoxQW.fig b/assets/design-export/fig/uoxQW.fig index 90300e18b..2c8d4eecf 100644 Binary files a/assets/design-export/fig/uoxQW.fig and b/assets/design-export/fig/uoxQW.fig differ diff --git a/assets/design-export/fig/w34N9.fig b/assets/design-export/fig/w34N9.fig index 2d8732a8c..332851e78 100644 Binary files a/assets/design-export/fig/w34N9.fig and b/assets/design-export/fig/w34N9.fig differ diff --git a/assets/design-export/fig/wqnM9.fig b/assets/design-export/fig/wqnM9.fig index edeffe9d8..8fa9343a2 100644 Binary files a/assets/design-export/fig/wqnM9.fig and b/assets/design-export/fig/wqnM9.fig differ diff --git a/assets/design-export/fig/wxINm.fig b/assets/design-export/fig/wxINm.fig index 7fc6063cc..c48ca49ec 100644 Binary files a/assets/design-export/fig/wxINm.fig and b/assets/design-export/fig/wxINm.fig differ diff --git a/assets/design-export/fig/xCJlu.fig b/assets/design-export/fig/xCJlu.fig index 38f7e1c22..f561b54d6 100644 Binary files a/assets/design-export/fig/xCJlu.fig and b/assets/design-export/fig/xCJlu.fig differ diff --git a/assets/design-export/fig/xvlB6.fig b/assets/design-export/fig/xvlB6.fig index 02a8e4ef5..2f6a6999c 100644 Binary files a/assets/design-export/fig/xvlB6.fig and b/assets/design-export/fig/xvlB6.fig differ diff --git a/assets/design-export/fig/y3YcQ.fig b/assets/design-export/fig/y3YcQ.fig index b2c1b9963..493b7650d 100644 Binary files a/assets/design-export/fig/y3YcQ.fig and b/assets/design-export/fig/y3YcQ.fig differ diff --git a/assets/design-export/fig/yrxK2.fig b/assets/design-export/fig/yrxK2.fig index 3ac642f36..071e85f15 100644 Binary files a/assets/design-export/fig/yrxK2.fig and b/assets/design-export/fig/yrxK2.fig differ diff --git a/assets/design-export/fig/zFiOW.fig b/assets/design-export/fig/zFiOW.fig index 332fbcc4b..d92282dcd 100644 Binary files a/assets/design-export/fig/zFiOW.fig and b/assets/design-export/fig/zFiOW.fig differ diff --git a/assets/design-export/fig/zM0VF.fig b/assets/design-export/fig/zM0VF.fig index 9b6efc68b..8b94474e7 100644 Binary files a/assets/design-export/fig/zM0VF.fig and b/assets/design-export/fig/zM0VF.fig differ diff --git a/assets/design-export/fig/zj5a3.fig b/assets/design-export/fig/zj5a3.fig index 099a76947..4c64c83df 100644 Binary files a/assets/design-export/fig/zj5a3.fig and b/assets/design-export/fig/zj5a3.fig differ diff --git a/assets/design-export/fig/zqzr4.fig b/assets/design-export/fig/zqzr4.fig index d3242912d..b5e83abe2 100644 Binary files a/assets/design-export/fig/zqzr4.fig and b/assets/design-export/fig/zqzr4.fig differ diff --git a/assets/design-export/json/1006926387-2294.json b/assets/design-export/json/1006926387-2294.json index a5d90bcfd..ee31d610b 100644 --- a/assets/design-export/json/1006926387-2294.json +++ b/assets/design-export/json/1006926387-2294.json @@ -28,7 +28,7 @@ }, "children": [ { - "id": "0:47957", + "id": "0:47961", "name": "cdTitle", "type": "TEXT", "x": 20, @@ -43,7 +43,7 @@ "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} }, { - "id": "0:47958", + "id": "0:47962", "name": "cdDescWrap", "type": "FRAME", "x": 20, @@ -63,7 +63,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47959", + "id": "0:47963", "name": "cdDesc", "type": "TEXT", "x": 0, @@ -82,7 +82,7 @@ ] }, { - "id": "0:47960", + "id": "0:47964", "name": "cdPhrase", "type": "FRAME", "x": 20, @@ -103,7 +103,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47961", + "id": "0:47965", "name": "cdPhraseRow", "type": "FRAME", "x": 0, @@ -122,7 +122,7 @@ }, "children": [ { - "id": "0:47962", + "id": "0:47966", "name": "cdPhraseType", "type": "TEXT", "x": 0, @@ -137,7 +137,7 @@ "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/muted"} }, { - "id": "0:47963", + "id": "0:47967", "name": "cdPhraseValue", "type": "TEXT", "x": 30, @@ -152,7 +152,7 @@ "variables": {"fontFamily": "typography/font-mono", "fills/0/color": "foreground/foreground"} }, { - "id": "0:47964", + "id": "0:47968", "name": "cdPhraseConfirm", "type": "TEXT", "x": 114, @@ -169,7 +169,7 @@ ] }, { - "id": "0:47965", + "id": "0:47969", "name": "cdInput", "type": "FRAME", "x": 0, @@ -198,7 +198,7 @@ }, "children": [ { - "id": "0:47966", + "id": "0:47970", "name": "cdInputValue", "type": "TEXT", "x": 12, @@ -217,7 +217,7 @@ ] }, { - "id": "0:47967", + "id": "0:47971", "name": "cdFooter", "type": "FRAME", "x": 20, @@ -237,7 +237,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47968", + "id": "0:47972", "name": "btnCancel", "type": "FRAME", "x": 222, @@ -258,7 +258,7 @@ "variables": {"cornerRadius": "radius/md"}, "children": [ { - "id": "0:47969", + "id": "0:47973", "name": "cdCancelLabel", "type": "TEXT", "x": 12, @@ -275,7 +275,7 @@ ] }, { - "id": "0:47970", + "id": "0:47974", "name": "btnConfirm", "type": "FRAME", "x": 300, @@ -297,7 +297,7 @@ "variables": {"cornerRadius": "radius/md", "fills/0/color": "danger/danger"}, "children": [ { - "id": "0:47971", + "id": "0:47975", "name": "cdConfirmLabel", "type": "TEXT", "x": 12, diff --git a/assets/design-export/json/1006926387-2310.json b/assets/design-export/json/1006926387-2310.json index 744642c50..d11ac03f7 100644 --- a/assets/design-export/json/1006926387-2310.json +++ b/assets/design-export/json/1006926387-2310.json @@ -28,7 +28,7 @@ }, "children": [ { - "id": "0:47972", + "id": "0:47976", "name": "cdTitle", "type": "TEXT", "x": 20, @@ -43,7 +43,7 @@ "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} }, { - "id": "0:47973", + "id": "0:47977", "name": "cdDescWrap", "type": "FRAME", "x": 20, @@ -63,7 +63,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47974", + "id": "0:47978", "name": "cdDesc", "type": "TEXT", "x": 0, @@ -82,7 +82,7 @@ ] }, { - "id": "0:47975", + "id": "0:47979", "name": "cdPhrase", "type": "FRAME", "x": 20, @@ -103,7 +103,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47976", + "id": "0:47980", "name": "cdPhraseRow", "type": "FRAME", "x": 0, @@ -122,7 +122,7 @@ }, "children": [ { - "id": "0:47977", + "id": "0:47981", "name": "cdPhraseType", "type": "TEXT", "x": 0, @@ -137,7 +137,7 @@ "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/muted"} }, { - "id": "0:47978", + "id": "0:47982", "name": "cdPhraseValue", "type": "TEXT", "x": 30, @@ -152,7 +152,7 @@ "variables": {"fontFamily": "typography/font-mono", "fills/0/color": "foreground/foreground"} }, { - "id": "0:47979", + "id": "0:47983", "name": "cdPhraseConfirm", "type": "TEXT", "x": 114, @@ -169,7 +169,7 @@ ] }, { - "id": "0:47980", + "id": "0:47984", "name": "cdInput", "type": "FRAME", "x": 0, @@ -198,7 +198,7 @@ }, "children": [ { - "id": "0:47981", + "id": "0:47985", "name": "cdInputValue", "type": "TEXT", "x": 12, @@ -217,7 +217,7 @@ ] }, { - "id": "0:47982", + "id": "0:47986", "name": "cdFooter", "type": "FRAME", "x": 20, @@ -237,7 +237,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47983", + "id": "0:47987", "name": "btnCancel", "type": "FRAME", "x": 249, @@ -258,7 +258,7 @@ "variables": {"cornerRadius": "radius/md"}, "children": [ { - "id": "0:47984", + "id": "0:47988", "name": "cdCancelLabel", "type": "TEXT", "x": 12, @@ -275,7 +275,7 @@ ] }, { - "id": "0:47985", + "id": "0:47989", "name": "btnConfirm", "type": "FRAME", "x": 327, @@ -297,7 +297,7 @@ "variables": {"cornerRadius": "radius/md", "fills/0/color": "danger/danger"}, "children": [ { - "id": "0:47986", + "id": "0:47990", "name": "cdConfirmLabel", "type": "TEXT", "x": 12, diff --git a/assets/design-export/json/1274632774-3890.json b/assets/design-export/json/1274632774-3890.json index 405229158..efffd4af5 100644 --- a/assets/design-export/json/1274632774-3890.json +++ b/assets/design-export/json/1274632774-3890.json @@ -157,11 +157,55 @@ "texts": ["Search modpacks…"] }, { - "name": "Modpacks List", + "name": "All loaders Row", "type": "FRAME", "x": 16, "y": 401, "width": 358, + "height": 24, + "layout": { + "mode": "HORIZONTAL", + "gap": 10, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "clips": true, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 3.5, + "width": 63, + "height": 17, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "All loaders", + "font": ["Geist", 400, 13], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "All loaders switch", + "type": "INSTANCE", + "x": 73, + "y": 2, + "width": 36, + "height": 20, + "component": "Gameplane/Switch/Off", + "componentId": "1:1470", + "fills": [{"type": "SOLID", "color": "#2C2932"}], + "cornerRadius": 24, + "variables": {"cornerRadius": "radius/3xl", "fills/0/color": "border/border"} + } + ] + }, + { + "name": "Modpacks List", + "type": "FRAME", + "x": 16, + "y": 441, + "width": 358, "height": 296, "layout": { "mode": "VERTICAL", diff --git a/assets/design-export/json/1730846790-11.json b/assets/design-export/json/1730846790-11.json new file mode 100644 index 000000000..14934a22c --- /dev/null +++ b/assets/design-export/json/1730846790-11.json @@ -0,0 +1,1535 @@ +{ + "file": "1730846790-11", + "name": "Screen/Server Detail — Modpacks (All loaders)", + "type": "FRAME", + "x": 19470, + "y": 35101, + "width": 1440, + "height": 900, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "clips": true, + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "App Sidebar", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 260, + "height": 900, + "component": "Gameplane/App Sidebar", + "componentId": "1:234", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "surface/secondary", "strokes/0/color": "border/border"}, + "texts": [ + "gameplane", + "homelab-01", + "GENERAL", + "Dashboard", + "Servers", + "Modules", + "Backups", + "ADMIN", + "Clusters", + "Nodes", + "Users & RBAC", + "Audit log", + "System logs", + "Settings", + "AD", + "admin", + "admin" + ] + }, + { + "name": "Main", + "type": "FRAME", + "x": 260, + "y": 0, + "width": 1180, + "height": 900, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "Top Bar", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 1180, + "height": 64, + "component": "Gameplane/Top Bar", + "componentId": "1:281", + "fills": [{"type": "SOLID", "color": "#121114"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 32, 0, 32], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background", "strokes/0/color": "border/border"}, + "texts": ["gameplane", "test-server-02", "Search servers…", "AD"] + }, + { + "name": "Body", + "type": "FRAME", + "x": 0, + "y": 64, + "width": 1180, + "height": 836, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "VERTICAL", + "gap": 16, + "padding": [24, 24, 24, 24], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "Detail Header", + "type": "INSTANCE", + "x": 24, + "y": 24, + "width": 1132, + "height": 78, + "component": "Gameplane/Server Detail Header", + "componentId": "1:447", + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [8, 0, 16, 0], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "texts": [ + "MI", + "test-server-02", + "Running", + "minecraft-java · fabric 1.21.1 · ns: default · up 13d 4h", + "Restart", + "Stop", + "Open console" + ] + }, + { + "name": "Tabs Bar", + "type": "INSTANCE", + "x": 24, + "y": 118, + "width": 1132, + "height": 40, + "component": "Gameplane/Server Detail Tabs", + "componentId": "1:466", + "fills": [{"type": "SOLID", "color": "#121114"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background", "strokes/0/color": "border/border"}, + "texts": [ + "Overview", + "Events", + "Console", + "Logs", + "Files", + "Mods", + "Modpacks", + "Players", + "Backups", + "Capture", + "Settings" + ] + }, + { + "name": "Modpacks Heading", + "type": "FRAME", + "x": 24, + "y": 174, + "width": 1132, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 2, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "heading", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 119, + "height": 18, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "Browse modpacks", + "font": ["Geist", 400, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + }, + { + "name": "subheading", + "type": "TEXT", + "x": 0, + "y": 20, + "width": 1132, + "height": 14, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "layoutAlignSelf": "STRETCH", + "text": "Pick a pack and a version. The server pins that version and restarts to install it; a restart never upgrades it.", + "font": ["Geist", 400, 11], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Filters Row", + "type": "FRAME", + "x": 24, + "y": 224, + "width": 1132, + "height": 40, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Provider Switch", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 266, + "height": 40, + "component": "Gameplane/Provider Switch", + "fills": [{"type": "SOLID", "color": "#232128"}], + "cornerRadius": 20, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 4, 4, 4], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "HUG"] + }, + "variables": {"fills/0/color": "default/default"}, + "texts": ["Modrinth", "CurseForge", "FTB"] + }, + { + "name": "Search", + "type": "INSTANCE", + "x": 274, + "y": 2, + "width": 630, + "height": 36, + "component": "Gameplane/Search Input", + "componentId": "1:975", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 2, "visible": true}], + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 6, + "padding": [0, 12, 0, 12], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "fills/0/color": "field/background", + "strokes/0/color": "field/border" + }, + "texts": ["Search modpacks…"] + }, + { + "name": "Select", + "type": "INSTANCE", + "x": 912, + "y": 2, + "width": 220, + "height": 36, + "component": "Gameplane/Select", + "componentId": "1:311", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 2, "visible": true}], + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [8, 12, 8, 12], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "variables": { + "cornerRadius": "radius/xl", + "fills/0/color": "field/background", + "strokes/0/color": "field/border" + }, + "texts": ["Sort: Downloads"] + } + ] + }, + { + "name": "Category Chips", + "type": "FRAME", + "x": 24, + "y": 280, + "width": 1132, + "height": 24, + "layout": { + "mode": "HORIZONTAL", + "gap": 6, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "chipAll", + "type": "INSTANCE", + "x": 0, + "y": 3.5, + "width": 22, + "height": 17, + "component": "Chip/Primary/Accent/SM", + "componentId": "1:981", + "fills": [{"type": "SOLID", "color": "#FF4FA3"}], + "cornerRadius": 16, + "layout": { + "mode": "HORIZONTAL", + "gap": 2, + "padding": [2, 4, 2, 4], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "variables": {"cornerRadius": "radius/2xl", "fills/0/color": "accent/accent"}, + "texts": ["All"] + }, + { + "name": "chipAdventure", + "type": "INSTANCE", + "x": 28, + "y": 0, + "width": 77, + "height": 24, + "component": "Gameplane/Tag", + "componentId": "1:1142", + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 999, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 10, 4, 10], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "HUG"] + }, + "variables": {"strokes/0/color": "border/border"}, + "texts": ["Adventure"] + }, + { + "name": "chipTech", + "type": "INSTANCE", + "x": 111, + "y": 0, + "width": 46, + "height": 24, + "component": "Gameplane/Tag", + "componentId": "1:1142", + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 999, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 10, 4, 10], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "HUG"] + }, + "variables": {"strokes/0/color": "border/border"}, + "texts": ["Tech"] + }, + { + "name": "chipMagic", + "type": "INSTANCE", + "x": 163, + "y": 0, + "width": 54, + "height": 24, + "component": "Gameplane/Tag", + "componentId": "1:1142", + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 999, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 10, 4, 10], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "HUG"] + }, + "variables": {"strokes/0/color": "border/border"}, + "texts": ["Magic"] + }, + { + "name": "chipOptimized", + "type": "INSTANCE", + "x": 223, + "y": 0, + "width": 77, + "height": 24, + "component": "Gameplane/Tag", + "componentId": "1:1142", + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 999, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 10, 4, 10], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "HUG"] + }, + "variables": {"strokes/0/color": "border/border"}, + "texts": ["Optimized"] + }, + { + "name": "chipMultiplayer", + "type": "INSTANCE", + "x": 306, + "y": 0, + "width": 82, + "height": 24, + "component": "Gameplane/Tag", + "componentId": "1:1142", + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 999, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 10, 4, 10], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "HUG"] + }, + "variables": {"strokes/0/color": "border/border"}, + "texts": ["Multiplayer"] + }, + { + "name": "All loaders Row", + "type": "FRAME", + "x": 394, + "y": 0, + "width": 109, + "height": 24, + "layout": { + "mode": "HORIZONTAL", + "gap": 10, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["HUG", "FIXED"] + }, + "clips": true, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 3.5, + "width": 63, + "height": 17, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "All loaders", + "font": ["Geist", 400, 13], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "All loaders switch", + "type": "INSTANCE", + "x": 73, + "y": 2, + "width": 36, + "height": 20, + "component": "Gameplane/Switch/On", + "componentId": "1:1532", + "fills": [{"type": "SOLID", "color": "#FF4FA3"}], + "cornerRadius": 24, + "variables": {"cornerRadius": "radius/3xl", "fills/0/color": "accent/accent"} + } + ] + } + ] + }, + { + "name": "Modpacks Grid", + "type": "FRAME", + "x": 24, + "y": 320, + "width": 1132, + "height": 220, + "layout": { + "mode": "VERTICAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Row 1", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Evolution 2", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 103, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Evolution 2", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 151, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 1.2M downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB StoneBlock 4", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 118, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB StoneBlock 4", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 156, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 640K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + }, + { + "name": "Row 2", + "type": "FRAME", + "x": 0, + "y": 76, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Skies 2", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 78, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Skies 2", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 153, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 512K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB Revelation", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 98, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Revelation", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 156, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 980K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + }, + { + "name": "Row 3", + "type": "FRAME", + "x": 0, + "y": 152, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Ultimate Reloaded", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 150, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Ultimate Reloaded", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 151, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 1.5M downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB Infinity Evolved", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 130, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Infinity Evolved", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 157, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 300K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + } + ] + }, + { + "name": "Load More Row", + "type": "FRAME", + "x": 24, + "y": 556, + "width": 1132, + "height": 32, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Btn Load More", + "type": "INSTANCE", + "x": 521.5, + "y": 0, + "width": 89, + "height": 32, + "component": "Gameplane/Button/Small/Outline", + "componentId": "1:740", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "variables": {"strokes/0/color": "border/border"}, + "texts": ["Load more"] + } + ] + } + ] + } + ] + } + ] +} diff --git a/assets/design-export/json/1730846790-1140.json b/assets/design-export/json/1730846790-1140.json new file mode 100644 index 000000000..a49a9a8d3 --- /dev/null +++ b/assets/design-export/json/1730846790-1140.json @@ -0,0 +1,1680 @@ +{ + "file": "1730846790-1140", + "name": "Screen/Server Detail — Modpacks — Confirm install (version change)", + "type": "FRAME", + "x": 24390, + "y": 35101, + "width": 1440, + "height": 900, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "clips": true, + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "App Sidebar", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 260, + "height": 900, + "component": "Gameplane/App Sidebar", + "componentId": "1:234", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "surface/secondary", "strokes/0/color": "border/border"}, + "texts": [ + "gameplane", + "homelab-01", + "GENERAL", + "Dashboard", + "Servers", + "Modules", + "Backups", + "ADMIN", + "Clusters", + "Nodes", + "Users & RBAC", + "Audit log", + "System logs", + "Settings", + "AD", + "admin", + "admin" + ] + }, + { + "name": "Main", + "type": "FRAME", + "x": 260, + "y": 0, + "width": 1180, + "height": 900, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "Top Bar", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 1180, + "height": 64, + "component": "Gameplane/Top Bar", + "componentId": "1:281", + "fills": [{"type": "SOLID", "color": "#121114"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 32, 0, 32], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background", "strokes/0/color": "border/border"}, + "texts": ["gameplane", "test-server-02", "Search servers…", "AD"] + }, + { + "name": "Body", + "type": "FRAME", + "x": 0, + "y": 64, + "width": 1180, + "height": 836, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "VERTICAL", + "gap": 16, + "padding": [24, 24, 24, 24], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "Detail Header", + "type": "INSTANCE", + "x": 24, + "y": 24, + "width": 1132, + "height": 78, + "component": "Gameplane/Server Detail Header", + "componentId": "1:447", + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [8, 0, 16, 0], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "texts": [ + "MI", + "test-server-02", + "Running", + "minecraft-java · neoforge 1.21.1 · ns: default · up 13d 4h", + "Restart", + "Stop", + "Open console" + ] + }, + { + "name": "Tabs Bar", + "type": "INSTANCE", + "x": 24, + "y": 118, + "width": 1132, + "height": 40, + "component": "Gameplane/Server Detail Tabs", + "componentId": "1:466", + "fills": [{"type": "SOLID", "color": "#121114"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background", "strokes/0/color": "border/border"}, + "texts": [ + "Overview", + "Events", + "Console", + "Logs", + "Files", + "Mods", + "Modpacks", + "Players", + "Backups", + "Capture", + "Settings" + ] + }, + { + "name": "Modpacks Heading", + "type": "FRAME", + "x": 24, + "y": 174, + "width": 1132, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 2, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "heading", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 119, + "height": 18, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "Browse modpacks", + "font": ["Geist", 400, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + }, + { + "name": "subheading", + "type": "TEXT", + "x": 0, + "y": 20, + "width": 1132, + "height": 14, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "layoutAlignSelf": "STRETCH", + "text": "Pick a pack and a version. The server pins that version and restarts to install it; a restart never upgrades it.", + "font": ["Geist", 400, 11], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Filters Row", + "type": "FRAME", + "x": 24, + "y": 224, + "width": 1132, + "height": 40, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Provider Switch", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 266, + "height": 40, + "component": "Gameplane/Provider Switch", + "fills": [{"type": "SOLID", "color": "#232128"}], + "cornerRadius": 20, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 4, 4, 4], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "HUG"] + }, + "variables": {"fills/0/color": "default/default"}, + "texts": ["Modrinth", "CurseForge", "FTB"] + }, + { + "name": "Search", + "type": "INSTANCE", + "x": 274, + "y": 2, + "width": 630, + "height": 36, + "component": "Gameplane/Search Input", + "componentId": "1:975", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 2, "visible": true}], + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 6, + "padding": [0, 12, 0, 12], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "fills/0/color": "field/background", + "strokes/0/color": "field/border" + }, + "texts": ["Search modpacks…"] + }, + { + "name": "Select", + "type": "INSTANCE", + "x": 912, + "y": 2, + "width": 220, + "height": 36, + "component": "Gameplane/Select", + "componentId": "1:311", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 2, "visible": true}], + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [8, 12, 8, 12], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "variables": { + "cornerRadius": "radius/xl", + "fills/0/color": "field/background", + "strokes/0/color": "field/border" + }, + "texts": ["Sort: Downloads"] + } + ] + }, + { + "name": "Category Chips", + "type": "FRAME", + "x": 24, + "y": 280, + "width": 1132, + "height": 24, + "layout": { + "mode": "HORIZONTAL", + "gap": 6, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "chipAll", + "type": "INSTANCE", + "x": 0, + "y": 3.5, + "width": 22, + "height": 17, + "component": "Chip/Primary/Accent/SM", + "componentId": "1:981", + "fills": [{"type": "SOLID", "color": "#FF4FA3"}], + "cornerRadius": 16, + "layout": { + "mode": "HORIZONTAL", + "gap": 2, + "padding": [2, 4, 2, 4], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "variables": {"cornerRadius": "radius/2xl", "fills/0/color": "accent/accent"}, + "texts": ["All"] + }, + { + "name": "All loaders Row", + "type": "FRAME", + "x": 28, + "y": 0, + "width": 109, + "height": 24, + "layout": { + "mode": "HORIZONTAL", + "gap": 10, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["HUG", "FIXED"] + }, + "clips": true, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 3.5, + "width": 63, + "height": 17, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "All loaders", + "font": ["Geist", 400, 13], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "All loaders switch", + "type": "INSTANCE", + "x": 73, + "y": 2, + "width": 36, + "height": 20, + "component": "Gameplane/Switch/On", + "componentId": "1:1532", + "fills": [{"type": "SOLID", "color": "#FF4FA3"}], + "cornerRadius": 24, + "variables": {"cornerRadius": "radius/3xl", "fills/0/color": "accent/accent"} + } + ] + } + ] + }, + { + "name": "Modpacks Grid", + "type": "FRAME", + "x": 24, + "y": 320, + "width": 1132, + "height": 220, + "layout": { + "mode": "VERTICAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Row 1", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Evolution 2", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 103, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Evolution 2", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 151, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 1.2M downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB StoneBlock 4", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 118, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB StoneBlock 4", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 156, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 640K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + }, + { + "name": "Row 2", + "type": "FRAME", + "x": 0, + "y": 76, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Skies 2", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 78, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Skies 2", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 153, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 512K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB Revelation", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 98, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Revelation", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 156, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 980K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + }, + { + "name": "Row 3", + "type": "FRAME", + "x": 0, + "y": 152, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Ultimate Reloaded", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 150, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Ultimate Reloaded", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 151, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 1.5M downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB Infinity Evolved", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 130, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Infinity Evolved", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 157, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 300K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + } + ] + }, + { + "name": "Load More Row", + "type": "FRAME", + "x": 24, + "y": 556, + "width": 1132, + "height": 32, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Btn Load More", + "type": "INSTANCE", + "x": 521.5, + "y": 0, + "width": 89, + "height": 32, + "component": "Gameplane/Button/Small/Outline", + "componentId": "1:740", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "variables": {"strokes/0/color": "border/border"}, + "texts": ["Load more"] + } + ] + } + ] + } + ] + }, + { + "name": "Dim Overlay", + "type": "RECTANGLE", + "x": 0, + "y": 0, + "width": 1440, + "height": 900, + "fills": [{"type": "SOLID", "color": "#000000", "opacity": 0.8}], + "absolute": true + }, + { + "name": "Confirm Install Dialog", + "type": "FRAME", + "x": 460, + "y": 140, + "width": 520, + "height": 442, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 32, "visible": true}], + "cornerRadius": 12, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [20, 20, 20, 20], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "absolute": true, + "variables": { + "cornerRadius": "radius/xl", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "mTitle", + "type": "TEXT", + "x": 20, + "y": 20, + "width": 180, + "height": 24, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "Install FTB Evolution 2?", + "font": ["Geist", 600, 16], + "lineHeight": {"value": 150, "unit": "PERCENT"}, + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "mDescWrap", + "type": "FRAME", + "x": 20, + "y": 44, + "width": 480, + "height": 46, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "mDesc", + "type": "TEXT", + "x": 0, + "y": 4, + "width": 480, + "height": 42, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "layoutGrow": 1, + "text": "test-server-02 restarts to install the pack. It stays on this version until you change it.", + "font": ["Geist", 400, 14], + "lineHeight": {"value": 150, "unit": "PERCENT"}, + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "mBody", + "type": "FRAME", + "x": 20, + "y": 90, + "width": 480, + "height": 280, + "layout": { + "mode": "VERTICAL", + "gap": 16, + "padding": [16, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Pack Summary", + "type": "INSTANCE", + "x": 0, + "y": 16, + "width": 480, + "height": 64, + "component": "Gameplane/Modpack Summary", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "cornerRadius": 8, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [12, 12, 12, 12], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "surface/secondary"}, + "texts": ["FTB Evolution 2", "FTB · 1.11.0", "Release"] + }, + { + "name": "Backup First", + "type": "INSTANCE", + "x": 0, + "y": 96, + "width": 480, + "height": 60, + "component": "Gameplane/Backup First Option", + "layout": { + "mode": "VERTICAL", + "gap": 4, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "texts": [ + "Back up first", + "Takes a backup to the cluster’s backup destination (s3-backups). The server version changes right away; the pack is installed only after the backup succeeds." + ] + }, + { + "name": "Version Change Warning", + "type": "INSTANCE", + "x": 0, + "y": 172, + "width": 480, + "height": 102, + "component": "Alert/Warning", + "componentId": "1:2268", + "fills": [{"type": "SOLID", "color": "#F7B750", "opacity": 0.15}], + "strokes": [{"type": "SOLID", "color": "#F7B750"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 4, "visible": true}], + "cornerRadius": 8, + "layout": { + "mode": "HORIZONTAL", + "gap": 16, + "padding": [12, 16, 12, 16], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "warning/soft", "strokes/0/color": "warning/soft-foreground"}, + "texts": [ + "The server version changes", + "The server version changes from Latest · Fabric to 26.1.2 · NeoForge. The server restarts on the new version right away, before any backup finishes." + ] + } + ] + }, + { + "name": "mFooter", + "type": "FRAME", + "x": 20, + "y": 370, + "width": 480, + "height": 52, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [20, 0, 0, 0], + "primary": "MAX", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "btnCancel", + "type": "FRAME", + "x": 284, + "y": 20, + "width": 64, + "height": 32, + "cornerRadius": 6, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 12, 0, 12], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "FIXED"] + }, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 12, + "y": 8, + "width": 40, + "height": 16, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "Cancel", + "font": ["Geist", 500, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + } + ] + }, + { + "name": "btnPrimary", + "type": "FRAME", + "x": 356, + "y": 20, + "width": 124, + "height": 32, + "fills": [{"type": "SOLID", "color": "#FF4FA3"}], + "cornerRadius": 6, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 12, 0, 12], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "FIXED"] + }, + "variables": {"fills/0/color": "accent/accent"}, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 12, + "y": 8, + "width": 100, + "height": 16, + "fills": [{"type": "SOLID", "color": "#FFFFFF"}], + "text": "Install and restart", + "font": ["Geist", 500, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "accent/foreground"} + } + ] + } + ] + } + ] + } + ] +} diff --git a/assets/design-export/json/1730846790-322.json b/assets/design-export/json/1730846790-322.json new file mode 100644 index 000000000..848486342 --- /dev/null +++ b/assets/design-export/json/1730846790-322.json @@ -0,0 +1,1747 @@ +{ + "file": "1730846790-322", + "name": "Screen/Server Detail — Modpacks — Choose version (All loaders)", + "type": "FRAME", + "x": 21110, + "y": 35101, + "width": 1440, + "height": 900, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "clips": true, + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "App Sidebar", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 260, + "height": 900, + "component": "Gameplane/App Sidebar", + "componentId": "1:234", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "surface/secondary", "strokes/0/color": "border/border"}, + "texts": [ + "gameplane", + "homelab-01", + "GENERAL", + "Dashboard", + "Servers", + "Modules", + "Backups", + "ADMIN", + "Clusters", + "Nodes", + "Users & RBAC", + "Audit log", + "System logs", + "Settings", + "AD", + "admin", + "admin" + ] + }, + { + "name": "Main", + "type": "FRAME", + "x": 260, + "y": 0, + "width": 1180, + "height": 900, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "Top Bar", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 1180, + "height": 64, + "component": "Gameplane/Top Bar", + "componentId": "1:281", + "fills": [{"type": "SOLID", "color": "#121114"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 32, 0, 32], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background", "strokes/0/color": "border/border"}, + "texts": ["gameplane", "test-server-02", "Search servers…", "AD"] + }, + { + "name": "Body", + "type": "FRAME", + "x": 0, + "y": 64, + "width": 1180, + "height": 836, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "VERTICAL", + "gap": 16, + "padding": [24, 24, 24, 24], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "Detail Header", + "type": "INSTANCE", + "x": 24, + "y": 24, + "width": 1132, + "height": 78, + "component": "Gameplane/Server Detail Header", + "componentId": "1:447", + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [8, 0, 16, 0], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "texts": [ + "MI", + "test-server-02", + "Running", + "minecraft-java · neoforge 1.21.1 · ns: default · up 13d 4h", + "Restart", + "Stop", + "Open console" + ] + }, + { + "name": "Tabs Bar", + "type": "INSTANCE", + "x": 24, + "y": 118, + "width": 1132, + "height": 40, + "component": "Gameplane/Server Detail Tabs", + "componentId": "1:466", + "fills": [{"type": "SOLID", "color": "#121114"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background", "strokes/0/color": "border/border"}, + "texts": [ + "Overview", + "Events", + "Console", + "Logs", + "Files", + "Mods", + "Modpacks", + "Players", + "Backups", + "Capture", + "Settings" + ] + }, + { + "name": "Modpacks Heading", + "type": "FRAME", + "x": 24, + "y": 174, + "width": 1132, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 2, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "heading", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 119, + "height": 18, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "Browse modpacks", + "font": ["Geist", 400, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + }, + { + "name": "subheading", + "type": "TEXT", + "x": 0, + "y": 20, + "width": 1132, + "height": 14, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "layoutAlignSelf": "STRETCH", + "text": "Pick a pack and a version. The server pins that version and restarts to install it; a restart never upgrades it.", + "font": ["Geist", 400, 11], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Filters Row", + "type": "FRAME", + "x": 24, + "y": 224, + "width": 1132, + "height": 40, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Provider Switch", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 266, + "height": 40, + "component": "Gameplane/Provider Switch", + "fills": [{"type": "SOLID", "color": "#232128"}], + "cornerRadius": 20, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 4, 4, 4], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "HUG"] + }, + "variables": {"fills/0/color": "default/default"}, + "texts": ["Modrinth", "CurseForge", "FTB"] + }, + { + "name": "Search", + "type": "INSTANCE", + "x": 274, + "y": 2, + "width": 630, + "height": 36, + "component": "Gameplane/Search Input", + "componentId": "1:975", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 2, "visible": true}], + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 6, + "padding": [0, 12, 0, 12], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "fills/0/color": "field/background", + "strokes/0/color": "field/border" + }, + "texts": ["Search modpacks…"] + }, + { + "name": "Select", + "type": "INSTANCE", + "x": 912, + "y": 2, + "width": 220, + "height": 36, + "component": "Gameplane/Select", + "componentId": "1:311", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 2, "visible": true}], + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [8, 12, 8, 12], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "variables": { + "cornerRadius": "radius/xl", + "fills/0/color": "field/background", + "strokes/0/color": "field/border" + }, + "texts": ["Sort: Downloads"] + } + ] + }, + { + "name": "Category Chips", + "type": "FRAME", + "x": 24, + "y": 280, + "width": 1132, + "height": 24, + "layout": { + "mode": "HORIZONTAL", + "gap": 6, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "chipAll", + "type": "INSTANCE", + "x": 0, + "y": 3.5, + "width": 22, + "height": 17, + "component": "Chip/Primary/Accent/SM", + "componentId": "1:981", + "fills": [{"type": "SOLID", "color": "#FF4FA3"}], + "cornerRadius": 16, + "layout": { + "mode": "HORIZONTAL", + "gap": 2, + "padding": [2, 4, 2, 4], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "variables": {"cornerRadius": "radius/2xl", "fills/0/color": "accent/accent"}, + "texts": ["All"] + }, + { + "name": "All loaders Row", + "type": "FRAME", + "x": 28, + "y": 0, + "width": 109, + "height": 24, + "layout": { + "mode": "HORIZONTAL", + "gap": 10, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["HUG", "FIXED"] + }, + "clips": true, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 3.5, + "width": 63, + "height": 17, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "All loaders", + "font": ["Geist", 400, 13], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "All loaders switch", + "type": "INSTANCE", + "x": 73, + "y": 2, + "width": 36, + "height": 20, + "component": "Gameplane/Switch/On", + "componentId": "1:1532", + "fills": [{"type": "SOLID", "color": "#FF4FA3"}], + "cornerRadius": 24, + "variables": {"cornerRadius": "radius/3xl", "fills/0/color": "accent/accent"} + } + ] + } + ] + }, + { + "name": "Modpacks Grid", + "type": "FRAME", + "x": 24, + "y": 320, + "width": 1132, + "height": 220, + "layout": { + "mode": "VERTICAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Row 1", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Evolution 2", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 103, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Evolution 2", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 151, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 1.2M downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB StoneBlock 4", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 118, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB StoneBlock 4", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 156, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 640K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + }, + { + "name": "Row 2", + "type": "FRAME", + "x": 0, + "y": 76, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Skies 2", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 78, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Skies 2", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 153, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 512K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB Revelation", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 98, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Revelation", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 156, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 980K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + }, + { + "name": "Row 3", + "type": "FRAME", + "x": 0, + "y": 152, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Ultimate Reloaded", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 150, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Ultimate Reloaded", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 151, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 1.5M downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB Infinity Evolved", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 130, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Infinity Evolved", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 157, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 300K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + } + ] + }, + { + "name": "Load More Row", + "type": "FRAME", + "x": 24, + "y": 556, + "width": 1132, + "height": 32, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Btn Load More", + "type": "INSTANCE", + "x": 521.5, + "y": 0, + "width": 89, + "height": 32, + "component": "Gameplane/Button/Small/Outline", + "componentId": "1:740", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "variables": {"strokes/0/color": "border/border"}, + "texts": ["Load more"] + } + ] + } + ] + } + ] + }, + { + "name": "Dim Overlay", + "type": "RECTANGLE", + "x": 0, + "y": 0, + "width": 1440, + "height": 900, + "fills": [{"type": "SOLID", "color": "#000000", "opacity": 0.8}], + "absolute": true + }, + { + "name": "Choose Version Dialog", + "type": "FRAME", + "x": 440, + "y": 80, + "width": 560, + "height": 489, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 32, "visible": true}], + "cornerRadius": 12, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [20, 20, 20, 20], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "absolute": true, + "variables": { + "cornerRadius": "radius/xl", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "mTitle", + "type": "TEXT", + "x": 20, + "y": 20, + "width": 131, + "height": 24, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "Choose a version", + "font": ["Geist", 600, 16], + "lineHeight": {"value": 150, "unit": "PERCENT"}, + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "mDescWrap", + "type": "FRAME", + "x": 20, + "y": 44, + "width": 520, + "height": 25, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "mDesc", + "type": "TEXT", + "x": 0, + "y": 4, + "width": 520, + "height": 21, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "layoutGrow": 1, + "text": "FTB Evolution 2 · FTB", + "font": ["Geist", 400, 14], + "lineHeight": {"value": 150, "unit": "PERCENT"}, + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "mBody", + "type": "FRAME", + "x": 20, + "y": 69, + "width": 520, + "height": 348, + "layout": { + "mode": "VERTICAL", + "gap": 16, + "padding": [16, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Text", + "type": "TEXT", + "x": 0, + "y": 16, + "width": 302, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "Showing every version this server can run, newest first.", + "font": ["Geist", 400, 12], + "variables": {"fills/0/color": "muted"} + }, + { + "name": "Version List", + "type": "FRAME", + "x": 0, + "y": 48, + "width": 520, + "height": 300, + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 8, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "clips": true, + "variables": {"strokes/0/color": "border/border"}, + "children": [ + { + "name": "Version All the Mods 10 - 2.36", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 520, + "height": 72, + "component": "Gameplane/Modpack Version Row", + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [10, 12, 10, 12], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"strokes/0/color": "border/border"}, + "texts": [ + "FTB Evolution 2 · 1.11.0", + "Published 12 Nov 2026 · neoforge 26.1.2\nRuns on 26.1.2 · NeoForge", + "Release" + ] + }, + { + "name": "Version All the Mods 10 - 2.35", + "type": "INSTANCE", + "x": 0, + "y": 72, + "width": 520, + "height": 72, + "component": "Gameplane/Modpack Version Row", + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [10, 12, 10, 12], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"strokes/0/color": "border/border"}, + "texts": [ + "FTB Evolution 2 · 1.10.4", + "Published 30 Oct 2026 · forge 1.20.1\nRuns on 1.20.1 · Forge", + "Release" + ] + }, + { + "name": "Version All the Mods 10 - 2.35-beta.2", + "type": "INSTANCE", + "x": 0, + "y": 144, + "width": 520, + "height": 72, + "component": "Gameplane/Modpack Version Row", + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [10, 12, 10, 12], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"strokes/0/color": "border/border"}, + "texts": [ + "FTB Evolution 2 · 1.10.3-beta", + "Published 21 Oct 2026 · neoforge 21.1.208\nRuns on 21.1.208 · NeoForge", + "Beta" + ] + }, + { + "name": "Version All the Mods 10 - 2.34", + "type": "INSTANCE", + "x": 0, + "y": 216, + "width": 520, + "height": 72, + "component": "Gameplane/Modpack Version Row", + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [10, 12, 10, 12], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"strokes/0/color": "border/border"}, + "texts": [ + "FTB Evolution 2 · 1.10.2", + "Published 9 Oct 2026 · forge 1.20.1\nRuns on 1.20.1 · Forge", + "Release" + ] + } + ] + } + ] + }, + { + "name": "mFooter", + "type": "FRAME", + "x": 20, + "y": 417, + "width": 520, + "height": 52, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [20, 0, 0, 0], + "primary": "MAX", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "btnCancel", + "type": "FRAME", + "x": 373, + "y": 20, + "width": 64, + "height": 32, + "cornerRadius": 6, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 12, 0, 12], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "FIXED"] + }, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 12, + "y": 8, + "width": 40, + "height": 16, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "Cancel", + "font": ["Geist", 500, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + } + ] + }, + { + "name": "btnPrimary", + "type": "FRAME", + "x": 445, + "y": 20, + "width": 75, + "height": 32, + "fills": [{"type": "SOLID", "color": "#FF4FA3"}], + "cornerRadius": 6, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 12, 0, 12], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "FIXED"] + }, + "variables": {"fills/0/color": "accent/accent"}, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 12, + "y": 8, + "width": 51, + "height": 16, + "fills": [{"type": "SOLID", "color": "#FFFFFF"}], + "text": "Continue", + "font": ["Geist", 500, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "accent/foreground"} + } + ] + } + ] + } + ] + } + ] +} diff --git a/assets/design-export/json/1730846790-741.json b/assets/design-export/json/1730846790-741.json new file mode 100644 index 000000000..eb4f6a5e0 --- /dev/null +++ b/assets/design-export/json/1730846790-741.json @@ -0,0 +1,1631 @@ +{ + "file": "1730846790-741", + "name": "Screen/Server Detail — Modpacks — Choose version (No runnable version)", + "type": "FRAME", + "x": 22750, + "y": 35101, + "width": 1440, + "height": 900, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "clips": true, + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "App Sidebar", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 260, + "height": 900, + "component": "Gameplane/App Sidebar", + "componentId": "1:234", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "surface/secondary", "strokes/0/color": "border/border"}, + "texts": [ + "gameplane", + "homelab-01", + "GENERAL", + "Dashboard", + "Servers", + "Modules", + "Backups", + "ADMIN", + "Clusters", + "Nodes", + "Users & RBAC", + "Audit log", + "System logs", + "Settings", + "AD", + "admin", + "admin" + ] + }, + { + "name": "Main", + "type": "FRAME", + "x": 260, + "y": 0, + "width": 1180, + "height": 900, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "Top Bar", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 1180, + "height": 64, + "component": "Gameplane/Top Bar", + "componentId": "1:281", + "fills": [{"type": "SOLID", "color": "#121114"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 32, 0, 32], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background", "strokes/0/color": "border/border"}, + "texts": ["gameplane", "test-server-02", "Search servers…", "AD"] + }, + { + "name": "Body", + "type": "FRAME", + "x": 0, + "y": 64, + "width": 1180, + "height": 836, + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "VERTICAL", + "gap": 16, + "padding": [24, 24, 24, 24], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "children": [ + { + "name": "Detail Header", + "type": "INSTANCE", + "x": 24, + "y": 24, + "width": 1132, + "height": 78, + "component": "Gameplane/Server Detail Header", + "componentId": "1:447", + "fills": [{"type": "SOLID", "color": "#121114"}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [8, 0, 16, 0], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background"}, + "texts": [ + "MI", + "test-server-02", + "Running", + "minecraft-java · neoforge 1.21.1 · ns: default · up 13d 4h", + "Restart", + "Stop", + "Open console" + ] + }, + { + "name": "Tabs Bar", + "type": "INSTANCE", + "x": 24, + "y": 118, + "width": 1132, + "height": 40, + "component": "Gameplane/Server Detail Tabs", + "componentId": "1:466", + "fills": [{"type": "SOLID", "color": "#121114"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "variables": {"fills/0/color": "background/background", "strokes/0/color": "border/border"}, + "texts": [ + "Overview", + "Events", + "Console", + "Logs", + "Files", + "Mods", + "Modpacks", + "Players", + "Backups", + "Capture", + "Settings" + ] + }, + { + "name": "Modpacks Heading", + "type": "FRAME", + "x": 24, + "y": 174, + "width": 1132, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 2, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "heading", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 119, + "height": 18, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "Browse modpacks", + "font": ["Geist", 400, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + }, + { + "name": "subheading", + "type": "TEXT", + "x": 0, + "y": 20, + "width": 1132, + "height": 14, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "layoutAlignSelf": "STRETCH", + "text": "Pick a pack and a version. The server pins that version and restarts to install it; a restart never upgrades it.", + "font": ["Geist", 400, 11], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Filters Row", + "type": "FRAME", + "x": 24, + "y": 224, + "width": 1132, + "height": 40, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Provider Switch", + "type": "INSTANCE", + "x": 0, + "y": 0, + "width": 266, + "height": 40, + "component": "Gameplane/Provider Switch", + "fills": [{"type": "SOLID", "color": "#232128"}], + "cornerRadius": 20, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 4, 4, 4], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "HUG"] + }, + "variables": {"fills/0/color": "default/default"}, + "texts": ["Modrinth", "CurseForge", "FTB"] + }, + { + "name": "Search", + "type": "INSTANCE", + "x": 274, + "y": 2, + "width": 630, + "height": 36, + "component": "Gameplane/Search Input", + "componentId": "1:975", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 2, "visible": true}], + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 6, + "padding": [0, 12, 0, 12], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "fills/0/color": "field/background", + "strokes/0/color": "field/border" + }, + "texts": ["Search modpacks…"] + }, + { + "name": "Select", + "type": "INSTANCE", + "x": 912, + "y": 2, + "width": 220, + "height": 36, + "component": "Gameplane/Select", + "componentId": "1:311", + "fills": [{"type": "SOLID", "color": "#17151A"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 2, "visible": true}], + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [8, 12, 8, 12], + "primary": "SPACE_BETWEEN", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "variables": { + "cornerRadius": "radius/xl", + "fills/0/color": "field/background", + "strokes/0/color": "field/border" + }, + "texts": ["Sort: Downloads"] + } + ] + }, + { + "name": "Category Chips", + "type": "FRAME", + "x": 24, + "y": 280, + "width": 1132, + "height": 24, + "layout": { + "mode": "HORIZONTAL", + "gap": 6, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "chipAll", + "type": "INSTANCE", + "x": 0, + "y": 3.5, + "width": 22, + "height": 17, + "component": "Chip/Primary/Accent/SM", + "componentId": "1:981", + "fills": [{"type": "SOLID", "color": "#FF4FA3"}], + "cornerRadius": 16, + "layout": { + "mode": "HORIZONTAL", + "gap": 2, + "padding": [2, 4, 2, 4], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "variables": {"cornerRadius": "radius/2xl", "fills/0/color": "accent/accent"}, + "texts": ["All"] + }, + { + "name": "All loaders Row", + "type": "FRAME", + "x": 28, + "y": 0, + "width": 109, + "height": 24, + "layout": { + "mode": "HORIZONTAL", + "gap": 10, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["HUG", "FIXED"] + }, + "clips": true, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 3.5, + "width": 63, + "height": 17, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "All loaders", + "font": ["Geist", 400, 13], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "All loaders switch", + "type": "INSTANCE", + "x": 73, + "y": 2, + "width": 36, + "height": 20, + "component": "Gameplane/Switch/On", + "componentId": "1:1532", + "fills": [{"type": "SOLID", "color": "#FF4FA3"}], + "cornerRadius": 24, + "variables": {"cornerRadius": "radius/3xl", "fills/0/color": "accent/accent"} + } + ] + } + ] + }, + { + "name": "Modpacks Grid", + "type": "FRAME", + "x": 24, + "y": 320, + "width": 1132, + "height": 220, + "layout": { + "mode": "VERTICAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Row 1", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Evolution 2", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 103, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Evolution 2", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 151, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 1.2M downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB StoneBlock 4", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 118, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB StoneBlock 4", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 156, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 640K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + }, + { + "name": "Row 2", + "type": "FRAME", + "x": 0, + "y": 76, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Skies 2", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 78, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Skies 2", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 153, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 512K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB Revelation", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 98, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Revelation", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 156, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 980K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + }, + { + "name": "Row 3", + "type": "FRAME", + "x": 0, + "y": 152, + "width": 1132, + "height": 68, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Card FTB Ultimate Reloaded", + "type": "FRAME", + "x": 0, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 150, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Ultimate Reloaded", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 151, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 1.5M downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + }, + { + "name": "Card FTB Infinity Evolved", + "type": "FRAME", + "x": 570, + "y": 0, + "width": 562, + "height": 68, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "cornerRadius": 12, + "layout": { + "mode": "HORIZONTAL", + "gap": 12, + "padding": [16, 16, 16, 16], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutGrow": 1, + "variables": { + "cornerRadius": "radius/xl", + "paddingTop": "spacing/4", + "paddingRight": "spacing/4", + "paddingBottom": "spacing/4", + "paddingLeft": "spacing/4", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "Cover", + "type": "FRAME", + "x": 16, + "y": 16, + "width": 36, + "height": 36, + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "cornerRadius": 4, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["FIXED", "FIXED"] + }, + "children": [ + { + "name": "Icon", + "type": "FRAME", + "x": 8, + "y": 8, + "width": 20, + "height": 20, + "variables": {"fills/0/color": "muted"}, + "children": [ + { + "name": "path", + "type": "VECTOR", + "x": 2.5, + "y": 1.67, + "width": 15, + "height": 16.67, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + }, + { + "name": "path", + "type": "VECTOR", + "x": 2.74, + "y": 3.56, + "width": 14.52, + "height": 6.44, + "strokes": [{"type": "SOLID", "color": "#9E98A6"}], + "strokeWeight": 1.67 + } + ] + } + ] + }, + { + "name": "Info", + "type": "FRAME", + "x": 64, + "y": 17, + "width": 404, + "height": 34, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutGrow": 1, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 0, + "width": 130, + "height": 18, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "FTB Infinity Evolved", + "font": ["Geist", 500, 14], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 18, + "width": 157, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "FTB Team · 300K downloads", + "font": ["Geist", 400, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "Btn Install", + "type": "INSTANCE", + "x": 480, + "y": 18, + "width": 66, + "height": 32, + "component": "Gameplane/Button/Small/Default", + "componentId": "1:709", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "texts": ["Install…"] + } + ] + } + ] + } + ] + }, + { + "name": "Load More Row", + "type": "FRAME", + "x": 24, + "y": 556, + "width": 1132, + "height": 32, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Btn Load More", + "type": "INSTANCE", + "x": 521.5, + "y": 0, + "width": 89, + "height": 32, + "component": "Gameplane/Button/Small/Outline", + "componentId": "1:740", + "fills": [{"type": "SOLID", "color": "#00000000", "opacity": 0}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 0, 0, 0], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "variables": {"strokes/0/color": "border/border"}, + "texts": ["Load more"] + } + ] + } + ] + } + ] + }, + { + "name": "Dim Overlay", + "type": "RECTANGLE", + "x": 0, + "y": 0, + "width": 1440, + "height": 900, + "fills": [{"type": "SOLID", "color": "#000000", "opacity": 0.8}], + "absolute": true + }, + { + "name": "Choose Version Dialog", + "type": "FRAME", + "x": 440, + "y": 80, + "width": 560, + "height": 205, + "fills": [{"type": "SOLID", "color": "#1C1A20"}], + "strokes": [{"type": "SOLID", "color": "#2C2932"}], + "strokeWeight": 1, + "effects": [{"type": "DROP_SHADOW", "radius": 32, "visible": true}], + "cornerRadius": 12, + "layout": { + "mode": "VERTICAL", + "gap": 0, + "padding": [20, 20, 20, 20], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "absolute": true, + "variables": { + "cornerRadius": "radius/xl", + "fills/0/color": "surface/surface", + "strokes/0/color": "border/border" + }, + "children": [ + { + "name": "mTitle", + "type": "TEXT", + "x": 20, + "y": 20, + "width": 131, + "height": 24, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "Choose a version", + "font": ["Geist", 600, 16], + "lineHeight": {"value": 150, "unit": "PERCENT"}, + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "mDescWrap", + "type": "FRAME", + "x": 20, + "y": 44, + "width": 520, + "height": 25, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [4, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "mDesc", + "type": "TEXT", + "x": 0, + "y": 4, + "width": 520, + "height": 21, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "layoutGrow": 1, + "text": "FTB Evolution 2 · FTB", + "font": ["Geist", 400, 14], + "lineHeight": {"value": 150, "unit": "PERCENT"}, + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "muted"} + } + ] + }, + { + "name": "mBody", + "type": "FRAME", + "x": 20, + "y": 69, + "width": 520, + "height": 64, + "layout": { + "mode": "VERTICAL", + "gap": 16, + "padding": [16, 0, 0, 0], + "primary": "MIN", + "counter": "MIN", + "sizing": ["HUG", "FIXED"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "Text", + "type": "TEXT", + "x": 0, + "y": 16, + "width": 217, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "No versions are available for this server.", + "font": ["Geist", 400, 12], + "variables": {"fills/0/color": "muted"} + }, + { + "name": "Text", + "type": "TEXT", + "x": 0, + "y": 48, + "width": 246, + "height": 16, + "fills": [{"type": "SOLID", "color": "#9E98A6"}], + "text": "This server can't run any version of this pack.", + "font": ["Geist", 400, 12], + "variables": {"fills/0/color": "muted"} + } + ] + }, + { + "name": "mFooter", + "type": "FRAME", + "x": 20, + "y": 133, + "width": 520, + "height": 52, + "layout": { + "mode": "HORIZONTAL", + "gap": 8, + "padding": [20, 0, 0, 0], + "primary": "MAX", + "counter": "CENTER", + "sizing": ["FIXED", "HUG"] + }, + "layoutAlignSelf": "STRETCH", + "children": [ + { + "name": "btnCancel", + "type": "FRAME", + "x": 373, + "y": 20, + "width": 64, + "height": 32, + "cornerRadius": 6, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 12, 0, 12], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "FIXED"] + }, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 12, + "y": 8, + "width": 40, + "height": 16, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "Cancel", + "font": ["Geist", 500, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + } + ] + }, + { + "name": "btnPrimary", + "type": "FRAME", + "x": 445, + "y": 20, + "width": 75, + "height": 32, + "fills": [{"type": "SOLID", "color": "#FF4FA3"}], + "cornerRadius": 6, + "layout": { + "mode": "HORIZONTAL", + "gap": 0, + "padding": [0, 12, 0, 12], + "primary": "CENTER", + "counter": "CENTER", + "sizing": ["HUG", "FIXED"] + }, + "variables": {"fills/0/color": "accent/accent"}, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 12, + "y": 8, + "width": 51, + "height": 16, + "fills": [{"type": "SOLID", "color": "#FFFFFF"}], + "text": "Continue", + "font": ["Geist", 500, 12], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "accent/foreground"} + } + ] + } + ] + } + ] + } + ] +} diff --git a/assets/design-export/json/tY6RD.json b/assets/design-export/json/tY6RD.json index b392fd849..4f9bef5b4 100644 --- a/assets/design-export/json/tY6RD.json +++ b/assets/design-export/json/tY6RD.json @@ -506,6 +506,50 @@ }, "variables": {"strokes/0/color": "border/border"}, "texts": ["Multiplayer"] + }, + { + "name": "All loaders Row", + "type": "FRAME", + "x": 394, + "y": 0, + "width": 109, + "height": 24, + "layout": { + "mode": "HORIZONTAL", + "gap": 10, + "padding": [0, 0, 0, 0], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["HUG", "FIXED"] + }, + "clips": true, + "children": [ + { + "name": "text", + "type": "TEXT", + "x": 0, + "y": 3.5, + "width": 63, + "height": 17, + "fills": [{"type": "SOLID", "color": "#F5F3F7"}], + "text": "All loaders", + "font": ["Geist", 400, 13], + "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + }, + { + "name": "All loaders switch", + "type": "INSTANCE", + "x": 73, + "y": 2, + "width": 36, + "height": 20, + "component": "Gameplane/Switch/Off", + "componentId": "1:1470", + "fills": [{"type": "SOLID", "color": "#2C2932"}], + "cornerRadius": 24, + "variables": {"cornerRadius": "radius/3xl", "fills/0/color": "border/border"} + } + ] } ] }, diff --git a/assets/design-export/parts.json b/assets/design-export/parts.json index 5b7b3b31f..cf4e6aa87 100644 --- a/assets/design-export/parts.json +++ b/assets/design-export/parts.json @@ -21,7 +21,7 @@ "name": "Gameplane/Dialog/Add Module Source", "width": 480, "height": 885, - "hash": "c0cf0075d3896312835c22817219bc37c6c683ac3da40218059e79df00e69223" + "hash": "8260f3da20749e2bcdd725e6f14c2a61135ee25cf75cbbfea2714e44ab36375c" }, { "file": "E9EEv0", @@ -29,7 +29,7 @@ "name": "Gameplane/Dialog/Restore Backup", "width": 480, "height": 389, - "hash": "5915b833fb5f2b03aeca2fa784f661fba1a66458f94a26c7dc1762a8ba1d77d7" + "hash": "eca6930dd47a84aa9863640cb848e74cea5010d04d10b91c22f87f56479ca7f3" }, { "file": "Kp48V", @@ -45,7 +45,7 @@ "name": "Gameplane/Dialog/Reset Password", "width": 480, "height": 215, - "hash": "16f64b8c2a1ba546d1f17bd24caaef34f9dc99da142550674eb3827c3d524b24" + "hash": "45c8afb353fa9b01aac777cedfff1519229854e18813f69f0a8fd86866f5102f" }, { "file": "NLDDv", @@ -53,7 +53,7 @@ "name": "Gameplane/Dialog/Invite User", "width": 480, "height": 516, - "hash": "fb5bff4c05bd034ddacf2659c12fb44431ce12a39e874f23b9e06884952e9a7f" + "hash": "5664e6002dfacecf7a78421dda580f00a9782e85a322fb330ad686379330878e" }, { "file": "R65Xyx", @@ -85,7 +85,7 @@ "name": "Gameplane/Dialog/Share Link Created", "width": 480, "height": 380, - "hash": "92e01a556ad4808df84499a5c49e5142d4367f8ab2cdacbe5b1b7590fa74e0a9" + "hash": "9efc00d0836a7d18cfe2879f54a7fe32d19ea6235fb7d8dbae8d5b72b1bfeaf0" }, { "file": "XL5ZU", @@ -101,7 +101,7 @@ "name": "Gameplane/Dialog/Create Share Link", "width": 480, "height": 302, - "hash": "cb9b515755c55262d2c819f941dc4bbf6e1221072ab233250c55b5dd1231242a" + "hash": "0518382ebf5304a6b08104124a73439a38291490a368f3a7a79fcf09c5d04a5a" }, { "file": "bHJy6", @@ -125,7 +125,7 @@ "name": "Gameplane/Dialog/Edit User", "width": 480, "height": 558, - "hash": "c4e8d2e0d12aeb2f76d6ec9cc19a1e371ac1939b546b03a9bf8d3b8dc0977516" + "hash": "a7a10763926bcc566dd689dcc210b21f5aac2e46a017ea357e77bce0dc77ac0d" }, { "file": "uw0dB", diff --git a/assets/design-export/screens.json b/assets/design-export/screens.json index 8527c308d..c3ae0d358 100644 --- a/assets/design-export/screens.json +++ b/assets/design-export/screens.json @@ -125,7 +125,7 @@ "name": "Screen/Server Detail — Modpacks", "width": 1440, "height": 900, - "hash": "cfcb062557b579880ebc60dd458828906717e7507d7171aed4c83af114ae18d3" + "hash": "cfae3ad2a34d648f10b2ff4aaff5c22db584f5eb7e202d9814d07df8fa782c55" }, { "file": "dPP50", @@ -133,7 +133,7 @@ "name": "Screen/Server Detail — Players", "width": 1440, "height": 900, - "hash": "507486d21380cde8f049795e7baed55b3e55066074238393709599948559551b" + "hash": "51b3cd9343ffee181c60006ffea7b5ebba2dc35ad812c41917119863df692ebb" }, { "file": "pssCT", @@ -141,7 +141,7 @@ "name": "Screen/Server Detail — Backups", "width": 1440, "height": 900, - "hash": "0945f2a6416a7bef1b737504c5638b31a2d4b76c4064b0cae88fe2e4b6b8ab81" + "hash": "72becb4855a3f156b45fc96d213a29dc9fd2eac6caf658e41268859a2844ce35" }, { "file": "hLB9Z", @@ -149,7 +149,7 @@ "name": "Screen/Server Detail — Settings", "width": 1440, "height": 900, - "hash": "110e12e9925ed8a228c137395f1c0dd4f34b007fb512f4959aa90a4048a6ad7f" + "hash": "2b2adb50133ace9e1c6617bea41cc9ea206a0f70d44268c00a141ca8c95d291d" }, { "file": "swxkJ", @@ -157,7 +157,7 @@ "name": "Screen/Server Detail — Settings · Version", "width": 1440, "height": 900, - "hash": "d57d4cef425069281aeb06ec0af2fb97abfa24d35ff9f0c7fd697dc4e2730880" + "hash": "a2ceaa3ce52a75bd82cd4e5664c58284f91e82940b56711205aee33b4a84221a" }, { "file": "E0ypH", @@ -165,7 +165,7 @@ "name": "Screen/Server Detail — Settings · Resources", "width": 1440, "height": 900, - "hash": "0e2ee82c67395d4c6af29ae8ab74c2c612aae566ade5a43be7fee0dbf97c8672" + "hash": "f0b66ed9cc08356dab96930a53714cb882940d33d65880edab7074c3fc5a3ff3" }, { "file": "J5pjJ3", @@ -173,7 +173,7 @@ "name": "Server Detail · Settings · Networking · Complete", "width": 1440, "height": 900, - "hash": "cadb56cf18eaeec58e2776e85f807c44f67ad1474be69a1c413be7121a83c427" + "hash": "c2d4526cfba4d9e674907af4797bf169ed4e9845bbb26f6adcd4fe741875b79b" }, { "file": "ugDSa", @@ -181,7 +181,7 @@ "name": "Screen/Server Detail — Settings · Environment", "width": 1440, "height": 900, - "hash": "8d2c86a3e4842ff3cf1b8f611267509d31fc5ceb7cc508fc01d3338f1d5901b0" + "hash": "c21ae2361d87ab59fd9b419f088128b59cd05e346ad0f4ef3c352a2b2786624f" }, { "file": "i1bLR", @@ -189,7 +189,7 @@ "name": "Screen/Server Detail — Settings · Lifecycle", "width": 1440, "height": 1620, - "hash": "786ce77fa2137acef2763f4af65ae4bf6f1b0c09a6e4052369e08b2d5c0e0659" + "hash": "e2b4b53655621ec90b91f9fee302531a3ed00810070b1c2b169a299700224bdf" }, { "file": "KaRFX", @@ -197,7 +197,7 @@ "name": "Screen/Server Detail — Settings · Scheduled backups", "width": 1440, "height": 900, - "hash": "02d1c5479c4e3c729a22c3a5baee3e5cc0b78cc6af2aa69ab72fa0073f5541da" + "hash": "1db26d736bcb6fd062db1fb201558149a32b8743a4049a271de6da20fc6bb99c" }, { "file": "Y5cmvI", @@ -205,7 +205,7 @@ "name": "Screen/Server Detail — Settings · Placement", "width": 1440, "height": 900, - "hash": "be59b4e6e854b587aca7f2ff455477a991417e41ecf0e59c0fdecfe8c2760696" + "hash": "d4dec705e1b96381f1436d4073b8040051a5851ab00ac1a687aa6805eeddeeaf" }, { "file": "iSA6R", @@ -213,7 +213,7 @@ "name": "Screen/Mobile — Server Detail — Settings · Placement", "width": 375, "height": 900, - "hash": "d25c7e1decacfe3c363fecac7b82d358b92307f08687891785fc7afb85d0a297" + "hash": "312ab150a5c6ccc3bb2a9827dd934e340f8e768886ea937c28eee31934e2ffe2" }, { "file": "VfB0Y", @@ -221,7 +221,7 @@ "name": "Screen/Server Detail — Settings · RBAC & access", "width": 1440, "height": 900, - "hash": "effb64fd79e1eecd0f81dfe747b65a969a966941860eb0a41a8cb5ebabf362e9" + "hash": "1920f22e7365af57f0cee6bcd0b938b14d85ef267141180e052dcff9a1bdbb01" }, { "file": "i8wib", @@ -229,7 +229,7 @@ "name": "Screen/Server Detail — Settings · Danger zone", "width": 1440, "height": 900, - "hash": "c5c7e4b036828e4d914f6ca4a0ec270589b75406c3471afed8006fd457467469" + "hash": "93d66df9caa2e8906fbd86b4d8782c00303698893fa8bd3430d8d3cdc9c2d8fd" }, { "file": "W8idqY", @@ -237,7 +237,7 @@ "name": "Screen/Create Server — Step 1 Template", "width": 1440, "height": 980, - "hash": "a644d6a0546faf58f4fc83d3ed06dcfc926fc650719b83790013f20a3f2cdabb" + "hash": "836e5c8530524b6648ad90dac4cd64863903f4c62ec7c95c796ab0d1c7b33855" }, { "file": "nNL3E", @@ -245,7 +245,7 @@ "name": "Screen/Create Server — Step 2 Version", "width": 1440, "height": 1000, - "hash": "9cff412e8eeb9f3acc06126aeec03647ad9f500bed2b35b3208e4ea9ebb0f101" + "hash": "376f9d86dff31942cb080f9d889af21eea1d799cee836303ac55a9698b01a18c" }, { "file": "vUqMl", @@ -253,7 +253,7 @@ "name": "Screen/Create Server — Step 3 Configure", "width": 1440, "height": 2120, - "hash": "22b2c8321fd3a5fa0a76dc64cadfe022da5bad5f17d75070de490f9d7e378fcc" + "hash": "5bd3545cb1d3d8cc000ef8e1a7c3e3a3a03e23eca6e82a6e42250b2fcca7ab41" }, { "file": "f1Vga", @@ -261,7 +261,7 @@ "name": "Screen/Create Server — Step 4 Network", "width": 1440, "height": 1270, - "hash": "d9d22a1f10dc441ffffd326ef22472aa22e482346ee8eb9150e975a117265dda" + "hash": "8e46038542ef9dacf659957d3b87c1b1ceaa1253e6655632a3db5672e91b407b" }, { "file": "UMJli", @@ -269,7 +269,7 @@ "name": "Screen/Create Server — Step 5 Review", "width": 1440, "height": 1000, - "hash": "9a267c35319dcdc7195da1cd4709677cceb8931404c780f419165091e51e9fda" + "hash": "80d5f26ec4f86eb60748fa03501cefb83939302954cb17bcbc86c8eb745102b0" }, { "file": "kK8Ji", @@ -277,7 +277,7 @@ "name": "Screen/Modules Catalog", "width": 1440, "height": 1320, - "hash": "bfd2d9b474b3545f36019d53c03b01b50a3e216b5b1197e101b1b559b2dd0fe1" + "hash": "32ff6244d0d9b5ebb7e7e2558b26e139b07e8a2b4e846e9e40f9192275e11871" }, { "file": "DPrYX", @@ -285,7 +285,7 @@ "name": "Screen/Backups — Index", "width": 1440, "height": 900, - "hash": "414fb10255a76768f0932d5f9b998c1bd73fc92a949002f12b3c91c014a3d14b" + "hash": "0986ea8f927f7ecc2465603f256182656e000bae111e52bc3dcd0d449c7c705b" }, { "file": "9dBXM", @@ -293,7 +293,7 @@ "name": "Screen/Backups — Index (Empty)", "width": 1440, "height": 900, - "hash": "d5f559ad8acd520405ce70fa7443c0b232df2da039f4ef4f7d4591b1270fc752" + "hash": "3d5d64731e553109fb7db3ad43f4af726e7a46d688ab58297fc4ed3d21a0fe91" }, { "file": "fK8Bi", @@ -301,7 +301,7 @@ "name": "Screen/Backups — Schedules", "width": 1440, "height": 1150, - "hash": "a7162e0463f863b213ab1fbf7782ed8670adaace477f381eea42b3d6f7130df0" + "hash": "196d65cb031e134d433c3d8d1416f3e50bb0aff0d1cf96cb0cf848ad529d84f4" }, { "file": "vtExV", @@ -309,7 +309,7 @@ "name": "Screen/Backups — Schedules (Empty)", "width": 1440, "height": 1150, - "hash": "8fe88cc409e6db4d58279a4089b46bfd15ccc575db8d0a095e8a51c498b919d5" + "hash": "ef655010cebace18c4ded07cc04971e8c00f78c6d000f11c774824a63d3d28ab" }, { "file": "tTSdi", @@ -317,7 +317,7 @@ "name": "Screen/Backups — Restores", "width": 1440, "height": 900, - "hash": "2eb2682fb7b10ce37cb2080764799725feb20ec0842cc6314f74856cebfdb6b4" + "hash": "554ddbed06b8362b88dd58ebb923d4ed4ad1b15827918355a875f31ee2689924" }, { "file": "nfMMj", @@ -325,7 +325,7 @@ "name": "Screen/Backups — Restores (Empty)", "width": 1440, "height": 900, - "hash": "361f23ecb710d16d91276ee7917557a293b2c779615f7d87ae4261ef1ec5d5cf" + "hash": "5677f23bd11e5fd6036eb9076a67d831fff7bb6f6192835cf43b99c0d89cd05d" }, { "file": "j9W8A", @@ -333,7 +333,7 @@ "name": "Legacy/Cluster Settings — Superseded", "width": 1440, "height": 900, - "hash": "063efca85b906c580a6120be0a544a8b9a1f5ec2b0a5f1dc9126aa4a755579d2" + "hash": "aee9ce629a84ecdfa371d75b5668d42e27d6a655d81c1a481aefc9e1872dc6f8" }, { "file": "bYDHC", @@ -341,7 +341,7 @@ "name": "Screen/Users & RBAC", "width": 1440, "height": 900, - "hash": "31c3a9002d69cf526b6f3e2ef7273928e33be730ac04d61a29021c597f5a6208" + "hash": "49139aaa051af669e3dec4c4b938cb3f7558c4739f43776106d5d724a5ea8358" }, { "file": "e9lV4", @@ -349,7 +349,7 @@ "name": "Screen/Users & RBAC — Roles", "width": 1440, "height": 900, - "hash": "1b442291b00ed402be8e44cfe39fa92642ac851cc7d623a3f40406a6c083ced1" + "hash": "13e90c87cb9a8fc753668a589e86d86a82c3b86d7874bc837de4ee987893f107" }, { "file": "TBvTC", @@ -357,7 +357,7 @@ "name": "Screen/Users & RBAC — Service accounts", "width": 1440, "height": 900, - "hash": "45b8d85ddc411816e0e48b869630cfa8cb77e88763b3e5439ae21c96fff32237" + "hash": "f700f4abd932723c19033b0448af42413b7d9ac127e63ae8adfd222156ef8beb" }, { "file": "Dpb9f", @@ -365,7 +365,7 @@ "name": "Screen/Users & RBAC — Identity providers", "width": 1440, "height": 900, - "hash": "be93ee085cf36690f9140f65a6c3421d8f3e5838a6ada01bddbf04c38af200e8" + "hash": "a0009ea0c42f98711f5dbfefc718111b84a57e4e5bac37bfacd964133dbf9419" }, { "file": "DxKOh", @@ -373,7 +373,7 @@ "name": "Screen/Audit Log", "width": 1440, "height": 900, - "hash": "e96a21bd03649bfc173ac2c0ce27f77c8cb0c534f9d17a8b8ec54899c5d49b38" + "hash": "9b2883178440abb33d222a9ab315f7539f8fa902bce470699d6814004cb0af53" }, { "file": "Bq2Yg", @@ -381,7 +381,7 @@ "name": "Screen/Admin — System Logs", "width": 1440, "height": 900, - "hash": "2e328b381d19aa172453d5ab297428dee5cc382b0b6f7527bd13f35e82e69801" + "hash": "cc841a22478cafb3e3537b93b70d3aaa7e4f1eba206f227741ea312b43f8dafb" }, { "file": "WZdnw", @@ -389,7 +389,7 @@ "name": "Screen/Admin Settings", "width": 1440, "height": 900, - "hash": "7aef909a7ab528d825b46c2bbe9bff5c80359336a436030ccbc083ee554b77bd" + "hash": "187bd97095761e752a500cdda09c48b1b9185373272bbbfb96188cdbac201925" }, { "file": "uMiwd", @@ -397,7 +397,7 @@ "name": "Screen/Admin Settings — Authentication", "width": 1440, "height": 1636, - "hash": "c7d14d2c673b109755bf791a951af95371ebc92c48976e1d34f806dbecadc0f2" + "hash": "04166505735439a50fcf96bb4b47f1d99bbbc84c7a33d8b8eaa648651750f4cc" }, { "file": "RC3Kf", @@ -405,7 +405,7 @@ "name": "Legacy/Admin Settings — Backup destinations — Moved", "width": 1440, "height": 900, - "hash": "b263397314decb4c976161259f409e462b12dd1f4525dbcf0e479d3a11b861f2" + "hash": "0a99bdc2ead83e7311829fa4c19583efb6285af8b768821c7b4b4a45a19d6b7f" }, { "file": "g5mEpx", @@ -413,7 +413,7 @@ "name": "Screen/Admin Settings — Module sources", "width": 1440, "height": 900, - "hash": "9df3b0bb01b8020bb7c70db5cd6864177cfd2d05383bdd19e63acf26d5bcca26" + "hash": "eaae45de61766336c56fe9e7c98bbc453c737ec2d2b8882e2b9a7b2dc04673c5" }, { "file": "n6Xlo", @@ -421,7 +421,7 @@ "name": "Screen/Admin Settings — Notifications", "width": 1440, "height": 900, - "hash": "9ce59f87b5fcef0221a12bfc469efed5693e6142ce1b0c1d551c8887fcb79e71" + "hash": "69c9a411cf31acf6d56d78a5c7961b6b2ec0e15c32c3dceb8b6ac9bb43a34c2c" }, { "file": "uoxQW", @@ -429,7 +429,7 @@ "name": "Screen/Admin Settings — Telemetry", "width": 1440, "height": 900, - "hash": "4b122bf0feff24b5a6e05984db971ff7a1d3159566247fcc45ec40194b6783c2" + "hash": "359750c4ee1742eca98bb12347bbd9f7a499596276109db5783fa4130ed1f732" }, { "file": "M2sA4u", @@ -437,7 +437,7 @@ "name": "Screen/Admin Settings — Updates", "width": 1440, "height": 900, - "hash": "9bd398ec4f378341054273b82c558eca5c09f903fa29102455b9a33f65cebd46" + "hash": "759b73f76b1059bd4f62e7e1cb6beae9191e97f4f57e85fb72d31421f3c0115c" }, { "file": "zM0VF", @@ -445,7 +445,7 @@ "name": "Screen/Admin Settings — About", "width": 1440, "height": 900, - "hash": "0cb9763ed212c2617bce1e3ff61b154562576865e5b4a64202b6641b724ca9e6" + "hash": "926a4eacbc2a8cd9c8347c3496a0bb14711321bc671134076ca1f40ae5781344" }, { "file": "tooKB", @@ -453,7 +453,7 @@ "name": "Screen/Mobile — Servers", "width": 390, "height": 954, - "hash": "5cca99481664454343822f267b9c9391b6630da5beb0c776d086e68f13e20e54" + "hash": "68dedd7bbcd9f6cbf707a4d3f04fd859ac5b98f4d8d5df08ff229c3daf9fc1e1" }, { "file": "SeizD", @@ -461,7 +461,7 @@ "name": "Screen/Mobile — Nav Drawer", "width": 390, "height": 844, - "hash": "ab22e5b356f048ddbefda25cae23f0702109ccc0f6917ed52e672155229bf727" + "hash": "95d354b146c300b46422dffa9e7213ed084b6a1504f16ed28042083fd46e3037" }, { "file": "Wj0V4", @@ -469,7 +469,7 @@ "name": "Screen/Admin Settings — Mod registries", "width": 1440, "height": 900, - "hash": "6465c57595d7dcf325f3bc2fedcaf0aba9f383d3f700dc37d004a40d8ce2844b" + "hash": "1caf368317ee8c2c784e4e94bb5f36c3dc593358a05a7ef9a2d008b4e9e6b430" }, { "file": "i4L0M", @@ -477,7 +477,7 @@ "name": "Screen/Admin Settings — Mod registries (Key saved)", "width": 1440, "height": 900, - "hash": "97f5ab7f45da120699590cc8c6a872c0c2993d678be89c168fa12681805587bf" + "hash": "70ebb02e2f9d6e8fe262db56c7be82a2f47a7e59b49b758228eab6c5a61990b1" }, { "file": "KhYNc", @@ -485,7 +485,7 @@ "name": "Screen/Server Detail — Mods (by ID)", "width": 1440, "height": 900, - "hash": "6aada485c737aa7f968c476817d751c9543341018a7ef5af7894496caad4ba9f" + "hash": "c02d6e1c8b0504e4fc91fc562db96a6cc78941d1f7718b8e5bef72bddfdbceb6" }, { "file": "IzuY2", @@ -493,7 +493,7 @@ "name": "Screen/Server Detail — Overview (Never sleeps)", "width": 1440, "height": 1725, - "hash": "f05e8a48e1da6969c0fb055e3f4bf668c44037314499f442e1df5d94249a0468" + "hash": "cd47d1b1d674ffffc9f3698ad7dc4d73ccd9142fc728ab87661b97ac202610bc" }, { "file": "TE2jI", @@ -501,7 +501,7 @@ "name": "Screen/Server Detail — Overview (Asleep)", "width": 1440, "height": 1102, - "hash": "03af90e9f8e0904a424ccee6c300ce41ec850a50ecfecbcfe320b8de74ef826a" + "hash": "92a3a8c9fa5c856f46b9a32c3c7b1d28c1dfab16ee07903948a85503660e474e" }, { "file": "x7MJI", @@ -517,7 +517,7 @@ "name": "Screen/Server Detail — Settings · Share links", "width": 1440, "height": 900, - "hash": "b9f214f79c511a58f86f56fbd5b25d4087e9c2771e09080b5b9aea7946f2cd6c" + "hash": "cb9bb6ce1ac95f98998f80b85454f09d00627394967e2f1fe0b9b72c00aea1ee" }, { "file": "dQV9N", @@ -525,7 +525,7 @@ "name": "Screen/Server Detail — Settings · Share links (Empty)", "width": 1440, "height": 900, - "hash": "9e8d7fcff555f9bf57c56b051fcb611760cc590e59790410cba89cd21b6be166" + "hash": "a336b12426dafdcd8975c8ed9a443465c82258d870c80e231bc4882a9360ac6c" }, { "file": "C2LQE4", @@ -533,7 +533,7 @@ "name": "Screen/Share Link — Up", "width": 1440, "height": 900, - "hash": "f1a1aed1cb1835123acb9daeb3d003c6fe1b8418699ae1da20c729c89fed039c" + "hash": "303bb02a5931969514a3536aeada6fe2608a919e19465a526ab85d019f4926fe" }, { "file": "q31B6w", @@ -541,7 +541,7 @@ "name": "Screen/Share Link — Asleep (can start)", "width": 1440, "height": 900, - "hash": "a5f8294c3ec7b23f32b8534a4ad9db6271fc3fe9c55103b9ed67f2abeb026da6" + "hash": "64ce2a3fe165e1561ba75fb4f3716d8c476abb25e216fd13fd9f9a15c08b6c7d" }, { "file": "qFLfB", @@ -549,7 +549,7 @@ "name": "Historical/Share Link — Asleep (view only)", "width": 1440, "height": 900, - "hash": "7bde13cd14f5061361e787c9c84ec4987ec033d14b294a44009c61b4879dbb1b" + "hash": "397c346a26ee46491ec45e2cf1e1f9f18838ff72a651768cdb7a74377b0e70c7" }, { "file": "EcoGD", @@ -557,7 +557,7 @@ "name": "Screen/Share Link — Starting", "width": 1440, "height": 900, - "hash": "1bb40144bed2300795b390885d484c230f30ed75a53b134cb116a523417a4e18" + "hash": "23f9f6b56b84467e22d0d9de39e9f0ba361a6186b04844436f7a7516ca59542e" }, { "file": "epZO2", @@ -565,7 +565,7 @@ "name": "Screen/Share Link — Invalid or expired", "width": 1440, "height": 900, - "hash": "9c03f34ae1d752907d45d6ba843bfa06dbdc8e249dd74c78f44ba1d44c833915" + "hash": "0c836af14ec0a4c44d96041c9f3118fad70f52f8b34199f36f981dfbea7ce234" }, { "file": "LYPXU", @@ -573,7 +573,7 @@ "name": "Screen/Share Link — Stopped by owner", "width": 1440, "height": 900, - "hash": "63821d3aa3efd1317f81a392f94623f2d0c0b9166ad94354363604a405e66d86" + "hash": "a29d1b23b71861584fc6ef5507cc045ea73057e6af5487e02134250da6d8e9e5" }, { "file": "B57dG", @@ -581,7 +581,7 @@ "name": "Screen/Share Link — Start timed out", "width": 1440, "height": 900, - "hash": "4e7d2609d46ddd1b98119d17d97c86cbb823c29692b30eddc032ded2a6ea915c" + "hash": "39db3617512be83a14a518e59c601cbc2caa39560835c96a51da32bcbbf2562e" }, { "file": "Bbnga", @@ -589,7 +589,7 @@ "name": "Screen/Server Detail — Capture (Not enabled)", "width": 1440, "height": 900, - "hash": "c471197f16808002b1ba628c198a776f8dba4acb0be38ff10d0b9f81f1aa369e" + "hash": "3a9ff876a8909de80bc915f73994dda0e1415716e3450bfdc149c97db6e2eef1" }, { "file": "dBILX", @@ -597,7 +597,7 @@ "name": "Screen/Server Detail — Capture (Empty)", "width": 1440, "height": 900, - "hash": "e469bb9c1a1e5692e41b39766741bb1bffd62ae1ed5e9b95eff45312c9f4fa80" + "hash": "bae80c020b689b51e2c6e13ed775edd8a7ac9212389c15cf0df01addcdf14ee8" }, { "file": "xvlB6", @@ -605,7 +605,7 @@ "name": "Screen/Server Detail — Capture (Running)", "width": 1440, "height": 900, - "hash": "b68096d77aa8d326fc706f73610e5eec2e7bcd0ae73ed11199c7a9ac608bf339" + "hash": "d312855b82c034a58726aacc2622eba6470847f0c3630f258e8981bd98433b55" }, { "file": "m5kOm4", @@ -613,7 +613,7 @@ "name": "Screen/Server Detail — Capture (List)", "width": 1440, "height": 900, - "hash": "94f858f40facc3f3f96cb371442f156a0f157a861c3a3dc7d22c32d9fa8a091a" + "hash": "2f04ab889c1a3eeaaa70d11536dec8a64d7a6808a4333d38cc6dc8d8631092cc" }, { "file": "O08uaD", @@ -621,7 +621,7 @@ "name": "Screen/Server Detail — Capture — Start capture", "width": 1440, "height": 900, - "hash": "7733883602fac7f3e8f6fa90da340617e8476ca2cb7e6fc9849d0cb141bc192b" + "hash": "322d26dd0fea4b29056177291c884af68dac6fef1d8a2c6a3b094f2bbd917318" }, { "file": "b4eaUf", @@ -629,7 +629,7 @@ "name": "Screen/Server Detail — Capture — Start capture (Invalid filter)", "width": 1440, "height": 900, - "hash": "d99c60ac9c627718aa9c0e12f41c01447b4e6221d4911d2b56983cc9b9ef9fca" + "hash": "49e443c166e3aa457e3a6db0ca4f7632b7862c1507ed327c1ac4c74037a0ce15" }, { "file": "RodrS", @@ -637,7 +637,7 @@ "name": "Screen/Server Detail — Settings · Network capture", "width": 1440, "height": 900, - "hash": "9339e2d954c5dafc4c279509d6252d8ede2f1e7b4c20dae56372759c31517329" + "hash": "1987a30de2347a865edfade6e44d5ac02a14895f212289f5c382a750598814d4" }, { "file": "nNGDX", @@ -645,7 +645,7 @@ "name": "Screen/Admin Settings — Authentication (No OIDC mappings)", "width": 1440, "height": 1463, - "hash": "77a4a5b264f689a5b69fbe94b20ed0be49ff1182f1b89007ec279432a3c32241" + "hash": "5df69dbf0c8928f3fd21dc1d0f0dba60458a057df56714a6eb13be8b9a596f85" }, { "file": "dxdEi", @@ -653,7 +653,7 @@ "name": "Legacy/Cluster Settings — Default storage — Superseded", "width": 1440, "height": 900, - "hash": "e1b2206064ea860169e3ef0c73e084600f27243c63599439a27a37c2f00c6f10" + "hash": "b69225954a1312135fd395c43e00586cd23f4a0bd56e57827b1183c3fca2400e" }, { "file": "QgW58", @@ -661,7 +661,7 @@ "name": "Screen/Admin Settings — Authentication (Save rejected)", "width": 1440, "height": 1660, - "hash": "8423c6f0e0975b6929df964764b515ba11d76aff807d4c6e0918e64abcd0be5d" + "hash": "b6a0ff558598836d920a6a8456e7f6326b7d033ee9c883a2031e7483c1b42770" }, { "file": "zqzr4", @@ -669,7 +669,7 @@ "name": "Screen/Admin Settings — Authentication (Admin mapping warning)", "width": 1440, "height": 2488, - "hash": "c4616b50439449a850397b51d2350eefa5a5d083cfd0e2d5756514caa4a54493" + "hash": "99c79d3e6838061114c627e38fb0f65916d438f70bae5675944d6a4d5a3d1a80" }, { "file": "o4LH8W", @@ -677,7 +677,7 @@ "name": "Screen/Server Detail — Overview (PVC Provisioning Failed)", "width": 1440, "height": 1320, - "hash": "30ffdcb27c42fa5d3fa820ebdf73126bc25c36a08d34e63fffc1b1e6e6d1967c" + "hash": "2ce8d76bea8770d786d7fac0442c2f6cbbc393b2cd27be9a278e12f45b624607" }, { "file": "zFiOW", @@ -685,7 +685,7 @@ "name": "Screen/Servers (Light)", "width": 1440, "height": 1010, - "hash": "62fadbe4ba57b32e0804773f94c80da3c6d413cf73c8abaa652096fc241879dc" + "hash": "ce0ff4708a030e1b1e22aef4c99bc78ade1181d31518a5a944f6dc79edb688e1" }, { "file": "F9pUrx", @@ -693,7 +693,7 @@ "name": "Screen/Servers", "width": 1440, "height": 900, - "hash": "d8eb2031574c75fbb99a3565e58104bcb59e097d4628539b8f15323a5acb65e4" + "hash": "19a6409cbd07bec4fb526dd756f40e5f5b2787f647da63391164cfb6adbaddf8" }, { "file": "Hy9r0", @@ -701,7 +701,7 @@ "name": "Screen/Server Detail — Overview (Idle armed)", "width": 1440, "height": 1622, - "hash": "818d756e7df4523b5fae0cc1125fc8f9abd3ca5c5719b4b0a4ec2a54247ecef6" + "hash": "25b4aae21c8492a84996f79654ad9b3e313f427c412e1cded1bb49a9c9c465d0" }, { "file": "sSISK", @@ -709,7 +709,7 @@ "name": "Screen/Server Detail — Overview (Light)", "width": 1440, "height": 1300, - "hash": "45461d52e84ef5a1791f2a027b27cfcbb43b2e0f05469be3fce0bb4df7065540" + "hash": "1259925174aeac716032fb429039f42cc00dfa7c7abc9c950f6dcc0d0474bd93" }, { "file": "gX7um", @@ -717,7 +717,7 @@ "name": "Screen/Login (Light)", "width": 1440, "height": 900, - "hash": "d4bb89da14b640489f7cf81c9be4694499f77fdd984463672a4b38a6030f19da" + "hash": "96b2bd4d9a3204acbd66299e0f21e85245009d0264ffb2bc063025ee591e4c52" }, { "file": "oyoTs", @@ -725,7 +725,7 @@ "name": "Screen/Dashboard Home (Light)", "width": 1440, "height": 1150, - "hash": "eb3bdb1e765c502fe54ed1b72d9e153fa67a5ba6db8571ee9f443eb8e9f3afbc" + "hash": "31b833ff42751245fbab0d591078790c3d206963e9d2d217b2ec5fda93a55d35" }, { "file": "DWztv", @@ -733,7 +733,7 @@ "name": "Screen/Mobile — Servers (Light)", "width": 390, "height": 844, - "hash": "4a9f725f91b38eafe6139a7bd16e89437405c1de2ed95593455d5e81110f0b33" + "hash": "9a46152f38bde8b643b1ac243c45a8907ad593b062015e1ccffe012474c1d37f" }, { "file": "IdbiB", @@ -741,7 +741,7 @@ "name": "Screen/Dialog/Build Module — Step 1 (Preset & Metadata)", "width": 800, "height": 977, - "hash": "e9952445b7ea3bd37a7e8e21497d0ad851e2cb187696607b5e2ad38837e6111a" + "hash": "f5ee5df911e344944cfc6cf096c07e705d30ff36cb974b9ddb775b4a3123d0a4" }, { "file": "O5kaV", @@ -749,7 +749,7 @@ "name": "Screen/Dialog/Build Module — Step 2 (Container & Ports)", "width": 800, "height": 546, - "hash": "dc97592a916885a66ab4ef6a5a6f46c97ad8bd302746727522cae153c613745e" + "hash": "37a2a6199c04aeea99ae927022e4b6b14888bf0bd1e3a1c928af3b9285b1b5f8" }, { "file": "hmPL7", @@ -757,7 +757,7 @@ "name": "Screen/Dialog/Build Module — Step 3 (Review & Export)", "width": 840, "height": 593, - "hash": "b4a8af1756ebbc5af5ff5420dd5f8e25c848df1873e2bf9be6a353c28396420c" + "hash": "dd78c220901e05e8098cfb54aedb74397ad278e0e0d7ac34f8032eae15eb8678" }, { "file": "uCA23", @@ -765,7 +765,7 @@ "name": "Screen/Server Detail — Settings · General", "width": 1440, "height": 900, - "hash": "9eb80b872093d2978e25c9b10bad603e595d09a5968bb012d205cb8f205ea58f" + "hash": "6bd5b093dd7aaec651ef8f9d025bd243100a1f7f099641891f29ce20e60d125e" }, { "file": "VctzT", @@ -773,7 +773,7 @@ "name": "Screen/Server Detail — Settings · Version", "width": 1440, "height": 900, - "hash": "7533a514bcb30053b2341473b6880651875fd926e762362a39552aaa24890fb3" + "hash": "eb99976d11f310f35dc22c47bafe59324c3f84dde723bcd0b1e13bfb7a3b9607" }, { "file": "iLm38", @@ -781,7 +781,7 @@ "name": "Screen/Server Detail — Settings · Environment", "width": 1440, "height": 900, - "hash": "8d210696415a849908c2eb4a5d514d6ba0745d5ac5d4a10f46adb005e7243fa0" + "hash": "eb304d61fca5d583f9a2cd16b68bbe99172f4e5bb5b056ef00c2edd29fc5b3d7" }, { "file": "QpEvu", @@ -789,7 +789,7 @@ "name": "Screen/Server Detail — Settings · Access", "width": 1440, "height": 900, - "hash": "ed1892f0b646e1a67e7a3095a82876e34c7d5a14c108fc15d7f6b9629d2868d9" + "hash": "cd31b68eceb04d75a9795e83a3d1177bf977335d6e8fce82cb3657f04def938d" }, { "file": "XR0f9", @@ -797,7 +797,7 @@ "name": "Screen/Server Detail — Settings · Danger zone", "width": 1440, "height": 900, - "hash": "8fd13168557c4fe217f48e3f018f6de013423df4294f5269bd89c7515180c55b" + "hash": "98825034a880d9ad602cd1c9dcaaff1459a18b33b259b9625906b59a255620e7" }, { "file": "QQtUD", @@ -805,7 +805,7 @@ "name": "Screen/Create Server — Step 4 Network (as built)", "width": 1440, "height": 1270, - "hash": "e804b8e9346ca7aa589eb6b3a47edcad103b177187dba51723e44c82dff44ec8" + "hash": "5cc7ebea6d04cc14f2d5254c9e5b08c66d7511410e5a3daf14f0d6c76d2925e1" }, { "file": "IyMFM", @@ -813,7 +813,7 @@ "name": "J5pjJ3 states/Tunnel enabled", "width": 500, "height": 476, - "hash": "186b501ae0d10223d4d3cc2a10273560e372687b9592e9858a02875fa3e85c81" + "hash": "91605095040150abd8d8fd7bd52916052aa072d8fb07f5274d6322da14becea7" }, { "file": "jXykV", @@ -821,7 +821,7 @@ "name": "J5pjJ3 states/Alerts", "width": 700, "height": 246, - "hash": "8dfd2a0290b32c55f66ab993c4293f87c76ebf98b8ecc8389cbf7af04a7da273" + "hash": "5a23d0f4a1bcf96da1251ecf6b1e3f96943ff9cb98756a03473ae3d5f354fa17" }, { "file": "tr6cE", @@ -829,7 +829,7 @@ "name": "Screen/Share links — Create link (No expiry)", "width": 480, "height": 322, - "hash": "74b729556aef520093a3a369b61edfbb247035dc7b2607c9de870d81b9182567" + "hash": "a46e11f5e7f65e5b3ca5dca3ff9fd93e3a5d993369ef9697d6ca5d39048c4030" }, { "file": "oPF1n", @@ -837,7 +837,7 @@ "name": "Screen/Share links — Create link (Custom date)", "width": 480, "height": 382, - "hash": "5a298de1f8d97f75598ea4a68a9a921d868e32079baf79143fe848118a456f7c" + "hash": "70eb168d99fe5e15d1d18442f0fbdf43d6814da5b7345343b2c0c40e7aa8fcdd" }, { "file": "X405l", @@ -845,7 +845,7 @@ "name": "Screen/Server Detail — Console (not running – Stopped/Suspended)", "width": 1440, "height": 900, - "hash": "41cfab4cd54f3da9b08e822f5bab1c6d17dcf033adc4b4cac6fef0b71e67d1d3" + "hash": "00df9390c65f58a80500b958935ce72be41b6032d097058a6dab7b4254f25d4b" }, { "file": "j88bl0", @@ -853,7 +853,7 @@ "name": "Screen/Server Detail — Console (not running – Pod failure)", "width": 1440, "height": 900, - "hash": "5e2e4ae2fa12558090b2e0fec5e1e5c58ce526f06707c20648c6a5fb7154b515" + "hash": "5c6eeb7a942584bdde2849c25d99ab224289860e2f390e78b65c771c08b10c69" }, { "file": "lWvcv", @@ -861,7 +861,7 @@ "name": "Screen/Theme Settings", "width": 1440, "height": 2344, - "hash": "6538f732e643c4e07fcf3d90e49b0f88134f29631a5e05c16a9cbe190af6b258" + "hash": "22533efa85d91b91b7f1fecfe7418c1a74fb031950dec7a63ca8a8926e7002ed" }, { "file": "T1wkiT", @@ -869,7 +869,7 @@ "name": "Screen/Theme Settings — Warnings", "width": 1440, "height": 2490, - "hash": "63c5733b710a13d7e355ffbaa07a8ab2419ceb13a8bbc0da50c4f0f3c2b5d09f" + "hash": "d38e3747d4c5348f649f1ce0eb004272ffe6212ae6a92626a77f84e50ce69fed" }, { "file": "lhKzN", @@ -877,7 +877,7 @@ "name": "Create Server — Step 4 Network · Tunnel disabled", "width": 1440, "height": 1170, - "hash": "7e9af23a93d253dfae50f753264b30c94dd26bb2a4e69c7570be9dc013b44115" + "hash": "4e257269a253e57f33c632f1c6028a179f69eeb8b115a2693f54c25737b1d603" }, { "file": "a7o9C", @@ -885,7 +885,7 @@ "name": "Create Server — Step 4 Network · Tunnel enabled, no provider", "width": 1440, "height": 1170, - "hash": "11dacbc6efe63eec26a5d8c35943aaed6f08acfcb3db8dac92497f258824cedd" + "hash": "1a44bb5be7071824dd897f868837f3b299a1fea149466f6c00e097c79598f06c" }, { "file": "ZU1BG", @@ -893,7 +893,7 @@ "name": "Create Server — Step 4 Network · Tunnel enabled, provider selected", "width": 1440, "height": 1170, - "hash": "cdd0a8a8036285c015adbe65734fe017c29cdacb0dd6fa87b4ee52a52f501818" + "hash": "5bc767c98c5af11dc0d121ceefb4ff585085f9ba072f601d5e7728c8b34bd5d3" }, { "file": "eGbsg", @@ -901,7 +901,7 @@ "name": "Create Server — Step 4 Network · Tunnel enabled, complete", "width": 1440, "height": 1170, - "hash": "86c68c093aef89700779d2d5da91ed7050ccd7004cc3e09f350950c1f9e5ea3c" + "hash": "42ae23b4dbf43f73368d8da5854ff53782d0b81b03358e612802928760cccd40" }, { "file": "nGJE1", @@ -909,7 +909,7 @@ "name": "Server Detail · Settings · Networking · Tunnel disabled", "width": 1440, "height": 900, - "hash": "4aa3d505bb69ed2573486c121a999042814bc9433b91301d36b94ef3197cdd96" + "hash": "41d3ac7ec84f5b7820dc4b1ad5c50547d773be91016a16fdd24f096e4e012b38" }, { "file": "dhPtX", @@ -917,7 +917,7 @@ "name": "Server Detail · Settings · Networking · Tunnel initial enable", "width": 1440, "height": 900, - "hash": "11493d8b38f5d538a400995f993c24970bb1ce215a275c532131d093b06fc53d" + "hash": "35734a2b363346dc953f62ac8ec1f3b60487777d8392442a6fc6287f3ef88c4a" }, { "file": "tSOeI", @@ -925,7 +925,7 @@ "name": "Server Detail · Settings · Networking · Provider selected", "width": 1440, "height": 900, - "hash": "ca4561d2aa613f1f1f112c5fedbc57a78717bd0c1ffea2c070d7d82788eefb49" + "hash": "372c731247430481bff9977d0a8b3ed741bc5df75a4334141a0ca0b184c5b7a6" }, { "file": "y3YcQ", @@ -933,7 +933,7 @@ "name": "Server Detail · Settings · Networking · Credentials entering", "width": 1440, "height": 900, - "hash": "fe02061d6881da202cd5c6610cf5bf3e67e2f5d6fa215b69c670e979f005410b" + "hash": "21d3b070e189b2d4cf95a3c70470d042d03582ad54ff7665dfc15d83ce599ad4" }, { "file": "EKJyM", @@ -941,7 +941,7 @@ "name": "Server Detail · Settings · Networking · Provider + credentials complete", "width": 1440, "height": 900, - "hash": "3dc89af3bb58f0f5f0f8604d5f4d5843f84e1973a233d2eee118435fff73b290" + "hash": "cf6279228762ccf13d8c39aac2aed74c29922ca1a42fe69e8ec0d53d4f0c81d4" }, { "file": "akr4I", @@ -949,7 +949,7 @@ "name": "Screen/Server Detail — Capture (No access)", "width": 1440, "height": 900, - "hash": "bbf3ca65f125a304af220d30f6cd5a3e1cb07cc4172b7ed56d65d1213cd5f382" + "hash": "c0e37c572324ec23499afef8dcc8048505cee7e8f3fd38cb85f45ecb38617a4a" }, { "file": "hlwx3", @@ -957,7 +957,7 @@ "name": "State/Server Actions Menu — Owner-only disabled", "width": 520, "height": 220, - "hash": "175b52e0812e80cb7246824810a47d6731a2e6c9375b806545ea1557749b5b05" + "hash": "b00f5ef44bb27845959a4c2db7e5387bd7bba91cfd9ccb7ee6d2cc9ce2985a63" }, { "file": "IMSD5", @@ -965,7 +965,7 @@ "name": "Screen/Server Detail — Settings · Danger zone (Owner-only)", "width": 1440, "height": 900, - "hash": "06fbac1d327600051b18180e525a40a88b8e1c102fc49ee0b36ed29db7ad01e4" + "hash": "dfc8d7f5a60674debb940b583f7c5d48815291506d49bd8de8794d8c52f1cfdc" }, { "file": "gWqMD", @@ -973,7 +973,7 @@ "name": "Screen/Server Detail — Settings · Access (Read-only)", "width": 1440, "height": 900, - "hash": "9ddf9674314fa892e52ad7e6bb25170ef146a0afc312f7df77281c6eb4747efd" + "hash": "7f546cad280cbe20d4568272f87345625014fcf10a50092e507316d9d1e37418" }, { "file": "UCNBm", @@ -981,7 +981,7 @@ "name": "Screen/Servers — Cluster filters open", "width": 1440, "height": 900, - "hash": "b43ed6a40b13d336ea090ae79f619f3e7d1197bec31bb9555d0ff98a69ce61f5" + "hash": "2163febdc425982a34d118bfe405655a38c129b852b3a2ccaa7a2fae1894ea6a" }, { "file": "pnAbF", @@ -989,7 +989,7 @@ "name": "Screen/Backups — Filters open", "width": 1440, "height": 900, - "hash": "046d6e96439a75b69a279c485d941620cba29ce1338028436b9ba6943b7b73ca" + "hash": "c654a90d4717be1aff4797165e67bde490938fbc88659a560e7051ff09f33bc7" }, { "file": "Cb3eC", @@ -997,7 +997,7 @@ "name": "Screen/Backups — Schedules filters open", "width": 1440, "height": 1150, - "hash": "e24f5f8352932c4d583f07ca8357f1178f06b642260cd6d0afd3a4d4a2f19935" + "hash": "5fa0aa01b6e1b355c434fda4a9dd2bc538cbbe3dc8eef24ccc543a179b445115" }, { "file": "fbBqA", @@ -1005,7 +1005,7 @@ "name": "Screen/Backups — Restores filters open", "width": 1440, "height": 900, - "hash": "73e29fb28e7c465584977099b5fa47aa1cdcb378a0e247999b82243086bbed84" + "hash": "5ee8715772ad2ff68e183c53ff8ffccdff3ce494a0ccc470c84961fe5699ba57" }, { "file": "YPKbV", @@ -1013,7 +1013,7 @@ "name": "Screen/Dashboard — Partial cluster coverage", "width": 1440, "height": 1220, - "hash": "a2e30829adb53ca62f38305392418d169b16e6fce584b83feb37586dfb6925cd" + "hash": "fb728e6a0de145149790e188d4c95e3d39ae7d1182e07edd56a8535fd1394a67" }, { "file": "w1QYmf", @@ -1029,7 +1029,7 @@ "name": "Screen/Mobile — Remote server Capture", "width": 375, "height": 900, - "hash": "8a060c9c86334e2e634dda44ee849ba571ef3e843f31f288432a8263c5798c6d" + "hash": "634a41af80daf3fb2a716f53c783efa03cdb6a739e24428ae13b6a2ede14fb2c" }, { "file": "C5Aoe", @@ -1037,7 +1037,7 @@ "name": "Screen/Mobile — Servers filters open", "width": 375, "height": 954, - "hash": "ff5cfaeb1cab9e71ba0d81d65e5d444018b37e180073a519821be459d926adc6" + "hash": "d4fd00a505ef5c2598faf5c3eb8f815a03a024689874039b3d3920b09e1bbee7" }, { "file": "NKiqf", @@ -1045,7 +1045,7 @@ "name": "Screen/Mobile — Backups filters open", "width": 375, "height": 844, - "hash": "4fe7d84f5ee0b3f0b7eb57bc481c1b9a20baf857537cfa122f83f1962be3c111" + "hash": "618ac504afe416095a65dc4b74896fbbdd9a1bc99e7cf53c19325508aa328d34" }, { "file": "iYUWc", @@ -1053,7 +1053,7 @@ "name": "Screen/Clusters — Registered clusters", "width": 1440, "height": 900, - "hash": "702e2b125b3a80cf6fb448628304b5cd5d8e93626d289fda023351c3e80894fe" + "hash": "fb0f4ad4840a71c74bd2b0de1645cf64fce70f274b65d3fba1923e974bc1f553" }, { "file": "oMuyw", @@ -1061,7 +1061,7 @@ "name": "Gameplane/Dialog/New File (Invalid name)", "width": 440, "height": 310, - "hash": "997ce90285a4f1952b180f34b4c4a05bf67c875420dade5e1d138f6024612452" + "hash": "be60852593da2a0d758407b5e45177dab1da87eb82146c1cd661740d86286670" }, { "file": "OC804", @@ -1069,7 +1069,7 @@ "name": "Screen/Server Detail — Settings · Game configuration", "width": 1440, "height": 900, - "hash": "54ffc711c477cb08801876c30339946bc31ea6128ee1aa4446ea5a4f8dbff87f" + "hash": "0fc6461c0f7ad80708e5769dfc265a18fdf39c962ca329c6daf84abfcab5bc0f" }, { "file": "QFEg9", @@ -1077,7 +1077,7 @@ "name": "Screen/Server Detail — Settings · Game configuration (Invalid value)", "width": 1440, "height": 900, - "hash": "acd8116c78ef5bcb5b7f781f1a2fd648f5776b8b6306a39f5ead2551f20729b2" + "hash": "ef5c513e652ece3e172d619eab705864d180e8fd0322a3911bad000ad1d036dd" }, { "file": "wxINm", @@ -1085,7 +1085,7 @@ "name": "Screen/Server Detail — Settings · Game configuration (Read-only)", "width": 1440, "height": 900, - "hash": "ba3d22b23880ccc0846be25cc41bea4ddde2c1494d422a198de91e9ceeb4739d" + "hash": "4321a204edf60be07e9078eee2941794084235dfa6f12b3f6b421bcb78d1b691" }, { "file": "e9FnC", @@ -1093,7 +1093,7 @@ "name": "Screen/Server Detail — Settings · Game configuration (Orphaned key)", "width": 1440, "height": 960, - "hash": "cef6242a7a1b655e7d2fa3937f6f72cbeb787100d72e945f2d059ca36bf2c714" + "hash": "ad9999c8ac8f50e700520b49ad1dd22d867d87fbfc49f972ef284803b580de67" }, { "file": "Ne5TA", @@ -1101,7 +1101,7 @@ "name": "Screen/Not Found", "width": 1440, "height": 900, - "hash": "4845c78221e03f24dd055a7d7c39e2a666e711ac125b524c29f14a5e7da04043" + "hash": "76a2e83c12734bd3c1d8b0331b15c7086b2d3f652d5e0dc9bdaed649773e0bc0" }, { "file": "FBiMN", @@ -1109,7 +1109,7 @@ "name": "Screen/Share Link — Asleep (Start cooldown)", "width": 1440, "height": 900, - "hash": "eb046191ba68ae964c459a6d30b8f77a2bd2fbdd0a3356aeb65687f9004335dc" + "hash": "f6e4b2ab3847ccb6f1f1a1dfb0fdef67fdf31a175992a7c2fac33880ac4c4b56" }, { "file": "zj5a3", @@ -1117,7 +1117,7 @@ "name": "Screen/Dashboard Home — Telemetry notice (default)", "width": 1440, "height": 1380, - "hash": "7b9103bd33ed1358f469aa31fd8f9474b5d4224a14631a03ee7ec88326e7ee34" + "hash": "e4f459832c069592789636898ee7ff474ff4cf89a69f1ef421cb514ded0ca022" }, { "file": "l7TRz9", @@ -1125,7 +1125,7 @@ "name": "Screen/Admin Settings — Telemetry (default)", "width": 1440, "height": 1031, - "hash": "bf4023d61a8eff19175d68a81e52b27dfe1456f97df0354633ac1d45897545d3" + "hash": "f638504e1dc705b32f2e2b840e8a60c9836c90106b9afc41d8e97c1d1a041fe3" }, { "file": "GR1G9", @@ -1133,7 +1133,7 @@ "name": "Screen/Dashboard Home — Telemetry notice (bundled)", "width": 1440, "height": 1380, - "hash": "db523bf1711601e6ec4d795823a379602b4fe9f14bb78dde74d722dab007138c" + "hash": "8bdcd295d54fd0b6fa2a6f4ec1401411b63aeff5e0c1df9c17f47dcd2d25ba9b" }, { "file": "r0heh", @@ -1141,7 +1141,7 @@ "name": "Screen/Admin Settings — Telemetry (custom)", "width": 1440, "height": 1032, - "hash": "9d7a150ade97a8583f42fb41bfd50e9452d41c28bbd17cacc9f3fee64427f0e9" + "hash": "d553db1fe492f3d976c202ff3aaa6cb552f86583ec9292ca3bd25fd97afb9bf1" }, { "file": "cDiNb", @@ -1149,7 +1149,7 @@ "name": "Screen/Admin Settings — Telemetry (bundled)", "width": 1440, "height": 777, - "hash": "980c6d6128747e13a05664be0da976b747a0f45c3c1fd51e907911f39cdb0a23" + "hash": "c59fb58ca63a723352e5357ad6c15aefa3ac2318f5ee3fb8527ea95773f5d128" }, { "file": "DBQyF", @@ -1157,7 +1157,7 @@ "name": "Screen/Admin Settings — Telemetry (disabled)", "width": 1440, "height": 641, - "hash": "65aa67fb75fbc91c2706b7979432ecadc44e0fc8e9199b4ab3ab9d62fca80f1e" + "hash": "531ab747ac7ea97129ec55e3d0460373b578588f3b3af651e987426be5576672" }, { "file": "K5XinZ", @@ -1165,7 +1165,7 @@ "name": "Screen/Admin Settings — Telemetry (none)", "width": 1440, "height": 605, - "hash": "0816b6f892b7806022a30fe54748c252e510a6eeb0ca7c7892e9a10c5547ae26" + "hash": "ad68446be6151f96c8e16a167e8ec754cfa29db4f1ab7c8635f5b569c7497f30" }, { "file": "yrxK2", @@ -1173,7 +1173,7 @@ "name": "Screen/Admin Settings — Telemetry (Reset ID confirm)", "width": 1440, "height": 1031, - "hash": "27334baa86cc329f0a29e67321e3fa77b04808b646f3d69329700daa34e4163b" + "hash": "2b1a5064f071e36dde19b075e86217f9ed07f5c6155f946d09e6ccc4ba789088" }, { "file": "n2qdi", @@ -1181,7 +1181,7 @@ "name": "Screen/Standalone — Clusters (Empty)", "width": 1440, "height": 900, - "hash": "6c6e58aa64b572509d1809f23d0c0e9f48a03099a0c8927aac01c2abbee13066" + "hash": "d3f30393a28efcdba21dbeeba93e7b77ef971163f50f6f5db13b4b72c874adb8" }, { "file": "WrmU5", @@ -1189,7 +1189,7 @@ "name": "Screen/Standalone — Clusters (Registered)", "width": 1440, "height": 900, - "hash": "2a4d426b2c5528bd066d8f420c5de2e88f388a55c5f3b88a56d39dbeee6b461e" + "hash": "0560d8bfccc4f9d9021557dacfc136c978923491a53ed63f7051fdb0492cf93e" }, { "file": "Be7ZW", @@ -1197,7 +1197,7 @@ "name": "Legacy/Standalone — Cluster inventory selection — Superseded", "width": 1440, "height": 900, - "hash": "b2beb9655c997275351b82aa6ab75a165ad714012b8ab9964c29e1ea78a44a9e" + "hash": "dc609eedc7d6bd34b160a056cae1af66cd83c4ad7e826b33a497072b0c7c022f" }, { "file": "Z0oyh", @@ -1205,7 +1205,7 @@ "name": "Screen/Standalone — Modules (No selection)", "width": 1440, "height": 900, - "hash": "bbcd7f8d0cdb1c5a9d9f6f406378db4e3dd4dbd2270fda0c2d5fc15f3fe6bfe2" + "hash": "015f8ed28abe2d73571b381be30f59ed82fd31b4214e084d8de9cf9ca1e6c745" }, { "file": "ZlLf0", @@ -1213,7 +1213,7 @@ "name": "Screen/Standalone — Modules (Permission denied)", "width": 1440, "height": 900, - "hash": "f4c73c65b4a24128192acfad62da00c33e6b304d56149999ea522c12fec9e2a4" + "hash": "6e40c955560cb627b3bd4f0d752f7f748d4c837bd13873c73549d193ae5f7d37" }, { "file": "RpHBg", @@ -1221,7 +1221,7 @@ "name": "Screen/Standalone — Register cluster", "width": 1440, "height": 900, - "hash": "843ea3ac2e7ae04334be8b256c88de635674d257b1db63397004af79381d5346" + "hash": "c54060b4084f303e98df36d73a83bd9f7b6be293761865df0a3939fee0a2db34" }, { "file": "HVhmb", @@ -1229,7 +1229,7 @@ "name": "Legacy/Clusters list — Remove registration — Moved", "width": 1440, "height": 900, - "hash": "728a1248eff4066cf7a7d9f52a822840cc0595dee48d5774bf62f8858452650f" + "hash": "b34b74dc8818a5c2f5f63fe89cebd5a26a0d9ea082594585aff9224dfdf51944" }, { "file": "RS0KZ", @@ -1237,7 +1237,7 @@ "name": "State/Standalone — Cluster selection and request states", "width": 1440, "height": 732, - "hash": "5913785fadbbb35bafdd984f315d4f66a8cf70cc8f0b87cca9397e9b79778249" + "hash": "170d078d68d4da34424747090a7e24d267a710e08059107150339921cb56ce68" }, { "file": "D9QYZ", @@ -1245,7 +1245,7 @@ "name": "Legacy/Standalone — Backup destinations — Moved", "width": 1440, "height": 900, - "hash": "91318656640c664dfd5a85ed77a0229b91a14c3d030e2a1587877ae086ebb7b2" + "hash": "bcb2c0d829f4f3352eb24073daccbe89a6ae999ffc94255f17fa3355b7c92269" }, { "file": "l64bd", @@ -1253,7 +1253,7 @@ "name": "Screen/Standalone — Settings · Module sources", "width": 1440, "height": 900, - "hash": "c068fca0b678296fbc4b629dfd86ebcddf4ae0ac2a81c5570f5364f19c74e67e" + "hash": "bdddda4a0fb313410577d2ade4958aaa8e1c8607509cb15ec42c7068835d2862" }, { "file": "Uzzje", @@ -1261,7 +1261,7 @@ "name": "Screen/Standalone — Settings · Updates", "width": 1440, "height": 900, - "hash": "ed520c2ef74fb58f9dea6eead6c8bcf06eadef0d69eb23b5fc874ab464563b9f" + "hash": "34b959e4a78bed36c83b3c72fde7be6017c88218f27e8b76810759ac2b0d56ac" }, { "file": "FOVMf", @@ -1269,7 +1269,7 @@ "name": "Screen/Standalone — Settings · About", "width": 1440, "height": 900, - "hash": "6889fa07717a4f4b7bcf0029941633aa3a9ffaa6a4422c7364132c1c2db0c5f0" + "hash": "101b878b550dabb5d8c2a9b55aab24d379e09750ad1b5da948623b7499e9952b" }, { "file": "r139UP", @@ -1277,7 +1277,7 @@ "name": "Screen/Standalone — System logs", "width": 1440, "height": 900, - "hash": "1f76a8f93e9c053725335cb270ae22e6a0a7d40b70af26bcb750b546ff5f15e3" + "hash": "8f718a6e559c22dc95b547baa3216baef624a714f10355e07e73fedde3b67278" }, { "file": "EWrn0", @@ -1285,7 +1285,7 @@ "name": "Screen/Standalone — Modules (East selected)", "width": 1440, "height": 1900, - "hash": "0b9e13c10729e59cd5dd0da3d4d2b59187d78944718f7f22ffb19520f488c03d" + "hash": "8738f9d6a662cc4eee7616177a37b657363b30296bddde462ed66a040504c32e" }, { "file": "p8QSPq", @@ -1293,7 +1293,7 @@ "name": "Screen/Standalone — Modules (Manage sources)", "width": 1440, "height": 2050, - "hash": "323418f3f0f11e3af2be72f912da72889a5b834d4014ddfc26fdc87b62d407e3" + "hash": "2fa8a04c02d26a754129b1fa6d1df7ca1a130046692232f975fbe86129778759" }, { "file": "aMU7O", @@ -1301,7 +1301,7 @@ "name": "Gameplane/Dialog/Edit user — Standalone (No target)", "width": 480, "height": 643, - "hash": "fb9bd61841e322fd3a8ff2fac236299eb999084874eac1ad99d307c20f7000bd" + "hash": "8bb2439c3d059b1591110bb4682e2d78a8d78ad0e4aaa9c9aa6a23a9a88b5396" }, { "file": "C9bR6", @@ -1309,7 +1309,7 @@ "name": "Gameplane/Dialog/Edit user — Standalone (Remote grant)", "width": 480, "height": 643, - "hash": "876dae3c0ab7e68db20e05f267d2499315d1e63637c7b01e1efe8f667224758a" + "hash": "d6ef2bb1f707799ca99843883bf7780434a7ddb1b4b3925693cee5be641ae945" }, { "file": "w34N9", @@ -1317,7 +1317,7 @@ "name": "Screen/Standalone — Dashboard (No workload clusters)", "width": 1440, "height": 1150, - "hash": "52b509c81b156bfe78f9d77099be8ed300077425ca62be78ae1c3c489251af54" + "hash": "b3473206dabe8a94acc91291cda2526e943d62c533fcc1b4cd6f27540c89ebe3" }, { "file": "U9xSg", @@ -1325,7 +1325,7 @@ "name": "Screen/Server Detail — Players (Nuclear Option)", "width": 1440, "height": 900, - "hash": "81ed57203b691d84687f80d228cb7e16a7b11e3c890483d818396aafee23fb1a" + "hash": "e076d79796286f078bf4f2b49dbff66202a74bbea4912e1a5e8b842f7fc707e3" }, { "file": "BguST", @@ -1333,7 +1333,7 @@ "name": "Screen/Server Detail — Settings · Game configuration (Password will be removed)", "width": 1440, "height": 900, - "hash": "1a1315b53d10c2e423c305783b0b3a8518645ee487f5431bb3983c359c6aa673" + "hash": "6fe9ade8d3d5fd5d5001b06a7b7413688a7131cbd0a21c4109356b0075487ef5" }, { "file": "YN8cE", @@ -1341,7 +1341,7 @@ "name": "Screen/Server Detail — Settings · Game configuration (New password typed)", "width": 1440, "height": 900, - "hash": "d9ca885cf295947b8cf1d23a680d7b159321bfa2dc4df6b85fbdcdfa245df104" + "hash": "209a0b60281cc24399950ae7ea80a353af444fed9c293c7d802152f1f8ee1b84" }, { "file": "GsofJ", @@ -1349,7 +1349,7 @@ "name": "Screen/Login — Language menu open", "width": 1440, "height": 900, - "hash": "5f2f59dae452632f8c13d2517bb8bd8edf41eb41f40724bcf5e9a8de71f73ab3" + "hash": "bb92f07268737c877d6889d0c728d2af8564139ac3b51a194ba692fe4798507f" }, { "file": "lCTci", @@ -1357,7 +1357,7 @@ "name": "Screen/Mobile — Theme Settings · Language", "width": 390, "height": 972, - "hash": "709cec989fe10e8e3d0b239b545d36eaaf656fc8e314011f5b647a99167af29f" + "hash": "90cb268e77ffb4dda9f3fc136789b5b4e8ea8600677050053710e824b3aceda1" }, { "file": "SUcad", @@ -1365,7 +1365,7 @@ "name": "Screen/Admin Settings — Notifications (Add sink)", "width": 1440, "height": 965, - "hash": "1ce5c5ee5209900e780580d8fc6e1552c10d9c0ea52b2a84d56be7c084e8ec55" + "hash": "34eac9ddbd963cd06b99869703801cc7c868d172536b4e9f4ae7d1a53c84057f" }, { "file": "NqaaU", @@ -1373,7 +1373,7 @@ "name": "Screen/Server Detail — Settings · Resources (Reserve less on)", "width": 1440, "height": 1000, - "hash": "359c597ad3f4160f0f355eff8654396171af8d4f36c801a45af31afa8f5ba23b" + "hash": "3cc1dfd40647edc5904d0659bee18b8f06de524abed4cbfe45e493139668c4a7" }, { "file": "NLu2I", @@ -1381,7 +1381,7 @@ "name": "Screen/Create Server — Step 3 Configure (Reserve less on)", "width": 1440, "height": 2214, - "hash": "d5e656dbfbb45c2d9c36586209a818cdd091ea72a5b4a45147506989c309a10e" + "hash": "17dccd415f87b4b75cb67f99c6faf3d2f1627e3d22725d275b2327513d208a2c" }, { "file": "A8vGwM", @@ -1389,7 +1389,7 @@ "name": "Screen/Server Detail — Settings · Lifecycle (Wake on connect unavailable)", "width": 1440, "height": 1620, - "hash": "cc1af0121df4c42b5cd7907dc1287aecc80584164c1328403d597ca4c777112d" + "hash": "7fbaa14be41c584fa889dea74dfb11037e25aac0fd7b36bad9cbf4970ea62309" }, { "file": "BdmAW", @@ -1397,7 +1397,7 @@ "name": "Screen/Nodes — All clusters", "width": 1440, "height": 900, - "hash": "7954557ec4441e3873f02e5753b5dcf9f3a55a1dafbef5fc0044e89f9bb9c5da" + "hash": "06d7efa94c2167c5f44a483e6da78fa92dd91051dc6985f1e38a623d41106f6b" }, { "file": "wqnM9", @@ -1405,7 +1405,7 @@ "name": "Screen/Cluster Details — Overview", "width": 1440, "height": 900, - "hash": "a194473958ea364b1eb4e2d85640c4193db08f74598ad3518a0eec5e22f4cb27" + "hash": "a775a97daa3609ae29c6f1be01bb83765c77e4f4ebb9c082e28255539fde35d8" }, { "file": "J8GzM9", @@ -1413,7 +1413,7 @@ "name": "Screen/Cluster Details — Nodes", "width": 1440, "height": 900, - "hash": "5a04fc979e237e8ceec0dcc8cf1990417e5d3c803b85911502737a3ddd58c14c" + "hash": "2994f61fd44f44699356556b898093308f9edfd807186c820cedbd195adfe822" }, { "file": "OecJ5", @@ -1421,7 +1421,7 @@ "name": "Screen/Cluster Details — Configuration — Local", "width": 1440, "height": 1293, - "hash": "9665ffe7f209508064ee63ca4bbe3b44bb69029ec7b0faabfcf697200cdc215f" + "hash": "8ee18790efd50bbc105bf0c1ee9ac1129efd50d9490e39302027d93fb41fa456" }, { "file": "t56aLu", @@ -1429,7 +1429,7 @@ "name": "Screen/Cluster Details — Configuration — Remote", "width": 1440, "height": 1293, - "hash": "5267a3b58e53d3c0d15d13673df26ed7de3c487d9ece6f624b8d0d4e139daa30" + "hash": "829171ce73c4bbe98eea82873416e4e88a5d2297b33d6bc2500bda651a2265e9" }, { "file": "IBUqJ", @@ -1437,7 +1437,7 @@ "name": "Screen/Nodes — Add node target", "width": 1440, "height": 900, - "hash": "d794d5ecaf7f40630a6e1e721c8517546c9e6d9c787f2e2c4f178c3562e72e93" + "hash": "a713168e3a5f7a8dfccaea5d3d0939412ce92325abcc0ccdc0965dcbcd3befa2" }, { "file": "N2nTf", @@ -1445,7 +1445,7 @@ "name": "Screen/Mobile — Nodes — All clusters", "width": 390, "height": 1620, - "hash": "277f5b5689cb300ee644062b7f3d9beb7d99a99d76563214e320c5e898d0ccfb" + "hash": "7680b3c4eea0f423300967945b75bc12630da9b390c8d3bd9a27f80870293352" }, { "file": "T70dJ", @@ -1453,7 +1453,7 @@ "name": "Screen/Cluster Details — Configuration — Default storage", "width": 1440, "height": 1293, - "hash": "d3c6e2c273ce9f889baa9ac2cc40f17eef87aead9cd504778760c0a4e2bdd6d0" + "hash": "bc4074c511b049c50808ea5463a0bcd266f697afb74dff521b30a6cf69a7ee87" }, { "file": "KJdxg", @@ -1461,7 +1461,7 @@ "name": "Screen/Server Detail — Settings · Minecraft JVM startup", "width": 1440, "height": 980, - "hash": "e2dae377db89c1cf8adc375f4e4d2ec7712110d521d7f8bd4da56cf47170eab5" + "hash": "e217140927fe05c3d341376668d8ecbcae790b418f6f62ef5a4d0eb0bf13ff07" }, { "file": "ZUAq1", @@ -1469,7 +1469,7 @@ "name": "Screen/Server Detail — Settings · Minecraft JVM heap validation", "width": 1440, "height": 980, - "hash": "33223cec3a3ce233ea606c6444675ef92f51cf0e8b52e8bdc722daa8a7a4401e" + "hash": "421527a3130e15973a2b5b525d9d13f7130890861f7259c9b98d2508d34889ea" }, { "file": "o1uEP", @@ -1477,7 +1477,7 @@ "name": "Gameplane/Dialog/Create ZIP", "width": 448, "height": 196, - "hash": "8d247b4203e9f86376d3e9b3f643e99598ed18d4df9715fb1728f41a5382cd56" + "hash": "a73609a316584bed53499a82955da9a6c5b5623e01375f602eedc39c927270e1" }, { "file": "UdnBT", @@ -1485,7 +1485,7 @@ "name": "Screen/Admin Settings — Authentication (Role rules)", "width": 1440, "height": 2600, - "hash": "5276ca4d871cdc40377b80ebeb23ccf32f72b9a48a23032f6be3892c6e96d65e" + "hash": "50b4b8b7df0cb914270a4b1d786412f2a4104576803e85ed96c51e2320eb73cf" }, { "file": "mrF6f", @@ -1493,7 +1493,7 @@ "name": "Screen/Admin Settings — Authentication (Role rules empty, not overridden)", "width": 888, "height": 649, - "hash": "4298a97e98babfa3dd19e4e4bf679598a8fc94e03bc81a98d34309f6ff8eb584" + "hash": "a62e4abaeb5d5decb588aaf51cf487c9270489ba2aa3ef6d1d6bdc7cdc88035f" }, { "file": "rJt1I", @@ -1501,7 +1501,7 @@ "name": "Screen/Users & RBAC — Role source", "width": 1440, "height": 900, - "hash": "6a2c6d104e8c137a2cb8b3196f86f00cd3e8811db5c215aeaf26aba572c4befe" + "hash": "e6ab7c5b579e91393648dfe27884dc64731a3fc79b70bd899d5704500ef24ad1" }, { "file": "pszxE", @@ -1509,7 +1509,7 @@ "name": "Users & RBAC — Return to SSO control dialogs", "width": 1040, "height": 721, - "hash": "a45b23c71fead893a8de935f283df67f0b47a12d51cc3da0a45e3826e813e7cd" + "hash": "d557c96f3fb880af7d9e031e04f8e740f7d1e775b9c85a44891db242db54e05c" }, { "file": "1274632774-130", @@ -1517,7 +1517,7 @@ "name": "Screen/Server Detail — Modpacks (Active pack)", "width": 1440, "height": 900, - "hash": "b4180dd324ac3a774249a8428728d472481a911a988c0281f851d8e44095f932" + "hash": "1f047b36268b64a11150816b0a9192ddce9e6be93cc6167b617617c08eed3812" }, { "file": "1274632774-470", @@ -1525,7 +1525,7 @@ "name": "Screen/Server Detail — Modpacks — Choose version", "width": 1440, "height": 900, - "hash": "dbeeb4699f503b56d4511b02644aa5a2a19317028798c191acf3b3d02a451c8c" + "hash": "5d634b778c15fac437e68816755c449d13c577bb2cf350a23f1e60e5e0922a56" }, { "file": "1274632774-907", @@ -1533,7 +1533,7 @@ "name": "Screen/Server Detail — Modpacks — Confirm install", "width": 1440, "height": 900, - "hash": "ec68a1bc5a3c4bc02d609f38ebd752a2731f76b2ba2f47e3e82e175a68d437d0" + "hash": "949cd8f4d76e790df04848a3ca457d6cd020ba7a5680670843d432af6913d8cb" }, { "file": "1274632774-1258", @@ -1541,7 +1541,7 @@ "name": "Screen/Server Detail — Modpacks — Change version", "width": 1440, "height": 900, - "hash": "42bca04b6cc764d108882c74b87ba454db7c96e1a3b32443cafbc6924559e370" + "hash": "2b9e32de700818d4a0a8e8b23d75b4c9eed3c97a3ab33379461adba51aeaf231" }, { "file": "1274632774-1722", @@ -1549,7 +1549,7 @@ "name": "Screen/Server Detail — Modpacks — Confirm downgrade", "width": 1440, "height": 900, - "hash": "496fba5b1ab9ba3735ce8e4bc17459155bfdb44b5d846ad567c374de790fe9b7" + "hash": "4b1e71639963c5b4b706eb41d45c3f14af160e78f788a10ce31d844e0bf264f2" }, { "file": "1274632774-2112", @@ -1557,7 +1557,7 @@ "name": "Screen/Server Detail — Modpacks — Remove", "width": 1440, "height": 900, - "hash": "7be60c42c3038c3d19f066db1d500549effa36de7ab76821bf8efb4c037dc512" + "hash": "2a47b9e46b7c59c2ffda64e1270b075149064156ed074fc3aa728f68e626e6e2" }, { "file": "1274632774-2492", @@ -1565,7 +1565,7 @@ "name": "Screen/Server Detail — Modpacks (Missing files)", "width": 1440, "height": 1080, - "hash": "f2e2f31db8a8df6ff670f9f119d701e07ce99ec176718ee3b1f17044d470bdb9" + "hash": "f0ad6bab868b79043b2b32748bebc3591237650d12339bf36eb639de6c91c733" }, { "file": "1274632774-2877", @@ -1573,7 +1573,7 @@ "name": "Screen/Server Detail — Modpacks (Active pack, Light)", "width": 1440, "height": 900, - "hash": "f466726ab2f86aa1c22698b9824eba6a2575cda078ca4298f6eeb5a6a962974b" + "hash": "8ca65ac234d63e4921e26329531c704cf05ff93074f8bad4fdb9c3c898e98928" }, { "file": "1274632774-3217", @@ -1581,7 +1581,7 @@ "name": "Screen/Server Detail — Modpacks (Read-only)", "width": 1440, "height": 900, - "hash": "fe88360699b579efc105844031ee10fd3c15b4e580d4f8e57541b6735eb00f97" + "hash": "b8b857738923ed68b91d9a95e361cc9f5ac7244bb2decb299c55a0a885d56829" }, { "file": "1274632774-3559", @@ -1589,7 +1589,7 @@ "name": "States/Modpacks — Active card and tab states (reference)", "width": 2280, "height": 1158, - "hash": "0c6b86c13fd2a2c6e6f08b9bc701c2a4d422c106fa31a113fa2c24a26813741d" + "hash": "926335aed855f69646adfa7eac62a7d608daac9db3e48de0b03e1349dceaf805" }, { "file": "1274632774-3890", @@ -1597,7 +1597,7 @@ "name": "Screen/Mobile — Server Detail — Modpacks", "width": 390, "height": 1100, - "hash": "4ee3db6de351d8a97e1e010c54325a6732962dce35abb57b9be4879c7324472d" + "hash": "69348e172048d0999cf2a25bdcae7cbefb6ff2744b17db394af963128d28bf0f" }, { "file": "1274632774-4001", @@ -1605,7 +1605,7 @@ "name": "Screen/Admin Settings — Mod registries (Share CurseForge key)", "width": 1440, "height": 900, - "hash": "b6d201a9157b115f1c21f3693f011285c1b9ee3598d9301dbb36713ef3545eaf" + "hash": "57df0114f5145f4444865b1deb0c60019c7606edd527203a704e5cef8431e942" }, { "file": "1274632774-4260", @@ -1613,7 +1613,7 @@ "name": "Screen/Admin Settings — Mod registries (Key from startup flag)", "width": 1440, "height": 900, - "hash": "cb305ce4ec45ca53709674ce8fb684bdc5f708c8e542ad493eff8010f05cbcb4" + "hash": "3531883a2aa2d0baa62384517a02ce8d67e1512fc6d67f16a15d7f835ac409d8" }, { "file": "1494270493-26", @@ -1621,7 +1621,7 @@ "name": "States/Backup schedule — Edit with restricted snapshot strategy", "width": 1524, "height": 582, - "hash": "fda0497a95ca74a6940b6db3c8b46d4a675c7b7c3025fb50f5bd925e97b5a8bd" + "hash": "59976c182f2116bbacb6f00c18cfc64557c21481d8b25e0ac323cb376b6b2955" }, { "file": "46479436-2", @@ -1629,7 +1629,7 @@ "name": "Gameplane/Dialog/Back up now (No destinations)", "width": 480, "height": 279, - "hash": "957d01ebb4004e678e1c6be81786093c8fb371bd6e16e78c3f504ea5c314ce37" + "hash": "c12e544129f6c0bd1d8cc9b6549b53202312f67dc0eb015f79175b45feb4f98b" }, { "file": "2044649516-13", @@ -1637,7 +1637,7 @@ "name": "Screen/MCP Tokens", "width": 1440, "height": 900, - "hash": "3baabe85cf33863e47d429e325566264863b54d8c68723b25839edb5ebbfdcaf" + "hash": "b6338a1fa832781dbd314c8d4e17632cb23a2e479ec91b30bcb49599e6e95ab1" }, { "file": "2044649516-579", @@ -1645,7 +1645,7 @@ "name": "Screen/MCP Tokens — Empty", "width": 1440, "height": 900, - "hash": "23aa54e7ec060a9ed7260187fa7702b9ba5b9b9bdd5e47b84e96ac663efc07eb" + "hash": "24d98ed0f2739f8d8b81b29955b8b1dee7e59dfe8e5b1a07f4d74f7529f5ddfa" }, { "file": "2044649516-1099", @@ -1653,7 +1653,7 @@ "name": "Screen/MCP Tokens — Create", "width": 1440, "height": 900, - "hash": "de971daf4c62787101cf889c82bf6559cc5abd6589ec585f28d39ef00d9b04a3" + "hash": "0aefb84b380840a5c8a899bb1145515c5649e5c37df9856e888b377296870e3b" }, { "file": "2044649516-1687", @@ -1661,7 +1661,7 @@ "name": "Screen/MCP Tokens — Created", "width": 1440, "height": 900, - "hash": "ec096ccddcc77c77cef45612d802ad7710a45434c049f760c9bc66ceb7bad078" + "hash": "148a611b109f262e49df05263d020cc558abaecbaa8e11b2267eb8fec61efa30" }, { "file": "2044649516-2282", @@ -1669,7 +1669,7 @@ "name": "Screen/MCP Tokens — Revoke", "width": 1440, "height": 900, - "hash": "38ae182c6792ba03d66a39a239a01c511624c2776dffe36fb34206a9ab4e3297" + "hash": "a3429276d7ad4390a6b65513839fb0fd506d0c1583e3e74e318b3dc7ec988ff3" }, { "file": "2044649516-2862", @@ -1677,7 +1677,7 @@ "name": "Screen/Mobile — MCP Tokens", "width": 390, "height": 844, - "hash": "a360e6fb99b3923be4a2dbe3464a6d66b8678d423b616422de7e37a3941a2113" + "hash": "b6faedb902ef41acc4f3611aff1203cde5f253ed74a14e41e00b6df92e2f88b2" }, { "file": "2044649516-2982", @@ -1685,7 +1685,7 @@ "name": "Screen/Users & RBAC — MCP tokens", "width": 1440, "height": 900, - "hash": "fc4e3d24a826024a1d5509b2ae0bac072d72f578b16cb3b2ea9018786ddf1631" + "hash": "1427192eda85ec08230a909f375b2feb3f589f6cb29363de9af1a779388458ba" }, { "file": "901437436-1", @@ -1693,7 +1693,7 @@ "name": "Screen/Server Detail — Settings · Security", "width": 1440, "height": 1001, - "hash": "f56722716c7a783d87e22106ef7dfef275d8d4597bcc4fee56af622db911b9b3" + "hash": "919e7054d70e3f42394e1ed76b3007c093157278b040795c14b1f161a7f1c728" }, { "file": "901437436-465", @@ -1701,7 +1701,7 @@ "name": "Screen/Server Detail — Settings · Security (Light)", "width": 1440, "height": 1001, - "hash": "1f422c220ea22bb05b6becd94063e3c2ded718f2e5f2ed69d4a70f0c6b979fe6" + "hash": "b4a1dcb8fc16bf3ca43c3a6e802fcdaa32692be0ff07c202219ed86b6286ded5" }, { "file": "901437436-929", @@ -1709,7 +1709,7 @@ "name": "Screen/Server Detail — Settings · Security (Image default, no effect)", "width": 1440, "height": 925, - "hash": "0ea5283af770f948721a637ee052574a987078d4bd6e48c87929a91f4ecc6f19" + "hash": "68946208a13684bdd70adadf3bc8fbe7fd86d347a2b70bc7bdb3dec7ccaf6451" }, { "file": "901437436-1393", @@ -1717,7 +1717,7 @@ "name": "Screen/Server Detail — Settings · Security (Read-only)", "width": 1440, "height": 900, - "hash": "77fc5703c59e1e965569447bceed860e9d9c8344057e9d92aa40a45dbc285000" + "hash": "7312f5b43fe7f4fcf9335af99624c54bb270df92b5260dad7995875d94982f2c" }, { "file": "901437436-1857", @@ -1725,7 +1725,7 @@ "name": "Screen/Server Detail — Settings · Security (Held back, stopped)", "width": 1440, "height": 1017, - "hash": "3fe92c5ffd75c1e763e9c95007c441a0f46dffa2af5f37ad4e7dafe60bc3602b" + "hash": "553b3249e338812cb65eb6c3b5ed49d70d016b52d21e9356013cd81761d42065" }, { "file": "901437436-2321", @@ -1733,7 +1733,7 @@ "name": "Screen/Server Detail — Settings · Security (Held back, running)", "width": 1440, "height": 1017, - "hash": "129854766f4df4e52c2b6ceca8afd444bdc28d3cf91b19be56c8763c9b8e1970" + "hash": "f67736e6e49d45d7da931e1a28f003d0210527e54bc4356d6642d4afff6d472c" }, { "file": "901437436-2785", @@ -1741,7 +1741,7 @@ "name": "Screen/Server Detail — Settings · Security (Refused)", "width": 1440, "height": 1041, - "hash": "5cdde57ed8528fd363414af069e41d1634df2ba9809ce3d7ba19e16795376eec" + "hash": "442f6d5bd63a920ca300694787ef9f6dcfe4cc6e6382a0b3b16f0a172c52b088" }, { "file": "901437436-3249", @@ -1749,7 +1749,7 @@ "name": "Screen/Server Detail — Settings · Security (Forbidden)", "width": 1440, "height": 1001, - "hash": "a923bdacd78c450c07387804ac4578626de5e12da17feb6bafaf3bda59a5efbe" + "hash": "88c536fb4fc9dfcb000d627cb07ccdea730777cdd87e0dec13455cc83a9662c0" }, { "file": "901437436-3713", @@ -1757,7 +1757,7 @@ "name": "Screen/Server Detail — Settings · Security (File-access warning)", "width": 1440, "height": 925, - "hash": "8536cbfd9d0ec8a4427373f157f39d5b699903eddcacb71c69f2addd38c1798c" + "hash": "8c32fedc9f0c3a0dd27f47897aba3503086c658f02ef07d5ea703a8cb31ba397" }, { "file": "1163467012-2214", @@ -1765,7 +1765,7 @@ "name": "Screen/Mobile — Server Detail — Settings · Security", "width": 375, "height": 1352, - "hash": "fb54c37b2437520a5e2be46eadeade414505eada68f7c495b9fd64f4e3d17cad" + "hash": "7a13ae2d8f9817d7bb8c58e5fdd9138bc2b37e772bc0e1dcc6bcb06da391e22c" }, { "file": "1163467012-259", @@ -1773,7 +1773,7 @@ "name": "Screen/Create Server — Step 3 Configure (Advanced security open)", "width": 1440, "height": 2461, - "hash": "bba0135fcadf8fc2d5a2c5c027cda38765ab2981d8aea3c239a67635903b1752" + "hash": "e1ea3588f6020a4971b0d69aef0fde4d164c28ca2d69e0270f6f25c7d11ce0d4" }, { "file": "1163467012-906", @@ -1781,7 +1781,7 @@ "name": "Screen/Create Server — Step 3 Configure (Advanced security refused)", "width": 1440, "height": 2552, - "hash": "52e01a2b1e59d31592d1f51848b9b1824d47d4e3404982da2c0191c9c0de3e31" + "hash": "d9b062daa2ba2e9fbf254ed230f011792d69b47e4accf097d0c08e0f4234125b" }, { "file": "1163467012-1553", @@ -1789,7 +1789,7 @@ "name": "Screen/Create Server — Step 3 Configure (Risky value confirmation)", "width": 1440, "height": 2461, - "hash": "2ce1d834c3d1717b1a132dd5adbf3a4e42ef2f131557c1b45ae3207690a2b806" + "hash": "025c9d0e5596216ffcc7ef1e39fa530abf381292452b05fbc9469212ab98713c" }, { "file": "1163467012-2492", @@ -1797,7 +1797,7 @@ "name": "Screen/Cluster Details — Configuration — Remote (Allow root on)", "width": 1440, "height": 1293, - "hash": "c7acafa483da2e9cef9a505e3ff15f84d30564d4165e9e7ca22a2ae3b509e38c" + "hash": "6e58b6ceefbd964f04ceed12c0b1fb0a78edd91a8d5515cfdd75728d9fd8ade4" }, { "file": "1163467012-2680", @@ -1805,7 +1805,7 @@ "name": "Screen/Cluster Details — Configuration — Remote (Security settings missing)", "width": 1440, "height": 1385, - "hash": "6a68390b5be926a5c19033c31b91ada25a2ed27eddb36944f287c314539a2849" + "hash": "eea2691f906f2cf8b32a2b62b0dfd558e420ff3b6792e42d0669efc77395aafa" }, { "file": "1163467012-2868", @@ -1813,7 +1813,7 @@ "name": "Screen/Cluster Details — Configuration — Remote (Light)", "width": 1440, "height": 1293, - "hash": "c936e1f6b5f2d73ed4e2a2a07e692eee0b1187d9a37accfebdfe0fe175a9e62c" + "hash": "0ff215fe0124e11e39498efac53bbd6010c4f6d931dea0764786f316fb59ec36" }, { "file": "1163467012-3056", @@ -1821,7 +1821,7 @@ "name": "Screen/Standalone — Register cluster (Control-plane namespace edited)", "width": 1440, "height": 900, - "hash": "61552b445ecb1c0a64e13ef0fa75f98b8aba2affd4b314292984a1d4dbb74308" + "hash": "d242243cebe366a9ee88c6081bccf89d0918a95da09e3dbe0496609a5674cf42" }, { "file": "1163467012-3228", @@ -1829,7 +1829,7 @@ "name": "Screen/Standalone — Register cluster (Invalid control-plane namespace)", "width": 1440, "height": 900, - "hash": "f2d8ea47dc0fe3745a6f6caeb553e3633a147c2cfec197fa74073dc9461d7e5f" + "hash": "83abc9e15f50a2a4ea84e1adf58b40760264dd3490262d7f05854abbb6737fae" }, { "file": "1-46380", @@ -1837,7 +1837,7 @@ "name": "Screen/Settings — SFTP", "width": 1440, "height": 1169, - "hash": "2a6849f6a85bbb92f2724f68691b4a24fbb4bc4f7ae0c29814a8b3356b545b81" + "hash": "ce4355e753071bc9d511ba0677e768500f57157f479f8f4258734514a4d28c96" }, { "file": "1-46381", @@ -1845,7 +1845,7 @@ "name": "Screen/Settings — SFTP (Light)", "width": 1440, "height": 1169, - "hash": "890f3a19d271089a881f01dad0b20c8c9d5830fc2ac8b3c131788033a892d67b" + "hash": "1e0b7a5f68bf773cdef16e0f38ddae9b6f0cded945f2e5f90ac7bcde7a78bca4" }, { "file": "1-46382", @@ -1853,7 +1853,7 @@ "name": "Screen/Settings — SFTP (Not enabled)", "width": 1440, "height": 1080, - "hash": "5e7de150ed8c7fc15cd50527f699d68116aaea4cdb70a2f1486f6ced90cb3297" + "hash": "6f3aca3f4ca1af50041ca2675c9e5a905a6f3f2b3628b6e14b70aac0d6a76984" }, { "file": "1-46383", @@ -1861,7 +1861,7 @@ "name": "Screen/Settings — SFTP (No password)", "width": 1440, "height": 1169, - "hash": "368f5a60d5c32793c174291d8034ba8678b7187cd08ca73ac2704f789298c1be" + "hash": "07f42981080e1ca6894f7d40366e6c4e5614a48028d5fdb219bd47a5cbe78dff" }, { "file": "1-46384", @@ -1869,7 +1869,7 @@ "name": "Gameplane/Dialog/Add SSH key", "width": 480, "height": 380, - "hash": "cc0a5661c4ebbe45ec633badd27864fdb779c2c25959b186cdb065d81cdc8f01" + "hash": "c4f12567043e4a99927c740e50357447582051327a114e90e4b955f256bd17a9" }, { "file": "1-46385", @@ -1877,7 +1877,7 @@ "name": "Gameplane/Dialog/Add SSH key (Invalid key)", "width": 480, "height": 470, - "hash": "7102eeacc5f19aa497a5411f21f6f8e83df3d121bd9d8325b8625cb6c55b4631" + "hash": "a545ed4391366637c516499ccdd66be8b2eea2c631128316c74ab95c4782764a" }, { "file": "1-46386", @@ -1893,7 +1893,7 @@ "name": "Gameplane/Dialog/SFTP password (Shown once)", "width": 480, "height": 420, - "hash": "59e771ca30c956ad316efabe056eea64537f83c36c65b2b3ee378beb5ea47b53" + "hash": "182b6da598bba6eca9e2f7e4cb30bfa911f8e0f95b08af478093427606815f2d" }, { "file": "1006926387-2294", @@ -1901,7 +1901,7 @@ "name": "Gameplane/Dialog/Regenerate SFTP password", "width": 440, "height": 163, - "hash": "394a586fa10d168e14e3390587daa2bfb49654721fc2b3f2b23ec568b250ee24" + "hash": "2065f275fb2036efcea15c182cdb0df03f9da842935c549b6d986a469da7c7b4" }, { "file": "1006926387-2310", @@ -1909,7 +1909,7 @@ "name": "Gameplane/Dialog/Revoke SFTP password", "width": 440, "height": 163, - "hash": "6482292d2e794a941431dcc737afe35d24f27c107b0073cfcef2a1a76c89a62f" + "hash": "b410b3316276d68f8671b5d91966d8464843149b558456950697208630c7dd66" }, { "file": "1-46388", @@ -1917,7 +1917,7 @@ "name": "Screen/Settings — SFTP (Non-admin)", "width": 1440, "height": 1169, - "hash": "ef77eb4948ea6e554c39ef0a71d11046373234cfda436d7237d60daa0c96e389" + "hash": "5b7ab47614e3586bcd8c039b0639a46f17b199339002e67c92a764f9b3f178bc" }, { "file": "1-46390", @@ -1925,7 +1925,7 @@ "name": "Screen/Server Detail — Files (Uploads)", "width": 1440, "height": 900, - "hash": "e5c1e4e80f03f2d9efadf0e2c270059630e24db781a831737c8da445bc9a9953" + "hash": "1e19d1513fbeac2f780ac42386996eaaa507cdd7687ff2e9fe2f727cc9d2e362" }, { "file": "1-46391", @@ -1933,7 +1933,7 @@ "name": "Screen/Server Detail — Files (Uploads, Light)", "width": 1440, "height": 900, - "hash": "15e9acadfdcf30be7888416d9dd247f262c37fc8e624385e050d74fb05258e62" + "hash": "e3e0e36e30c058e2d4095c8d671b2b88484719fe48a11cf5f09456caeeeeb7cb" }, { "file": "1-46392", @@ -1941,7 +1941,7 @@ "name": "Screen/Server Detail — Files (Uploads with errors)", "width": 1440, "height": 900, - "hash": "4cfbfd25e0d567c0f7ec0bb0087ca7c03d05695d9b9485670fffdc38dff309e5" + "hash": "dae06ec60901b26b988f34961cde26f58b62449ac9154f493e47997fb273bf3c" }, { "file": "1-46393", @@ -1949,7 +1949,7 @@ "name": "Screen/Server Detail — Files (Starting)", "width": 1440, "height": 900, - "hash": "381fd91f4c4c3e9edcbd0cf05737e2d5a5edd70ecc4a6c4b04a70727fb48b3cc" + "hash": "698870b6d5e89ef6ec20f20d6577c165065b6b4b1783d52180cc7c51e8ed8941" }, { "file": "1-46394", @@ -1957,7 +1957,7 @@ "name": "Screen/Server Detail — Files (Starting timed out)", "width": 1440, "height": 900, - "hash": "512c9f8cc9b69a0dcf58c61bf7550ede0d363d65918283c7e8961f17c69c170f" + "hash": "6f7965021eae204e370a5ba6a8b0466b9d243591289c43c1f43caabfe0fedd34" }, { "file": "1-46395", @@ -1965,7 +1965,7 @@ "name": "Screen/Users & RBAC — SFTP access (admin)", "width": 1440, "height": 900, - "hash": "edfb351b216b3398a29ff09313f28d7bf5838110661ba6a58ffad33de45ab808" + "hash": "bf6ce5971be4b417870a7ea06dcbfb63610bfd28ad031a7a243d16819fca3dea" }, { "file": "1-46396", @@ -1973,7 +1973,7 @@ "name": "Screen/Clusters — SFTP (remote-lab)", "width": 1440, "height": 900, - "hash": "0dfa406ca5aeab8ed4d5c131ecba92af2c43ebd5dae0269d4c075d054b53aacf" + "hash": "e6d7540870c24e0b8ed17a6715ee00c93207c219bf5605bb47c70072c5ab3446" }, { "file": "1-46397", @@ -1981,7 +1981,7 @@ "name": "Screen/Clusters — SFTP (remote-lab) — Token created", "width": 1440, "height": 900, - "hash": "ed7ad2d57259f3d5693c8adbadcc7eeb48a79a9c04c25a58324439cb396b8209" + "hash": "dc006c116ac359ede762ee0aa25d5e86a979dfdca05cc2bc8c4c0ac9e764141e" }, { "file": "1-46398", @@ -1989,7 +1989,7 @@ "name": "Screen/Clusters — SFTP (remote-lab) — Token limit", "width": 1440, "height": 900, - "hash": "62161e2eb4550bce4d8cef0146c24b3c7f27f5ec0112e989ddcf025c40d4a906" + "hash": "1d890c46e825f854df9ba144b5c87ff4652040aa743677459f5e64970f075fd9" }, { "file": "1041846705-1", @@ -1997,7 +1997,7 @@ "name": "Gameplane/Dialog/Change SFTP username", "width": 480, "height": 203, - "hash": "99523d74c9434fa84eb4ade3faa0e30325f169f76c85537be48301ae7621000b" + "hash": "e9a89f9fa7050da6772773da510f2ac7051f8500a73e5bf5813eee3cbfeb5cad" }, { "file": "1041846705-38", @@ -2005,7 +2005,7 @@ "name": "Gameplane/Dialog/Change SFTP username (Taken)", "width": 480, "height": 203, - "hash": "08dc78b35fa05f8f4771f9d94133018124923913b4fedca57d61d4e2bf28f7cc" + "hash": "796a2a48b5eb59ec8a50a74e45e8b062b4c36edb5d37d2bac89c0a85b26d82dd" }, { "file": "1210536257-22", @@ -2013,6 +2013,38 @@ "name": "Screen/Backups — Destinations", "width": 1440, "height": 1150, - "hash": "da9bb47d976e135bd3f86917b96a931bd875519b3af29b236ea5538fe878e764" + "hash": "1dad792a14b9982703b297a682de590f50dcbabaeea0151f4e603205abaf14e8" + }, + { + "file": "1730846790-11", + "figId": "1730846790:11", + "name": "Screen/Server Detail — Modpacks (All loaders)", + "width": 1440, + "height": 900, + "hash": "c0e91a3fb9461523766a70d6d923519c61e6804606be757d294ec1beac0c2c25" + }, + { + "file": "1730846790-322", + "figId": "1730846790:322", + "name": "Screen/Server Detail — Modpacks — Choose version (All loaders)", + "width": 1440, + "height": 900, + "hash": "56e999c946fd33fd12eab345ea0d5f072b6c7967344ee1ddc1528c34a6f8212d" + }, + { + "file": "1730846790-741", + "figId": "1730846790:741", + "name": "Screen/Server Detail — Modpacks — Choose version (No runnable version)", + "width": 1440, + "height": 900, + "hash": "4bfaa5603508cd24c41ad252a2b8895bc08e9f87f12c8e2884dc9396033b6b93" + }, + { + "file": "1730846790-1140", + "figId": "1730846790:1140", + "name": "Screen/Server Detail — Modpacks — Confirm install (version change)", + "width": 1440, + "height": 900, + "hash": "8ae6217c10b6ee178b0bc9a137fb7144c9c517a2a666bc4ed09f0af322fcd388" } ] diff --git a/assets/design-export/screenshots/1274632774-3890.png b/assets/design-export/screenshots/1274632774-3890.png index 9c029a65c..6c69bd2cb 100644 Binary files a/assets/design-export/screenshots/1274632774-3890.png and b/assets/design-export/screenshots/1274632774-3890.png differ diff --git a/assets/design-export/screenshots/1730846790-11.png b/assets/design-export/screenshots/1730846790-11.png new file mode 100644 index 000000000..da4942911 Binary files /dev/null and b/assets/design-export/screenshots/1730846790-11.png differ diff --git a/assets/design-export/screenshots/1730846790-1140.png b/assets/design-export/screenshots/1730846790-1140.png new file mode 100644 index 000000000..dbc6acb32 Binary files /dev/null and b/assets/design-export/screenshots/1730846790-1140.png differ diff --git a/assets/design-export/screenshots/1730846790-322.png b/assets/design-export/screenshots/1730846790-322.png new file mode 100644 index 000000000..79a2bf9c4 Binary files /dev/null and b/assets/design-export/screenshots/1730846790-322.png differ diff --git a/assets/design-export/screenshots/1730846790-741.png b/assets/design-export/screenshots/1730846790-741.png new file mode 100644 index 000000000..5e4d1f106 Binary files /dev/null and b/assets/design-export/screenshots/1730846790-741.png differ diff --git a/assets/design-export/screenshots/tY6RD.png b/assets/design-export/screenshots/tY6RD.png index 0c6ae95ad..a84cf68dc 100644 Binary files a/assets/design-export/screenshots/tY6RD.png and b/assets/design-export/screenshots/tY6RD.png differ diff --git a/changelog/unreleased/1114-modpack-all-loaders.md b/changelog/unreleased/1114-modpack-all-loaders.md new file mode 100644 index 000000000..6b954f474 --- /dev/null +++ b/changelog/unreleased/1114-modpack-all-loaders.md @@ -0,0 +1,3 @@ +# Browse modpacks for every loader + +The Modpacks tab now has an "All loaders" switch. Turned on, it lists packs for every loader and Minecraft version, not only the ones that match the server's current version, so a Fabric server can find NeoForge packs such as FTB Evolution 2. The version picker then shows which server version each pack version runs on. Installing a version for another loader or Minecraft version also switches the server to that version, and the confirmation says so. [PR #1114](https://github.com/GameplanePanel/Gameplane/pull/1114) diff --git a/design.fig b/design.fig index d574679d4..47fed46af 100644 Binary files a/design.fig and b/design.fig differ diff --git a/i18n/locales/en/app.json b/i18n/locales/en/app.json index 4830acc21..48fee0c9c 100644 --- a/i18n/locales/en/app.json +++ b/i18n/locales/en/app.json @@ -1067,6 +1067,14 @@ "defaultMessage": "this server has no modpack", "description": "API error from the modpack API (registry_modpack.go:removeModpack) when there is no modpack to remove." }, + "server.modpack.server_version_forbidden": { + "defaultMessage": "changing the server version needs permission to edit the server", + "description": "API error from the modpack API (registry.go:installModpack) when a modpack install would switch the server version (serverVersion) and the caller lacks servers:write in the server's namespace." + }, + "server.modpack.server_version_mismatch": { + "defaultMessage": "the chosen pack version does not run on that server version", + "description": "API error from the modpack API (registry.go:installModpack, registry_server_version.go:serverVersionTarget) when a modpack install names a server version (serverVersion) that is not a template version or cannot run the chosen pack version." + }, "server.modpack.version_required": { "defaultMessage": "version is required", "description": "API error from the modpack API (registry.go:installModpack) when a modpack is installed without choosing a version." @@ -2551,6 +2559,14 @@ "defaultMessage": "Takes a backup to the cluster’s backup destination ({destination}) before the change. If the backup fails, nothing changes.", "description": "Modpack confirm dialog: help text under the back-up checkbox naming the backup destination; the backup is taken first and the change is cancelled if it fails; {destination} is the destination name" }, + "web.components.modpack_confirm_dialog.backup_help_destination_version_change": { + "defaultMessage": "Takes a backup to the cluster’s backup destination ({destination}). The server version changes right away; the pack is installed only after the backup succeeds.", + "description": "Modpack confirm dialog: help text under the back-up checkbox when the change also switches the server version; the server version changes immediately, the modpack is installed only after the backup succeeds, and the backup goes to the named cluster backup destination; {destination} is the destination name" + }, + "web.components.modpack_confirm_dialog.backup_help_version_change": { + "defaultMessage": "Takes a backup to this server's backup destination. The server version changes right away; the pack is installed only after the backup succeeds.", + "description": "Modpack confirm dialog: help text under the back-up checkbox when the change also switches the server version and the cluster has no named destination; the server version changes immediately, the modpack is installed only after the backup succeeds" + }, "web.components.modpack_confirm_dialog.cancel": { "defaultMessage": "Cancel", "description": "Modpack confirm dialog: button that closes the dialog without changing the modpack" @@ -2615,6 +2631,18 @@ "defaultMessage": "Every mod in the mods folder is deleted, including ones added by hand. The world folder is not touched.", "description": "Modpack confirm dialog: danger warning when removing the modpack; every mod in the mods folder is deleted, including hand-added ones, and the world folder is kept" }, + "web.components.modpack_confirm_dialog.server_version_warning_body": { + "defaultMessage": "The server version changes from {from} to {to}.", + "description": "Modpack confirm dialog: body of the server version warning; {from} is the server's current version name, {to} the version it switches to" + }, + "web.components.modpack_confirm_dialog.server_version_warning_restart": { + "defaultMessage": "The server restarts on the new version right away, before any backup finishes.", + "description": "Modpack confirm dialog: sentence after the server version warning; the server switches version and restarts before the requested backup completes" + }, + "web.components.modpack_confirm_dialog.server_version_warning_title": { + "defaultMessage": "The server version changes", + "description": "Modpack confirm dialog: heading of the warning shown when the chosen pack version makes the server switch its version" + }, "web.components.modpack_confirm_dialog.switch_desc": { "defaultMessage": "{serverName} restarts on {packTitle} {versionName}.", "description": "Modpack confirm dialog: explains the server restarts on the chosen modpack version; {serverName}, {packTitle} and {versionName} are names" @@ -2687,10 +2715,18 @@ "defaultMessage": "Loading versions…", "description": "Modpack version picker: shown while the versions of the modpack are loading" }, + "web.components.modpack_version_picker.no_runnable_versions": { + "defaultMessage": "This server can't run any version of this pack.", + "description": "Modpack version picker: empty state with All loaders on; the server's game version and loader cannot run any version of this pack" + }, "web.components.modpack_version_picker.no_versions": { "defaultMessage": "No versions of this pack match {mcLabel}.", "description": "Modpack version picker: empty state when the modpack has no version for the server's game version and loader; {mcLabel} is that label" }, + "web.components.modpack_version_picker.no_versions_for_server": { + "defaultMessage": "No versions are available for this server.", + "description": "Modpack version picker: empty state with All loaders on when the server has no version of the pack to run" + }, "web.components.modpack_version_picker.older": { "defaultMessage": "Older", "description": "Modpack version picker: chip marking a version older than the one pinned on the server" @@ -2719,6 +2755,14 @@ "defaultMessage": "Release", "description": "Modpack version picker: chip for a stable release of the modpack version" }, + "web.components.modpack_version_picker.runs_on": { + "defaultMessage": "Runs on {serverVersionName}", + "description": "Modpack version picker: row line naming the server version the pack version needs when it differs from the server's current one; {serverVersionName} is that version's display name" + }, + "web.components.modpack_version_picker.showing_all_loaders": { + "defaultMessage": "Showing every version this server can run, newest first.", + "description": "Modpack version picker: subtitle when All loaders is on; lists every pack version the server can run, whatever loader it needs, newest first" + }, "web.components.modpack_version_picker.showing_versions": { "defaultMessage": "Showing versions for {mcLabel}, newest first.", "description": "Modpack version picker: explains which Minecraft or game version and loader the listed versions match; {mcLabel} is that label" @@ -3671,6 +3715,10 @@ "defaultMessage": "All", "description": "Registry browser: category chip that clears the category filter" }, + "web.components.registry_browser.all_loaders": { + "defaultMessage": "All loaders", + "description": "Registry browser: switch label that lists modpack versions for every loader and game version the server can run, not only the server's own" + }, "web.components.registry_browser.category_unavailable": { "defaultMessage": "Category filtering isn't available for {provider}.", "description": "Registry browser: tooltip when a provider has no category filter; {provider} is the provider label" diff --git a/specs/035-curseforge-modpacks/OPEN-DECISIONS.md b/specs/035-curseforge-modpacks/OPEN-DECISIONS.md index 8bb7947fe..85f7e52e3 100644 --- a/specs/035-curseforge-modpacks/OPEN-DECISIONS.md +++ b/specs/035-curseforge-modpacks/OPEN-DECISIONS.md @@ -140,3 +140,39 @@ would garbage-collect it, and the restic snapshot, when the server is deleted; s - A. Keep (no owner): the Backup carries no ownerReference, only the `gameplane.local/modpack-change` label and `spec.serverRef`, so it and its restic snapshot survive deleting the server, like scheduled backups. - B. Delete with the server: the Backup is controller-owned by the GameServer and is garbage-collected with it. + +## OD-12: How should modpack browse handle packs for other loaders or versions? (SETTLED: C, valgul 2026-11-26) + +**Ruling: option C** (valgul, 2026-11-26). + +Raised on 2026-11-26: on a Fabric server the FTB browse lists only the 3 Fabric packs out of FTB's 95 popular packs +(82 Forge, 11 NeoForge), so packs such as FTB Evolution 2 (id 135, NeoForge 26.1.2 only) never show. Modrinth and +CurseForge use the same filter. + +- A. List all, switch version on install: browse always shows every pack. +- B. Keep the filter, add a hint naming how many packs need another loader. +- C. Filtered by default, an "All loaders" toggle shows every pack; picking a version for another loader or + Minecraft version switches the server version on install. + +## OD-13: How does an "All loaders" install switch the server's version? (SETTLED: B, valgul 2026-11-26) + +**Ruling: option B** (valgul, 2026-11-26). Where an option below says "Recommended", that was the recommendation +before the ruling, not the ruling. + +- A. The pack carries its server version (new `spec.modpack.serverVersion`): the pod runs that version while the pack + is active, the pre-change backup is taken first, and Remove returns the server to its own selected version. Needs a + CRD field and an operator change. (Recommended.) +- B. The install also rewrites the server's selected version (`spec.version`). Smaller; with "Back up first" the pod + restarts on the new version as a plain loader before the backup ends, and Remove leaves the server on the new version. + +## OD-14: Who may switch the server version through a modpack install? (SETTLED: A, valgul 2026-11-26) + +**Ruling: option A** (valgul, 2026-11-26). + +Raised in the code review of PR #1114: only `PUT /servers/{name}` changed `spec.version` before, and the owner/collaborator +fallback is refused there; `POST /servers/{name}/modpack` is a sub-resource, so that fallback allows it. + +- A. Only users with servers:write: owners and collaborators can still install packs for the current version, but an + install that switches the version needs the same right as changing it in Settings (403 + `server.modpack.server_version_forbidden`). +- B. Anyone who can install packs. diff --git a/specs/035-curseforge-modpacks/contracts/api-modpack.md b/specs/035-curseforge-modpacks/contracts/api-modpack.md index 8e0f0bb94..70a32291c 100644 --- a/specs/035-curseforge-modpacks/contracts/api-modpack.md +++ b/specs/035-curseforge-modpacks/contracts/api-modpack.md @@ -28,6 +28,26 @@ Each versions entry also carries two optional fields (both omitted when the prov release type (1, 2, 3) to these; FTB passes its type through only when it is one of the three. - `publishedAt` (string): RFC 3339, UTC (for example `"2026-11-02T14:03:09Z"`). +### `allLoaders=true` (FR-014, OD-12 C) + +With `type=modpack&allLoaders=true`, versions are not filtered by the server's loader and Minecraft version. +Instead each version is matched against the template's `versions[]`: an entry matches when its `loader` +equals one of the version's `loaders` (case-insensitive) and its `gameVersion` (non-empty; moving +"Latest" entries never match) is one of the version's `gameVersions`. The server's current entry wins when +it matches, else the first matching entry in template order. Versions with no match are dropped. Each kept +version carries: + +- `serverVersion` (string): the matching template version id, e.g. `"26.1.2-neoforge"`. +- `serverVersionName` (string): that entry's `displayName`, e.g. `"26.1.2 · NeoForge"`. + +CurseForge versions carry `loaders` derived from their `gameVersions` tags (`Forge`, `NeoForge`, `Fabric`, +`Quilt`, lower-cased) in every mode. + +## GET /servers/{name}/mods/registry/search?…&type=modpack&allLoaders=true (changed) + +`allLoaders=true` with `type=modpack` drops the loader and Minecraft version filters from the search. +Ignored for `type=mod`. + ## GET /servers/{name}/modpack (new) ```json @@ -75,6 +95,11 @@ Request: ``` - `version` required (400 `server.modpack.version_required`). +- `serverVersion` (optional, FR-014, OD-13 B): a template version id. When set and different from the + server's current version, the API checks the entry exists and that `version` is among the pack's + versions for that entry's loader and Minecraft version (400 `server.modpack.server_version_mismatch` + otherwise; 403 `server.modpack.server_version_forbidden` without servers:write in the namespace, OD-14 A), then writes `spec.version` together with `spec.modpack` in one update. The audit row + records the old and new server version. - Same provider + project as the active pack = version change; else install. Neither empties the mods folder (OD-7 B); only DELETE does. - 409 `server.modpack.key_required` when the provider is blocked for this server (see @@ -84,7 +109,7 @@ Request: (a change the operator has not picked up yet reads `Pending`). - 202 with the GET body (built from the server object just written, without the agent read, so `missingFiles` is `[]`). Its `phase` is `Pending` until the operator picks the change up. - Writes `spec.modpack` only; the operator applies it. + Writes `spec.modpack` (and `spec.version` when `serverVersion` switches it); the operator applies it. ## DELETE /servers/{name}/modpack?backupFirst=true|false (new) diff --git a/specs/035-curseforge-modpacks/contracts/ui-modpacks-tab.md b/specs/035-curseforge-modpacks/contracts/ui-modpacks-tab.md index ef1f470d9..c246f9e38 100644 --- a/specs/035-curseforge-modpacks/contracts/ui-modpacks-tab.md +++ b/specs/035-curseforge-modpacks/contracts/ui-modpacks-tab.md @@ -8,10 +8,15 @@ prompt lists these surfaces: 2. **Version picker** (install and Change version): versions for the server's Minecraft version and loader only, newest first and preselected; release/beta badge; older-than- pinned versions marked. +2a. **"All loaders" toggle** (FR-014, OD-12 C) in the browser's filter row for registries that pin a + version, off by default. On: search shows every pack; the picker lists every version the server can + run, each row naming its server version ("Runs on 26.1.2 · NeoForge"), and an empty state when the + server can run none. 3. **Confirmation dialog**: pack + version; "Back up first" checkbox (ticked when `backupAvailable`, otherwise disabled with a reason); downgrade warning when an older version is picked; Remove variant states that every mod in the mods folder is deleted, - including ones added by hand. + including ones added by hand. When the picked version needs another server version, a line says + "The server version changes from {current} to {target}." (OD-13 B). 4. **Active modpack card** at the top: title, registry, version name or "Not pinned", phase (Backing up / Applying / Backup failed + message), Change version, Remove. A pending removal shows "Removing"; after a failed removal backup, Remove becomes "Retry remove". diff --git a/specs/035-curseforge-modpacks/spec.md b/specs/035-curseforge-modpacks/spec.md index 8d533469f..4c2a9c0eb 100644 --- a/specs/035-curseforge-modpacks/spec.md +++ b/specs/035-curseforge-modpacks/spec.md @@ -26,7 +26,13 @@ - Q: What happens to servers that already run an unpinned Modrinth pack? → A: After upgrade, each is pinned to the pack version it already has installed; if that version cannot be read, the Active modpack card shows "Not pinned" until the operator picks one. - Q: Should the panel back up the server before a modpack install, version change or remove? → A: The confirmation offers "Back up first", ticked by default when the server has a backup destination; the change waits for that backup to finish. - Q: Can an operator change a pinned pack to an older version? → A: Yes; the confirmation warns that a downgrade can break the world and keeps "Back up first" ticked. -- Q: Which pack versions should the version picker list? → A: Only versions for the server's selected Minecraft version and loader; moving to another Minecraft version means changing the server version first. +- Q: Which pack versions should the version picker list? → A: Only versions for the server's selected Minecraft version and loader; moving to another Minecraft version means changing the server version first. (Amended 2026-11-26: the "All loaders" toggle, see below.) + +### Session 2026-11-26 + +- Q: A Fabric server's FTB browse lists 3 packs and hides packs like FTB Evolution 2 (NeoForge only). How should browse handle packs for other loaders or Minecraft versions? → A: Browse stays filtered to the server's loader and Minecraft version by default; an "All loaders" toggle lists every pack, and picking a version for another loader or Minecraft version switches the server version on install (OD-12 C). +- Q: How does that install switch the server's version? → A: The install also rewrites the server's selected version to the template version that matches the pack version's loader and Minecraft version; Remove leaves the server on that version (OD-13 B). +- Q: Who may switch the server version through a modpack install? → A: Only users with servers:write, as for changing the version in Settings (OD-14 A). ## User Scenarios & Testing *(mandatory)* @@ -112,7 +118,7 @@ The operator switches the Modpacks registry to FTB, searches FTB's own pack list ### Edge Cases - A pack for an old Minecraft version (≤1.16.5) runs on the `java8` image, which has no built-in CurseForge key. Such packs are offered only when the admin shares the key with game servers (OD-1 C). -- The selected server version's Java image does not match the pack's Minecraft version. Search is already filtered to the server's game version and loader, so a pack is only offered for the version the server runs. A pack whose own manifest disagrees fails at boot with the image's error in the server log. +- The selected server version's Java image does not match the pack's Minecraft version. Search is filtered to the server's game version and loader by default, so a pack is only offered for the version the server runs; with "All loaders" on, installing switches the server to the matching version (and its image) first (FR-014). A pack whose own manifest disagrees fails at boot with the image's error in the server log. - The CurseForge key is removed or rotated after a pack is installed. Browsing stops (or uses the new key) at once; per-server key copies follow the admin key when sharing is on (OD-1 C). - CurseForge is unreachable or rate-limits during boot. The server fails to start with the image's error in the log; the panel does not retry in a loop beyond the normal restart policy. - A pack is removed from CurseForge after install. A pinned file keeps working while CurseForge still serves it; otherwise the server log shows the error and the operator can pick another pack or remove it. @@ -121,7 +127,9 @@ The operator switches the Modpacks registry to FTB, searches FTB's own pack list - FTB's API is unreachable. FTB is shown with the same error state the registry browser uses for other providers; the rest of the tab keeps working. - A server installed a Modrinth pack before this feature (no pinned version). After the panel upgrade it is pinned to the version it already has installed; the operator restarts it once to apply the pin as soon as no players are online (OD-8 B), so a later restart does not upgrade the pack. If the installed version cannot be read, the Active modpack card shows "Not pinned" and asks the operator to pick a version. - The operator ticks "Back up first" and the backup fails. The pack change does not happen; the panel shows the backup error and the server keeps its current pack. -- A pack's newer versions target a newer Minecraft version than the server runs. They are not listed in the picker; the operator changes the server version first, then picks the pack version. +- A pack's newer versions target a newer Minecraft version than the server runs. They are not listed in the picker; the operator changes the server version first, or turns on "All loaders" so the install switches it (FR-014). +- With "All loaders" on, a pack has no version for any Minecraft version and loader the module offers (for example an old 1.12.2 pack). The picker lists no versions and says the server can't run any version of this pack. +- A pack installed through "All loaders" switches a Fabric server to NeoForge. Mods in the Fabric mods folder stay on their own volume and do not load; switching the server back to the Fabric version brings them back. - An operator installs a different pack over an active one. The mods folder is not emptied (OD-7 B), so the old pack's mods stay and may load alongside the new pack; the operator deletes them in the Mods tab or uses Remove first. - A pack needs more memory than the server has. Out of scope here; the operator raises memory in the server settings (itzg recommends at least 4 GB). @@ -134,14 +142,15 @@ The operator switches the Modpacks registry to FTB, searches FTB's own pack list - **FR-003**: Installing a CurseForge pack MUST set the server to install that pack on boot through the game image's own CurseForge modpack mode, and MUST restart the server through the operator like the Modrinth install does today. - **FR-004**: Installing a pack from one registry MUST clear every setting of a pack from the other registries, so at most one pack is active per server. - **FR-005**: Game servers MUST use the image's built-in CurseForge key by default (OD-1 C). An admin setting "Share the CurseForge key with game servers" (off by default) MUST make the operator give each server with a CurseForge pack its own server-owned copy of the admin key, exposed to the game container as an env var (`CF_API_KEY`) read via `valueFrom.secretKeyRef`, kept in sync on rotation and removed when the admin key is removed or the setting is turned off. While the setting is off, CurseForge packs for Minecraft versions whose image has no built-in key (java8, ≤1.16.5) MUST NOT be offered. The key MUST NOT be written into GameServer env as plain text, into server logs, or into API responses. -- **FR-006**: Installing a pack MUST open a version picker that lists only the pack's versions for the server's selected Minecraft version and loader, defaulting to the newest of them; the server MUST stay pinned to the chosen file across restarts until the operator picks another (OD-2 B). Older versions MAY be picked; the confirmation MUST warn that a downgrade can break the world (Clarifications 2026-11-13). There is no "always latest" mode. Servers with a Modrinth pack installed before this feature MUST be pinned to their currently installed version on upgrade, without restarting them while players are online; the pin takes effect at the next restart, or through one operator restart as soon as the server has no players online (right away when stopped or asleep) (OD-8 B). If that version cannot be read they show "Not pinned" (Clarifications 2026-11-13). The same picker and pinning apply to Modrinth packs (OD-3 A) and FTB packs (OD-6 B). +- **FR-006**: Installing a pack MUST open a version picker that lists only the pack's versions for the server's selected Minecraft version and loader (or, with "All loaders" on, every version the server can run, FR-014), defaulting to the newest of them; the server MUST stay pinned to the chosen file across restarts until the operator picks another (OD-2 B). Older versions MAY be picked; the confirmation MUST warn that a downgrade can break the world (Clarifications 2026-11-13). There is no "always latest" mode. Servers with a Modrinth pack installed before this feature MUST be pinned to their currently installed version on upgrade, without restarting them while players are online; the pin takes effect at the next restart, or through one operator restart as soon as the server has no players online (right away when stopped or asleep) (OD-8 B). If that version cannot be read they show "Not pinned" (Clarifications 2026-11-13). The same picker and pinning apply to Modrinth packs (OD-3 A) and FTB packs (OD-6 B). - **FR-007**: The Modpacks tab MUST show an "Active modpack" card (name, registry, pinned version) with Change version and Remove actions, for every registry (OD-4 A). Remove MUST ask for confirmation, clear all pack settings, delete everything in the server's mods folder for the active loader (including mods added by hand), and restart the server; world data and configs stay. - **FR-008**: The server's data volume MUST have a `downloads/` folder that the image reads for manually downloaded files. When a pack install stops because files need a manual download, the Modpacks tab MUST list each missing file with a link to its download page and tell the operator to upload it to `downloads/` in the Files tab and restart (OD-5 A). - **FR-009**: Install, version change and remove MUST be limited to users who can manage the server (same permission as the Mods and Modpacks tabs today), and each MUST be written to the audit log. - **FR-010**: Every new user-facing string MUST go through the shared i18n packs. - **FR-011**: The module change MUST follow the module images rule: keep the official itzg image; no custom image. -- **FR-012**: The panel MUST add an FTB modpack registry (OD-6 B): search FTB's public pack list filtered to the server's game version and loader, list a pack's versions for the picker, and install through the image's FTB mode pinned to the chosen version. FTB needs no key and is always offered on modpack-capable servers. FTB is a modpack-only registry; it does not appear in the Mods tab. -- **FR-013**: The confirmation for install, version change and remove MUST offer "Back up first". It MUST be ticked by default when the server has a backup destination, and hidden or disabled with a short reason when it has none. When ticked, the pack change MUST start only after the backup succeeds; if the backup fails, the change MUST NOT happen and the operator sees why (Clarifications 2026-11-13). +- **FR-012**: The panel MUST add an FTB modpack registry (OD-6 B): search FTB's public pack list filtered to the server's game version and loader (unless "All loaders" is on, FR-014), list a pack's versions for the picker, and install through the image's FTB mode pinned to the chosen version. FTB needs no key and is always offered on modpack-capable servers. FTB is a modpack-only registry; it does not appear in the Mods tab. +- **FR-014**: The Modpacks browser MUST offer an "All loaders" toggle for registries that pin a pack version (Modrinth, CurseForge, FTB), off by default (OD-12 C). When on, search MUST NOT filter by the server's loader or Minecraft version, and the version picker MUST list every pack version whose loader and Minecraft version exactly match a template version entry with a fixed Minecraft version (moving "Latest" entries never match), naming that server version on each row; versions with no matching entry MUST NOT be listed. Installing such a version MUST set the server's selected version to the matching entry in the same write as the pack (OD-13 B), preferring the server's current entry when it matches; the confirmation MUST say the server version changes from what to what. Remove leaves the server on that version. The API MUST reject a target version that is not a template entry or whose loader and Minecraft version do not match the chosen pack version. An install that switches the server version MUST require servers:write in the server's namespace, as changing the version in Settings does; an owner or collaborator grant alone MUST NOT switch it (OD-14 A). +- **FR-013**: The confirmation for install, version change and remove MUST offer "Back up first". It MUST be ticked by default when the server has a backup destination, and hidden or disabled with a short reason when it has none. When ticked, the pack change MUST start only after the backup succeeds; if the backup fails, the change MUST NOT happen and the operator sees why (Clarifications 2026-11-13). Exception (OD-13 B): when the install also switches the server version (FR-014), the server version changes at once and the server restarts on it before the backup finishes; the confirmation says so. ### Key Entities diff --git a/specs/035-curseforge-modpacks/tasks.md b/specs/035-curseforge-modpacks/tasks.md index 11f6bef0b..f8e59cef8 100644 --- a/specs/035-curseforge-modpacks/tasks.md +++ b/specs/035-curseforge-modpacks/tasks.md @@ -182,6 +182,14 @@ description: "Task list for spec 035: CurseForge and FTB modpacks for Minecraft" - [ ] T064 Walk quickstart.md scenarios 1–11 against the CI results and a dev cluster if valgul provides one; record results in specs/035-curseforge-modpacks/quickstart.md - [X] T065 Apply a CurseForge key-sharing toggle only when the server has 0 players online, is stopped or asleep, or a pack change is rolling it, reusing the OD-8 B gate (OD-10 A), in operator/internal/controller/gameserver_modpack_key.go, gameserver_modpack.go and gameserver_modpack_key_envtest_test.go + +## Phase 9: "All loaders" toggle (OD-12 C, OD-13 B, FR-014) + +- [X] T066 Design the "All loaders" toggle in the Modpacks browser, the picker rows that name the server version, the no-version empty state and the confirmation's version-change line in design.fig, light, dark and mobile; export with hack/design/fig-export.ts +- [X] T067 Accept `allLoaders=true` on search and on modpack versions, annotate each version with `serverVersion`/`serverVersionName` and drop versions no template entry runs, populate CurseForge `loaders` from its gameVersions tags, in api/internal/handlers/registry.go, api/internal/registry/curseforge.go and tests +- [X] T068 Accept `serverVersion` on POST /servers/{name}/modpack: validate it against the template and the pack version, write spec.version with spec.modpack in one update, record it in the audit row, in api/internal/handlers/registry.go, registry_modpack.go and tests +- [X] T069 Build the toggle, picker rows, empty state and confirmation line from the T066 export in web/src/components/registry-browser.tsx, modpack-version-picker.tsx, modpack-confirm-dialog.tsx, web/src/routes/tabs/Modpacks.tsx, web/src/lib/endpoints.ts, web/src/types.ts, i18n packs and tests +- [X] T070 Update contracts/api-modpack.md, contracts/ui-modpacks-tab.md, api/specs.md and web/specs.md for FR-014; add the changelog/unreleased entry --- ## Dependencies & execution order diff --git a/web/specs.md b/web/specs.md index 23007b481..d38544a87 100644 --- a/web/specs.md +++ b/web/specs.md @@ -405,6 +405,7 @@ CloneServerDialog, TransferServerDialog and WipeServerDialog do not route throug - Modpack-capable games render a selector/browser - Select active pack, view pack contents, toggle mods within a pack - Uses HeroUI Select, Table, Button, Chip + - "All loaders" switch (spec 035 FR-014, env-mode registries only, off by default): search drops the server's loader and Minecraft version filters, the install picker lists every version a template version entry runs ("Runs on …"), and the confirmation warns when the install switches the server version (sent as `serverVersion`). Change version stays filtered. 3. **Backups Tab** (`web/src/routes/tabs/Backups.tsx`, 290 lines) - Per-server backup list (snapshots created via the /backups page or on-demand) diff --git a/web/src/components/modpack-confirm-dialog.tsx b/web/src/components/modpack-confirm-dialog.tsx index 3fda9eba3..6daba5cf1 100644 --- a/web/src/components/modpack-confirm-dialog.tsx +++ b/web/src/components/modpack-confirm-dialog.tsx @@ -31,6 +31,7 @@ export function ModpackConfirmDialog({ backupDestination, pending, error, + serverVersionChange, onConfirm, }: { open: boolean; @@ -46,6 +47,9 @@ export function ModpackConfirmDialog({ backupDestination?: string; pending: boolean; error?: string; + // Set when the picked pack version makes the server switch its version: + // from is the server's current version name, to the one it switches to. + serverVersionChange?: { from: string; to: string }; onConfirm(opts: { backupFirst: boolean }): void; }) { const intl = useOptionalIntl(); @@ -106,7 +110,11 @@ export function ModpackConfirmDialog({ } })(); - const backupHelp = backupAvailable && backupDestination + const backupHelp = backupAvailable && backupDestination && serverVersionChange + ? intl.formatMessage({ id: "web.components.modpack_confirm_dialog.backup_help_destination_version_change", defaultMessage: "Takes a backup to the cluster’s backup destination ({destination}). The server version changes right away; the pack is installed only after the backup succeeds.", description: "Modpack confirm dialog: help text under the back-up checkbox when the change also switches the server version; the server version changes immediately, the modpack is installed only after the backup succeeds, and the backup goes to the named cluster backup destination; {destination} is the destination name" }, { destination: backupDestination }) + : backupAvailable && serverVersionChange + ? intl.formatMessage({ id: "web.components.modpack_confirm_dialog.backup_help_version_change", defaultMessage: "Takes a backup to this server's backup destination. The server version changes right away; the pack is installed only after the backup succeeds.", description: "Modpack confirm dialog: help text under the back-up checkbox when the change also switches the server version and the cluster has no named destination; the server version changes immediately, the modpack is installed only after the backup succeeds" }) + : backupAvailable && backupDestination ? intl.formatMessage({ id: "web.components.modpack_confirm_dialog.backup_help_destination", defaultMessage: "Takes a backup to the cluster’s backup destination ({destination}) before the change. If the backup fails, nothing changes.", description: "Modpack confirm dialog: help text under the back-up checkbox naming the backup destination; the backup is taken first and the change is cancelled if it fails; {destination} is the destination name" }, { destination: backupDestination }) : backupAvailable ? intl.formatMessage({ id: "web.components.modpack_confirm_dialog.backup_help", defaultMessage: "Takes a backup to this server's backup destination before the change. If the backup fails, nothing changes.", description: "Modpack confirm dialog: help text under the back-up checkbox explaining the backup is taken first and the change is cancelled if it fails" }) @@ -179,6 +187,24 @@ export function ModpackConfirmDialog({

{backupHelp}

+ {serverVersionChange && ( + +
+
+
+ )} {error &&

{error}

} diff --git a/web/src/components/modpack-confirm-dialog_backup_version_change.test.tsx b/web/src/components/modpack-confirm-dialog_backup_version_change.test.tsx new file mode 100644 index 000000000..69510658f --- /dev/null +++ b/web/src/components/modpack-confirm-dialog_backup_version_change.test.tsx @@ -0,0 +1,51 @@ +import { describe, it, expect, vi } from "vitest"; +import { render, screen } from "@testing-library/react"; +import { ModpackConfirmDialog } from "./modpack-confirm-dialog"; + +const VERSION_CHANGE_WITH_DESTINATION = + "Takes a backup to the cluster’s backup destination (s3-backups). The server version changes right away; the pack is installed only after the backup succeeds."; +const OLD_HELP_WITH_DESTINATION = + "Takes a backup to the cluster’s backup destination (s3-backups) before the change. If the backup fails, nothing changes."; + +describe("ModpackConfirmDialog backup help during a server version change", () => { + it("explains the version changes right away and the pack waits for the backup", () => { + render( + , + ); + expect(screen.getByText(VERSION_CHANGE_WITH_DESTINATION)).toBeInTheDocument(); + expect(screen.queryByText(OLD_HELP_WITH_DESTINATION)).not.toBeInTheDocument(); + }); + + it("keeps the original backup help when the server version stays the same", () => { + render( + , + ); + expect(screen.getByText(OLD_HELP_WITH_DESTINATION)).toBeInTheDocument(); + expect(screen.queryByText(VERSION_CHANGE_WITH_DESTINATION)).not.toBeInTheDocument(); + }); +}); diff --git a/web/src/components/modpack-confirm-dialog_server_restart.test.tsx b/web/src/components/modpack-confirm-dialog_server_restart.test.tsx new file mode 100644 index 000000000..188c018f0 --- /dev/null +++ b/web/src/components/modpack-confirm-dialog_server_restart.test.tsx @@ -0,0 +1,47 @@ +import { describe, it, expect, vi } from "vitest"; +import { render, screen } from "@testing-library/react"; +import { ModpackConfirmDialog } from "./modpack-confirm-dialog"; + +const RESTART_SENTENCE = "The server restarts on the new version right away, before any backup finishes."; + +describe("ModpackConfirmDialog server version restart notice", () => { + it("says the server restarts on the new version before any backup finishes", () => { + render( + , + ); + expect(screen.getByText("The server version changes from Latest · Fabric to 26.1.2 · NeoForge.")).toBeInTheDocument(); + expect(screen.getByText(RESTART_SENTENCE)).toBeInTheDocument(); + }); + + it("shows no restart notice when the server version stays the same", () => { + render( + , + ); + expect(screen.queryByText(RESTART_SENTENCE)).not.toBeInTheDocument(); + }); +}); diff --git a/web/src/components/modpack-confirm-dialog_server_version.test.tsx b/web/src/components/modpack-confirm-dialog_server_version.test.tsx new file mode 100644 index 000000000..2f19a6d29 --- /dev/null +++ b/web/src/components/modpack-confirm-dialog_server_version.test.tsx @@ -0,0 +1,44 @@ +import { describe, it, expect, vi } from "vitest"; +import { render, screen } from "@testing-library/react"; +import { ModpackConfirmDialog } from "./modpack-confirm-dialog"; + +const base = (over: Partial[0]> = {}) => ({ + open: true, + onOpenChange: vi.fn(), + mode: "install" as const, + packTitle: "FTB Evolution 2", + providerLabel: "FTB", + versionName: "1.11.0", + serverName: "test-server-02", + backupAvailable: true, + backupDestination: "s3-backups", + pending: false, + onConfirm: vi.fn(), + ...over, +}); + +const WARNING_TITLE = "The server version changes"; +const WARNING_BODY = "The server version changes from Latest · Fabric to 26.1.2 · NeoForge."; + +describe("ModpackConfirmDialog server version change", () => { + it("shows the version change warning with the current and target versions", () => { + render(); + expect(screen.getByText(WARNING_TITLE)).toBeInTheDocument(); + expect(screen.getByText(WARNING_BODY)).toBeInTheDocument(); + }); + + it("shows no warning when the server version stays the same", () => { + render(); + expect(screen.queryByText(WARNING_TITLE)).not.toBeInTheDocument(); + }); + + it("keeps the warning alongside the downgrade warning", () => { + render( + , + ); + expect(screen.getByText("This is an older version")).toBeInTheDocument(); + expect(screen.getByText(WARNING_TITLE)).toBeInTheDocument(); + }); +}); diff --git a/web/src/components/modpack-version-picker.tsx b/web/src/components/modpack-version-picker.tsx index 5980306e6..a10821824 100644 --- a/web/src/components/modpack-version-picker.tsx +++ b/web/src/components/modpack-version-picker.tsx @@ -30,6 +30,12 @@ export function isOlderThan(versions: RegistryVersion[], candidateId: string, pi return candidate > pinned; } +// serverVersionSwitch returns the server version a pack version needs when it +// differs from the one the server runs now, or undefined when it does not. +export function serverVersionSwitch(v: RegistryVersion, currentVersionId?: string): string | undefined { + return v.serverVersion && v.serverVersion !== currentVersionId ? v.serverVersion : undefined; +} + // versionDetailLine is the second line of a version row: the publish date // (when known) followed by the loader and game version the row matches. function versionDetailLine(v: RegistryVersion, fmt: ReturnType, intl: ReturnType): string { @@ -73,6 +79,8 @@ export function ModpackVersionPicker({ pinnedVersionId, onContinue, confirmLabel, + allLoaders, + currentVersionId, }: { open: boolean; onOpenChange(o: boolean): void; @@ -85,6 +93,11 @@ export function ModpackVersionPicker({ pinnedVersionId?: string; onContinue(v: RegistryVersion, isOlder: boolean): void; confirmLabel?: string; + // Lists every version the server can run (All loaders), not only the ones + // matching its current loader and game version. + allLoaders?: boolean; + // The server's current version entry id; rows that need another one say so. + currentVersionId?: string; }) { const intl = useOptionalIntl(); const fmt = useFormat(); @@ -100,8 +113,8 @@ export function ModpackVersionPicker({ } const versionsQ = useQuery({ - queryKey: resourceKey(target, "modpack-versions", provider, project), - queryFn: ({ signal }) => client.withSignal(signal).Servers.modpackVersions(name, project, provider, ns), + queryKey: resourceKey(target, "modpack-versions", provider, project, allLoaders === true, currentVersionId ?? ""), + queryFn: ({ signal }) => client.withSignal(signal).Servers.modpackVersions(name, project, provider, ns, allLoaders === true), enabled: open, }); @@ -125,7 +138,9 @@ export function ModpackVersionPicker({

- {intl.formatMessage({ id: "web.components.modpack_version_picker.showing_versions", defaultMessage: "Showing versions for {mcLabel}, newest first.", description: "Modpack version picker: explains which Minecraft or game version and loader the listed versions match; {mcLabel} is that label" }, { mcLabel })} + {allLoaders + ? intl.formatMessage({ id: "web.components.modpack_version_picker.showing_all_loaders", defaultMessage: "Showing every version this server can run, newest first.", description: "Modpack version picker: subtitle when All loaders is on; lists every pack version the server can run, whatever loader it needs, newest first" }) + : intl.formatMessage({ id: "web.components.modpack_version_picker.showing_versions", defaultMessage: "Showing versions for {mcLabel}, newest first.", description: "Modpack version picker: explains which Minecraft or game version and loader the listed versions match; {mcLabel} is that label" }, { mcLabel })}

{versionsQ.isPending && (

@@ -137,7 +152,17 @@ export function ModpackVersionPicker({ {errorTextIntl(intl, versionsQ.error, intl.formatMessage({ id: "web.components.modpack_version_picker.load_failed", defaultMessage: "Couldn't load versions.", description: "Modpack version picker: fallback error when the versions of the modpack cannot be loaded" }))}

)} - {versionsQ.isSuccess && versions.length === 0 && ( + {versionsQ.isSuccess && versions.length === 0 && allLoaders && ( +
+

+ {intl.formatMessage({ id: "web.components.modpack_version_picker.no_versions_for_server", defaultMessage: "No versions are available for this server.", description: "Modpack version picker: empty state with All loaders on when the server has no version of the pack to run" })} +

+

+ {intl.formatMessage({ id: "web.components.modpack_version_picker.no_runnable_versions", defaultMessage: "This server can't run any version of this pack.", description: "Modpack version picker: empty state with All loaders on; the server's game version and loader cannot run any version of this pack" })} +

+
+ )} + {versionsQ.isSuccess && versions.length === 0 && !allLoaders && (

{intl.formatMessage({ id: "web.components.modpack_version_picker.no_versions", defaultMessage: "No versions of this pack match {mcLabel}.", description: "Modpack version picker: empty state when the modpack has no version for the server's game version and loader; {mcLabel} is that label" }, { mcLabel })}

@@ -158,6 +183,11 @@ export function ModpackVersionPicker({ {versionDetailLine(v, fmt, intl)} + {serverVersionSwitch(v, currentVersionId) && ( + + {intl.formatMessage({ id: "web.components.modpack_version_picker.runs_on", defaultMessage: "Runs on {serverVersionName}", description: "Modpack version picker: row line naming the server version the pack version needs when it differs from the server's current one; {serverVersionName} is that version's display name" }, { serverVersionName: v.serverVersionName || v.serverVersion || "" })} + + )} {v.id === pinnedVersionId && ( diff --git a/web/src/components/modpack-version-picker_all_loaders.test.tsx b/web/src/components/modpack-version-picker_all_loaders.test.tsx new file mode 100644 index 000000000..6fadef8e9 --- /dev/null +++ b/web/src/components/modpack-version-picker_all_loaders.test.tsx @@ -0,0 +1,107 @@ +import { describe, it, expect, vi } from "vitest"; +import { http, HttpResponse } from "msw"; +import { screen } from "@testing-library/react"; +import { server } from "@/test/server"; +import { renderWithQuery } from "@/test/render"; +import { ModpackVersionPicker, serverVersionSwitch } from "./modpack-version-picker"; +import type { RegistryVersion } from "@/types"; + +const VERSIONS_PATH = "/servers/test/mods/registry/projects/proj-1/versions"; +const ALL_LOADERS_SUBTITLE = "Showing every version this server can run, newest first."; +const MC = "Minecraft 1.21.1 · Fabric"; + +const runsOn: RegistryVersion = { + id: "1", + name: "Pack 1.11.0", + versionNumber: "1.11.0", + gameVersions: ["26.1.2"], + loaders: ["neoforge"], + serverVersion: "neoforge-26", + serverVersionName: "26.1.2 · NeoForge", + files: [], +}; + +const sameAsServer: RegistryVersion = { + id: "2", + name: "Pack 1.10.4", + versionNumber: "1.10.4", + gameVersions: ["1.21.1"], + loaders: ["fabric"], + serverVersion: "latest-fabric", + serverVersionName: "Latest · Fabric", + files: [], +}; + +function mount(props: Partial[0]> = {}) { + const onContinue = vi.fn(); + renderWithQuery( + , + ); + return { onContinue }; +} + +describe("serverVersionSwitch", () => { + it("returns the server version only when it differs from the current one", () => { + expect(serverVersionSwitch(runsOn, "latest-fabric")).toBe("neoforge-26"); + expect(serverVersionSwitch(sameAsServer, "latest-fabric")).toBeUndefined(); + expect(serverVersionSwitch({ ...runsOn, serverVersion: undefined }, "latest-fabric")).toBeUndefined(); + }); +}); + +describe("ModpackVersionPicker All loaders", () => { + it("asks the API for every loader and shows the all-loaders subtitle", async () => { + const seen: (string | null)[] = []; + server.use( + http.get(VERSIONS_PATH, ({ request }) => { + seen.push(new URL(request.url).searchParams.get("allLoaders")); + return HttpResponse.json([runsOn, sameAsServer]); + }), + ); + mount(); + expect(await screen.findByText(ALL_LOADERS_SUBTITLE)).toBeInTheDocument(); + expect(await screen.findByText("Pack 1.11.0")).toBeInTheDocument(); + expect(seen).toEqual(["true"]); + }); + + it("adds a Runs on line only to rows that need another server version", async () => { + server.use(http.get(VERSIONS_PATH, () => HttpResponse.json([runsOn, sameAsServer]))); + mount(); + expect(await screen.findByText("Runs on 26.1.2 · NeoForge")).toBeInTheDocument(); + expect(screen.getAllByText(/^Runs on /)).toHaveLength(1); + }); + + it("keeps the filtered subtitle and no Runs on line when All loaders is off", async () => { + const seen: (string | null)[] = []; + server.use( + http.get(VERSIONS_PATH, ({ request }) => { + seen.push(new URL(request.url).searchParams.get("allLoaders")); + return HttpResponse.json([sameAsServer]); + }), + ); + mount({ allLoaders: false }); + expect(await screen.findByText(`Showing versions for ${MC}, newest first.`)).toBeInTheDocument(); + expect(screen.queryByText(ALL_LOADERS_SUBTITLE)).not.toBeInTheDocument(); + expect(await screen.findByText("Pack 1.10.4")).toBeInTheDocument(); + expect(seen).toEqual([null]); + }); + + it("explains an empty list when the server can run no version of the pack", async () => { + server.use(http.get(VERSIONS_PATH, () => HttpResponse.json([]))); + mount(); + expect(await screen.findByText("No versions are available for this server.")).toBeInTheDocument(); + expect(screen.getByText("This server can't run any version of this pack.")).toBeInTheDocument(); + expect(screen.getByRole("button", { name: "Continue" })).toBeDisabled(); + }); +}); diff --git a/web/src/components/registry-browser.tsx b/web/src/components/registry-browser.tsx index 56bfbf088..a566644ec 100644 --- a/web/src/components/registry-browser.tsx +++ b/web/src/components/registry-browser.tsx @@ -11,6 +11,7 @@ import { SelectPopover, ListBox, ListBoxItem, + Switch, Tabs, Tab, } from "@heroui/react"; @@ -81,6 +82,9 @@ export function RegistryBrowser({ categories, renderItem, pillButtons, + allLoaders, + onAllLoadersChange, + hasAllLoaders, }: { name: string; ns?: string; @@ -88,6 +92,12 @@ export function RegistryBrowser({ categories?: { value: string; label: string }[]; renderItem: (project: RegistryProject, provider: string) => ReactNode; pillButtons?: boolean; + // All loaders (modpacks only): when on, search ignores the server's loader + // and game version. The toggle shows only for providers hasAllLoaders accepts + // (env-mode registries); the caller owns the state. + allLoaders?: boolean; + onAllLoadersChange?: (on: boolean) => void; + hasAllLoaders?: (provider: string) => boolean; }) { const intl = useOptionalIntl(); const target = useResourceTarget({ name, namespace: ns }); @@ -124,9 +134,13 @@ export function RegistryBrowser({ // Fall back to the first available provider until one is picked (or if a // stale pick is no longer offered). const provider = picked && available.some((p) => p.provider === picked) ? picked : available[0]?.provider; + // The All loaders switch applies to modpack browsing of env-mode providers only. + const showAllLoaders = + type === "modpack" && !!provider && !!onAllLoadersChange && !!hasAllLoaders?.(provider); + const allLoadersOn = showAllLoaders && allLoaders === true; const q = useInfiniteQuery({ - queryKey: resourceKey(target, "registry", type ?? "mod", provider, debounced, sort, category), + queryKey: resourceKey(target, "registry", type ?? "mod", provider, debounced, sort, category, allLoadersOn), initialPageParam: 0, enabled: !!provider, // Keep the previous results on screen while a new search/sort/category @@ -144,6 +158,7 @@ export function RegistryBrowser({ // A search term ranks by relevance; an empty browse uses the chosen sort. sort: debounced ? undefined : sort, category, + allLoaders: allLoadersOn, limit: PAGE, offset: pageParam, }, @@ -221,9 +236,9 @@ export function RegistryBrowser({ - {showChips && ( -
- {[{ value: "", label: intl.formatMessage({ id: "web.components.registry_browser.all_categories", defaultMessage: "All", description: "Registry browser: category chip that clears the category filter" }) }, ...(categories ?? [])].map((c) => { + {(showChips || showAllLoaders) && ( +
+ {showChips && [{ value: "", label: intl.formatMessage({ id: "web.components.registry_browser.all_categories", defaultMessage: "All", description: "Registry browser: category chip that clears the category filter" }) }, ...(categories ?? [])].map((c) => { const active = category === c.value; if (!chipsInteractive) { return ( @@ -266,6 +281,21 @@ export function RegistryBrowser({ ); })} + {showAllLoaders && ( + onAllLoadersChange?.(next)} + aria-label={intl.formatMessage({ id: "web.components.registry_browser.all_loaders", defaultMessage: "All loaders", description: "Registry browser: switch label that lists modpack versions for every loader and game version the server can run, not only the server's own" })} + className="flex items-center gap-2" + > + + + + + {intl.formatMessage({ id: "web.components.registry_browser.all_loaders", defaultMessage: "All loaders", description: "Registry browser: switch label that lists modpack versions for every loader and game version the server can run, not only the server's own" })} + + + )}
)} diff --git a/web/src/components/registry-browser_all_loaders.test.tsx b/web/src/components/registry-browser_all_loaders.test.tsx new file mode 100644 index 000000000..5685c6b9f --- /dev/null +++ b/web/src/components/registry-browser_all_loaders.test.tsx @@ -0,0 +1,102 @@ +import { describe, it, expect, vi } from "vitest"; +import { http, HttpResponse } from "msw"; +import { screen, waitFor } from "@testing-library/react"; +import userEvent from "@testing-library/user-event"; +import { server } from "@/test/server"; +import { QueryClientProvider } from "@tanstack/react-query"; +import { renderWithQuery } from "@/test/render"; +import { RegistryBrowser } from "./registry-browser"; + +const SWITCH_NAME = "All loaders"; + +function providersHandler() { + return http.get("/servers/test/mods/registry/providers", () => + HttpResponse.json([ + { provider: "modrinth", available: true, mods: true, modpacks: true }, + { provider: "ftb", available: true, mods: false, modpacks: true }, + ]), + ); +} + +describe("RegistryBrowser All loaders", () => { + it("shows the switch only for providers the caller allows", async () => { + server.use( + providersHandler(), + http.get("/servers/test/mods/registry/search", () => HttpResponse.json([])), + ); + renderWithQuery( + null} + allLoaders={false} + onAllLoadersChange={vi.fn()} + hasAllLoaders={(p) => p === "modrinth"} + />, + ); + expect(await screen.findByRole("switch", { name: SWITCH_NAME })).not.toBeChecked(); + await userEvent.click(screen.getByRole("tab", { name: "FTB" })); + await waitFor(() => expect(screen.queryByRole("switch", { name: SWITCH_NAME })).not.toBeInTheDocument()); + }); + + it("hides the switch for mod browsing even when a caller passes the props", async () => { + server.use( + providersHandler(), + http.get("/servers/test/mods/registry/search", () => HttpResponse.json([])), + ); + renderWithQuery( + null} + allLoaders={true} + onAllLoadersChange={vi.fn()} + hasAllLoaders={() => true} + />, + ); + // Only Modrinth browses mods here, so no tab bar; wait for the search to settle. + await screen.findByText("No results."); + expect(screen.queryByRole("switch", { name: SWITCH_NAME })).not.toBeInTheDocument(); + }); + + it("sends allLoaders=true on search only while the switch is on", async () => { + const allLoadersParams: (string | null)[] = []; + server.use( + providersHandler(), + http.get("/servers/test/mods/registry/search", ({ request }) => { + allLoadersParams.push(new URL(request.url).searchParams.get("allLoaders")); + return HttpResponse.json([]); + }), + ); + const onAllLoadersChange = vi.fn(); + const { rerender, client } = renderWithQuery( + null} + allLoaders={false} + onAllLoadersChange={onAllLoadersChange} + hasAllLoaders={() => true} + />, + ); + await waitFor(() => expect(allLoadersParams).toEqual([null])); + + await userEvent.click(await screen.findByRole("switch", { name: SWITCH_NAME })); + expect(onAllLoadersChange).toHaveBeenLastCalledWith(true); + + rerender( + + null} + allLoaders={true} + onAllLoadersChange={onAllLoadersChange} + hasAllLoaders={() => true} + /> + , + ); + await waitFor(() => expect(allLoadersParams).toContain("true")); + expect(screen.getByRole("switch", { name: SWITCH_NAME })).toBeChecked(); + }); +}); diff --git a/web/src/lib/endpoints.ts b/web/src/lib/endpoints.ts index 7f1b8d67f..791d81275 100644 --- a/web/src/lib/endpoints.ts +++ b/web/src/lib/endpoints.ts @@ -835,6 +835,8 @@ function makeResourceEndpoints(request: RequestClient, expectedUID?: string) { category?: string; limit?: number; offset?: number; + // Modpacks only: drop the server's loader and game version filter. + allLoaders?: boolean; } = {}, ns?: string, ) => { @@ -844,6 +846,7 @@ function makeResourceEndpoints(request: RequestClient, expectedUID?: string) { if (opts.type) p.set("type", opts.type); if (opts.sort) p.set("sort", opts.sort); if (opts.category) p.set("category", opts.category); + if (opts.allLoaders) p.set("allLoaders", "true"); p.set("limit", String(opts.limit ?? 24)); if (opts.offset) p.set("offset", String(opts.offset)); return api(withNS(`/servers/${name}/mods/registry/search?${p.toString()}`, ns)); @@ -875,11 +878,14 @@ function makeResourceEndpoints(request: RequestClient, expectedUID?: string) { removeModpack: (name: string, backupFirst: boolean, ns?: string) => api(withNS(`/servers/${name}/modpack?backupFirst=${backupFirst}`, ns), { method: "DELETE" }), // Versions of a modpack, pre-filtered server-side to the MC version and loader (newest first). - modpackVersions: (name: string, project: string, provider: string, ns?: string) => + // allLoaders lists every version the server could run, each with the + // server version entry it needs (serverVersion, serverVersionName). + modpackVersions: (name: string, project: string, provider: string, ns?: string, allLoaders?: boolean) => api( withNS( `/servers/${name}/mods/registry/projects/${encodeURIComponent(project)}/versions` + - `?provider=${encodeURIComponent(provider)}&type=modpack`, + `?provider=${encodeURIComponent(provider)}&type=modpack` + + (allLoaders ? "&allLoaders=true" : ""), ns, ), ), diff --git a/web/src/routes/tabs/Modpacks.tsx b/web/src/routes/tabs/Modpacks.tsx index 740aab4af..107bbca6c 100644 --- a/web/src/routes/tabs/Modpacks.tsx +++ b/web/src/routes/tabs/Modpacks.tsx @@ -12,7 +12,7 @@ import { activeVersion } from "@/lib/capabilities"; import { RegistryBrowser, RegistryIcon, compactNum, providerLabel } from "@/components/registry-browser"; import { ModpackActiveCard } from "@/components/modpack-active-card"; import { ModpackMissingFiles } from "@/components/modpack-missing-files"; -import { ModpackVersionPicker } from "@/components/modpack-version-picker"; +import { ModpackVersionPicker, serverVersionSwitch } from "@/components/modpack-version-picker"; import { ModpackConfirmDialog } from "@/components/modpack-confirm-dialog"; import { useOptionalIntl } from "@/lib/i18n/format"; import { defineMessages, type IntlShape, type MessageDescriptor } from "react-intl"; @@ -21,7 +21,8 @@ type Banner = { kind: "ok" | "err"; text: string }; // A modpack chosen in the registry browser, waiting for a version pick. // change is true when the picker switches the pack already on the server. -type PickerState = { provider: string; project: string; title: string; pinnedVersionId?: string; change?: boolean }; +// allLoaders lists every version the server can run (install only). +type PickerState = { provider: string; project: string; title: string; pinnedVersionId?: string; change?: boolean; allLoaders?: boolean }; // A chosen version waiting for confirmation. mode is decided by the caller. type ConfirmState = { @@ -94,6 +95,8 @@ export function ModpacksTab({ const [picker, setPicker] = useState(null); const [confirm, setConfirm] = useState(null); const [confirmRemove, setConfirmRemove] = useState(false); + // All loaders toggle for the browser; off by default. + const [allLoaders, setAllLoaders] = useState(false); const modpackKey = resourceKey(resourceTarget, "modpack", name, ns); const serverKey = resourceKey(resourceTarget, "server", name, ns); @@ -117,6 +120,11 @@ export function ModpacksTab({ ? intl.formatMessage({ id: "web.routes.tabs.modpacks.minecraft_version", defaultMessage: "Minecraft {version}", description: "Modpacks: label for the server's Minecraft version in the active modpack card; {version} is the version number" }, { version: gv.gameVersion }) : ""; const mcLabel = [mcVersionLabel, loaderLabel].filter(Boolean).join(" · "); + // The server's current version entry; picks that need another one switch it. + // A stale spec.version matches no entry, and the server then runs the + // template's default entry, so that is the version the switch is measured from. + const currentVersion = gv ?? tmpl?.spec.versions?.find((v) => v.default) ?? tmpl?.spec.versions?.[0]; + const currentVersionId = currentVersion?.id; const installMut = useMutation({ mutationFn: (body: ModpackInstallBody) => Servers.installModpack(name, body, ns), @@ -125,6 +133,10 @@ export function ModpacksTab({ void qc.invalidateQueries({ queryKey: ["fleet"] }); setConfirm(null); setBanner({ kind: "ok", text: intl.formatMessage({ id: "web.routes.tabs.modpacks.banner_set", defaultMessage: "Set modpack {title}. The server is restarting to install it.", description: "Modpacks: banner shown after a modpack is set on the server; {title} is the modpack title" }, { title: body.title ?? body.project }) }); + void qc.invalidateQueries({ predicate: (q) => q.queryKey.includes("modpack-versions") }); + if (body.serverVersion) { + void qc.invalidateQueries({ queryKey: resourceKey(resourceTarget, "registry-providers") }); + } return qc.invalidateQueries({ queryKey: serverKey }); }, }); @@ -169,7 +181,7 @@ export function ModpacksTab({ const install = (p: RegistryProject, provider: string) => { if (declFor(provider)?.modpacks?.refEnv) { const project = p.slug || p.id; - setPicker({ provider, project, title: p.title, pinnedVersionId: pinnedFor(provider, project) }); + setPicker({ provider, project, title: p.title, pinnedVersionId: pinnedFor(provider, project), allLoaders }); return; } installDeps.mutate({ p, provider }); @@ -204,6 +216,13 @@ export function ModpacksTab({ const showSubtitleNew = hasEnvMode; + // Set when the picked pack version needs a different server version. + const switchTo = confirm ? serverVersionSwitch(confirm.version, currentVersionId) : undefined; + const serverVersionChange = + confirm && switchTo + ? { from: currentVersion?.displayName || currentVersion?.id || server?.spec.version || "", to: confirm.version.serverVersionName || switchTo } + : undefined; + return (
{view?.active && ( @@ -253,6 +272,9 @@ export function ModpacksTab({ type="modpack" categories={MODPACK_CATEGORIES.map((c) => ({ value: c.value, label: intl.formatMessage(c.label) }))} pillButtons={true} + allLoaders={allLoaders} + onAllLoadersChange={setAllLoaders} + hasAllLoaders={(p) => !!declFor(p)?.modpacks?.refEnv} renderItem={(p, provider) => { const envMode = !!declFor(provider)?.modpacks?.refEnv; return ( @@ -305,6 +327,8 @@ export function ModpacksTab({ title={picker.title} mcLabel={mcLabel} pinnedVersionId={picker.pinnedVersionId} + allLoaders={picker.allLoaders === true} + currentVersionId={currentVersionId} confirmLabel={picker.change ? intl.formatMessage({ id: "web.routes.tabs.modpacks.continue", defaultMessage: "Continue", description: "Modpacks: button that continues from the version picker to the confirmation step" }) : undefined} onContinue={(v, isOlder) => onPicked(picker, v, isOlder)} /> @@ -326,6 +350,7 @@ export function ModpacksTab({ backupDestination={view?.backupDestination} pending={installMut.isPending} error={installMut.error ? errMsg(installMut.error, intl) : undefined} + serverVersionChange={serverVersionChange} onConfirm={({ backupFirst }) => installMut.mutate({ provider: confirm.provider, @@ -334,6 +359,8 @@ export function ModpacksTab({ title: confirm.title, versionName: versionNameOf(confirm.version), backupFirst, + // Sent only when the server must switch version; otherwise the body is unchanged. + ...(switchTo ? { serverVersion: switchTo } : {}), }) } /> diff --git a/web/src/routes/tabs/Modpacks_all_loaders.test.tsx b/web/src/routes/tabs/Modpacks_all_loaders.test.tsx new file mode 100644 index 000000000..2b500b134 --- /dev/null +++ b/web/src/routes/tabs/Modpacks_all_loaders.test.tsx @@ -0,0 +1,151 @@ +import { ResourceTargetProvider } from "@/lib/resourceTarget"; +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { fireEvent, screen, waitFor } from "@testing-library/react"; +import { renderWithQuery as baseRenderWithQuery } from "@/test/render"; +import { ModpacksTab } from "./Modpacks"; +import type { GameTemplate, ModpackView, RegistryProject, RegistryVersion } from "@/types"; + +// All loaders on the Modpacks tab: the toggle reaches the search and picker +// requests, a pack version that needs another server version shows the +// warning, and the install body carries serverVersion only then. + +const fetchMock = vi.fn(); +beforeEach(() => { + vi.stubGlobal("fetch", fetchMock); +}); +afterEach(() => { + fetchMock.mockReset(); + vi.unstubAllGlobals(); +}); + +function jsonRes(body: unknown, status = 200): Response { + return new Response(JSON.stringify(body), { status, headers: { "Content-Type": "application/json" } }); +} + +const operator = { + id: 1, username: "u", displayName: "U", email: "", role: "operator", + permissions: { "*": ["servers:read", "servers:write"] }, +}; + +const pack: RegistryProject = { + id: "ftb-135", slug: "135", title: "FTB Evolution 2", author: "FTB Team", downloads: 1200000, provider: "ftb" as "modrinth", +}; + +// Runs on a NeoForge entry, not on the server's own Fabric entry. +const neoforgeVersion: RegistryVersion = { + id: "1.11.0", + name: "FTB Evolution 2 · 1.11.0", + versionNumber: "1.11.0", + gameVersions: ["26.1.2"], + loaders: ["neoforge"], + releaseType: "release", + serverVersion: "neoforge-26", + serverVersionName: "26.1.2 · NeoForge", + files: [], +}; + +const baseView: ModpackView = { + active: null, + phase: "", + message: "", + backupName: "", + keyShared: true, + missingFiles: [], + missingFilesUnknown: false, + downloadsPath: "/data/mods-downloads", + backupAvailable: true, +}; + +const posts: unknown[] = []; +const allLoadersSeen: (string | null)[] = []; + +function route() { + fetchMock.mockImplementation((url: string, init?: { method?: string; body?: string }) => { + const method = init?.method ?? "GET"; + if (url.endsWith("/users/me")) return Promise.resolve(jsonRes(operator)); + if (url.includes("/mods/registry/providers")) { + return Promise.resolve(jsonRes([{ provider: "ftb", available: true, modpacks: true }])); + } + if (url.includes("/mods/registry/search")) return Promise.resolve(jsonRes([pack])); + if (url.includes("/versions?")) { + allLoadersSeen.push(new URL(url, "http://x").searchParams.get("allLoaders")); + return Promise.resolve(jsonRes([neoforgeVersion])); + } + if (url.endsWith("/servers/s1")) return Promise.resolve(jsonRes({ metadata: { name: "s1" }, spec: {} })); + if (url.includes("/servers/s1/modpack") && method === "POST") { + posts.push(JSON.parse(init?.body ?? "{}")); + return Promise.resolve(jsonRes({ ...baseView, phase: "BackingUp" }, 202)); + } + if (url.includes("/servers/s1/modpack")) return Promise.resolve(jsonRes(baseView)); + return Promise.resolve(jsonRes({})); + }); +} + +// The server runs its template default, a Fabric entry. +function fabricTmpl(): GameTemplate { + return { + metadata: { name: "t" }, + spec: { + displayName: "T", game: "g", version: "1", image: "img", + versions: [ + { id: "latest-fabric", displayName: "Latest · Fabric", loader: "fabric", gameVersion: "1.21.1", default: true }, + ], + capabilities: { + mods: { + loaders: { fabric: { path: "mods" } }, + registry: { providers: [{ provider: "ftb" as "modrinth", modpacks: { refEnv: "FTB_MODPACK" } }] }, + }, + }, + }, + }; +} + +function renderTab() { + return baseRenderWithQuery( + + + , + ); +} + +describe("Modpacks All loaders", () => { + it("installs a pack version that needs another server version, after the warning", async () => { + posts.length = 0; + allLoadersSeen.length = 0; + route(); + renderTab(); + + fireEvent.click(await screen.findByRole("switch", { name: "All loaders" })); + fireEvent.click(await screen.findByRole("button", { name: "Install…" })); + + expect(await screen.findByText("Showing every version this server can run, newest first.")).toBeInTheDocument(); + expect(await screen.findByText("Runs on 26.1.2 · NeoForge")).toBeInTheDocument(); + expect(allLoadersSeen).toContain("true"); + + fireEvent.click(screen.getByRole("button", { name: "Continue" })); + expect(await screen.findByText("The server version changes")).toBeInTheDocument(); + expect(screen.getByText("The server version changes from Latest · Fabric to 26.1.2 · NeoForge.")).toBeInTheDocument(); + + fireEvent.click(screen.getByRole("button", { name: "Install and restart" })); + await waitFor(() => + expect(posts).toEqual([ + { + provider: "ftb", + project: "135", + version: "1.11.0", + title: "FTB Evolution 2", + versionName: "FTB Evolution 2 · 1.11.0", + backupFirst: true, + serverVersion: "neoforge-26", + }, + ]), + ); + }); +}); diff --git a/web/src/types.ts b/web/src/types.ts index b979ebd38..92e59f42a 100644 --- a/web/src/types.ts +++ b/web/src/types.ts @@ -166,6 +166,9 @@ export interface ModpackInstallBody { title?: string; versionName?: string; backupFirst?: boolean; + // Template version id the server should run after the install, set only + // when the picked pack version needs a different server version. + serverVersion?: string; } export interface CurseForgeShare { @@ -353,6 +356,10 @@ export interface RegistryVersion { releaseType?: "release" | "beta" | "alpha"; // RFC 3339 publish time; absent when unknown. publishedAt?: string; + // All-loaders browse only: the template version entry (id and display name) + // the server runs to host this pack version. Absent otherwise. + serverVersion?: string; + serverVersionName?: string; files: RegistryFile[]; }