Skip to content

Mobile app lists the threads of Buddy's project #228

Open

Description

@immakermatty

The mobile app lists the threads of Buddy's project, which the web keeps out of every list (#214).

What happens. On an Environment with T3CODE_LAZURIO_BUDDY_FOLDER, the web leaves the threads of Buddy's project out of lists, the archive, pull request rows, sounds, toasts and system notifications. A point read by link still opens them. The mobile app does none of this: it lists them like any other thread.

Why, in code (the v0.1.10 candidate #222 at 9b7c1c11; main at faae02aa is the same in substance):

  • apps/web/src/state/threads.ts:45 passes unlistedProjectIdsAtom: environmentProjects.unlistedProjectIdsAtom to createEnvironmentThreadShellAtoms. packages/client-runtime/src/state/threadShell.ts:266 and :694 take it as optional: without it, no project is unlisted.
  • apps/mobile/src/state/threads.ts:45-49 and :62-66 build the same atoms without it, so listHiddenThreadKeysAtom and the listed shells hide nothing of Buddy's project. The mobile home list (apps/mobile/src/features/home/useThreadListActions.ts) reads these shells.

Decision needed. Row 32's commit says "The web leaves…", so the current scope is the web only, as designed in #214. If Buddy's project should also stay out of the mobile app's lists, that is a new overlay seam in apps/mobile/src/state/threads.ts (and its allowlist entry and contract pin), with a test that fails without it. Not part of the v0.1.10 rebuild (#213, #222).

Found by the independent audit of #222 at head 35196466.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · bot c59bfd74-62a6-4eaa-88dd-5e19f1b3032e

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions