Repository navigation
Owner page built around retention; Getting started becomes the return loop - #144
Merged
Merged
Conversation
The console Admin page is replaced by an Owner scene at /owner (owner only):
- Retention first: people signed up, new this week, came back on another day,
used it this week and today; a sign-up-to-habit funnel; weekly cohorts.
- People table, most recently seen first, with filters (active this week, came
once, unverified, banned), search, days used, plan, Nexus/app use, a 60-day
activity strip per person, ban/unban and CSV export.
- One inbox for plan requests, account deletion requests, feedback and errors.
- Site banner and ban list.
To measure return visits, the Deck records the dates it was opened (last 60 days)
and a count of such days on users/{uid}, at most one write a day.
Getting started on the Overview becomes the return loop: check your domain,
have Darknode watch it (alert emails), turn on the Monday summary.
The old admin page code, the Preview UI and the usage list are archived under
unused-stuff/owner-console/. Docs Privacy, the TOS data list and the changelog
mention the new dates.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The old Owner console was a list of panels. It showed only the last time each person was seen, so there was no way to tell who came back from who signed up once. Getting started asked for setup chores (name the workspace, connect an AI key) instead of the things that bring people back.
What changed
Owner page (Deck scene
owner,/owner, owner only)/adminlink goes here too.Activity days
launch.jsrecords today inusers/{uid}:recentDays: UTC dates, last 60 days;activeDays: an increment;lastActiveDay.core/active-days.js. The existing rules allow these fields (noPrivEscalation), which was verified live.Getting started
Removed / archived
unused-stuff/owner-console/: the old admin page code,preview-ui.jsandadmin-usage.js, plus their 5 tests.public/js/admin.jskeepsgetWhitelistand the Deck launcher re-exports.Copy
explain.jsgetsscene.owner, and the hosting rewrites are synced.Verified
npm test: 5215 pass, including the new tests for retention maths and activity days.recentDays,activeDays: 1);/ownerand/adminas a non-owner went to the Overview, with no nav or menu entry.