Skip to content

dedupe plain vs page-session grouping helpers in ui-kit-chat #456

Closed

Description

@omridevk

packages/ui-kit-chat/src/store/grouping.ts keeps parallel helper sets for plain and page-session grouping (standalone placement, result folding, chain placement). During #437 both codex review rounds noted the duplication had already drifted structurally and required the order-independence fix twice. Share paired-result/standalone classification between the two paths.

🤖 Generated with Claude Code

Activity

  1. added
    refactor
    on Aug 13, 2026
  2. omridevk commented on Aug 14, 2026

    @omridevk
    ContributorAuthor

    Resolved structurally by #483: grouping is now a single data-derived pipeline — createPageSessionGrouper starts from defaultGrouper's basePaths and only rewrites in-session parts, so standalone/reply/chain classification exists once and the parallel helper sets are gone.

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

    refactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions