rename: hubActivitiesUrl → hubEventsUrl
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) <noreply@anthropic.com>
This commit is contained in:
parent
33bc06440e
commit
9d82016399
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue