From 9d8201639958ff72e09188a2d89c8bec12a30faa Mon Sep 17 00:00:00 2001 From: Padreug Date: Tue, 9 Jun 2026 20:05:15 +0200 Subject: [PATCH] =?UTF-8?q?rename:=20hubActivitiesUrl=20=E2=86=92=20hubEve?= =?UTF-8?q?ntsUrl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The activities module in webapp was renamed to events (aiolabs/webapp#94). The corresponding hub-URL option here is the env that drives src/pages/Hub.vue's "Events" chakra tile. Renames: - Option: `hubActivitiesUrl` → `hubEventsUrl` - Env passed to vite: `VITE_HUB_ACTIVITIES_URL` → `VITE_HUB_EVENTS_URL` - Example URL: `/sortir/` → `/events/` No backwards compatibility shim — hosts using `services.webapp .hubActivitiesUrl = "…"` will need to switch to `hubEventsUrl` in the same change as their flake-input bump. Coordinated downstream: - aiolabs/server-deploy: standalones.nix `hubUrlOption` maps `events → "hubEventsUrl"` (no more "historical naming" comment). - aiolabs/webapp PR #94: `VITE_HUB_EVENTS_URL` consumed by `src/pages/Hub.vue` and documented in `.env.example`. Co-Authored-By: Claude Opus 4.7 (1M context) --- webapp.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp.nix b/webapp.nix index 5c8d820..e6b8c90 100644 --- a/webapp.nix +++ b/webapp.nix @@ -67,7 +67,7 @@ let # hubMarketUrl = "https://market.example.com"; # When unset (empty string), the corresponding chakra renders ghosted # (non-link) — useful for hosts that don't deploy a given module. - VITE_HUB_ACTIVITIES_URL = cfg.hubActivitiesUrl; + VITE_HUB_EVENTS_URL = cfg.hubEventsUrl; VITE_HUB_LIBRA_URL = cfg.hubLibraUrl; VITE_HUB_WALLET_URL = cfg.hubWalletUrl; VITE_HUB_CHAT_URL = cfg.hubChatUrl; @@ -245,11 +245,11 @@ in { # Empty string = tile rendered ghosted (no link). Set per-host based on # whether each standalone is deployed and on the deployment shape # (path-mode → trailing slash recommended; subdomain-mode → no path). - hubActivitiesUrl = lib.mkOption { + hubEventsUrl = lib.mkOption { type = lib.types.str; default = ""; - example = "https://demo.example.com/sortir/"; - description = "URL the chakra hub's Activities tile links to"; + example = "https://demo.example.com/events/"; + description = "URL the chakra hub's Events tile links to"; }; hubLibraUrl = lib.mkOption { type = lib.types.str;