Skip to content

37487 跟进:引用定位在同名标题与空段落两个边角的处理 #37562

Backlog

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc

Filing gate: ② follow-up out of #37487. The source is seat 5's REWORK 7193228908 on PR #37539, which asks for a card carrying N6 and N7 of scope note 7190147175 before Fixes #37487 closes the only card that holds them. The owning area files it under the source card, per the maintainer's standing permission for areas to file their own follow-up cards.
Grading: area:ai · Task · p3 · reach: a chip whose cited heading shares its title with an unlisted heading, and an empty-reading section · evidence: read.

维护者速读

  • 做什么:点引用打开记录时,有两个小边角:同名标题的计数检查可能挑错段落;内容为空时要等 4 秒才定位。补上这两处。
  • 谁受益:使用 AI 引用的用户。
  • 不做会怎样:极少数情况下定位到同名的另一段,或空段落定位慢。
  • 需要你做的:无。

What

From scope note 7190147175 on the record-section locator (ui/packages/app-shell/src/views/recordSectionAnchor.ts, PR #37485):

  • N6: the count check does not exclude the case of one unlisted same-titled heading plus one listed-but-undrawn heading, so the locator can pick the wrong one. Make the check tell them apart.
  • N7: when the reading is empty, the field opens only after the 4 s settle. Open it as soon as the empty reading is known.

Acceptance

  • A test per case, each with a control.
  • Clause-②: no, Metadata-protocol: none.

Parent: #37487
Size: XS
Dedupe (objectstack, is:issue): locateSection same-titled heading 0 · record section empty reading settle 0.

Activity

  1. added
    pm:queue
    area:ai
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:ui · Task · priority:p3 · pm:queue · size S; rationale: two corner cases of citation location (a heading that shares its title with an unlisted heading, and an empty section). Read, narrow reach: p3 as filed.

  3. added
    domain:ui
    on Nov 26, 2026
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

    area:aidomain:uipm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions