Skip to content

feat(chat): show Weekly report in For you now, with the day its job runs next - #2213

Merged
gkhngyk merged 9 commits into
ansvisor:mainfrom
cihan-gyk:feature/for-you-now-jobs
Nov 7, 2026
Merged

gkhngyk merged 9 commits into
ansvisor:mainfrom
cihan-gyk:feature/for-you-now-jobs

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

#1889 (W2-05) left Quality pass and Weekly report out of Chat Home's For you now until their data existed. Scheduled jobs have now merged (W3-01 to W3-04b), so Weekly report joins the jobs, as CHAT-08 v2's mockup has it: "Weekly report · Mon".

What it reads

  • readHomeShortcuts also reads, as the person, when their own Weekly report job for the brand runs next: a recurring /report job that is on, within the next 7 days.
  • Reports taken off the person's menu hides it, as for the other jobs. A failed read hides the jobs.

The chip

  • Carries that run's weekday in the person's time zone, such as Weekly report · Mon.
  • Clicking it asks "/report Write this week's report on our AI visibility." in a new chat.
  • It only reads, so read-only roles get it too.
  • With a focus picked, the seo area's Weekly report shortcut carries the same day.

Still waiting: Quality pass. Drafts' Quality scores are worked out in the editor and never kept, so nothing can count drafts under 60 yet.

Note: since #2183 (00485), For you now shows only where Chat Home has a focus, not on the Default view, so the chip shows there too.

Help: help/chat/chat.md's For you now paragraph. Since you left gets its own section, so the Chat Home section stays within 150 words.

Related issue

None. Follow-up to #1889 (W2-05).

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

With CHAT_AGENTIC=true:

  1. In Chat › Scheduled, have a recurring Weekly report job (/report) for the brand that is on and runs within the next 7 days.
  2. Open Chat Home and select Edit under the greeting; pick an area and select Continue (the Default view hides For you now).
  3. For you now shows Weekly report · and the weekday of the next run, in your time zone.
  4. Click it. A new chat starts with "/report Write this week's report on our AI visibility."
  5. Turn the job off in Scheduled and reload Home. The chip is gone.
  6. Sign in with a read-only role. The chip still shows.
  7. Check dark mode and 1024 px.

Screenshots

Not taken for this PR yet. They can be added on request.

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/)
  • yarn typecheck passes (run from web/)
  • yarn format:check passes (run from web/)
  • Changes are focused — one concern per PR
  • Help article updated under help/ (or no user-visible change) — see help/README.md

No migration, no server change. Web only.

CI passed on this branch (0ddeae8), run on the fork (https://github.com/cihan-gyk/ansvisor/actions/runs/42258356633): schema is up to date; web format:check, lint, typecheck, all tests and yarn build pass; server lint, format:check and all tests pass.

🤖 Generated with Claude Code

claude and others added 4 commits November 5, 2026 21:41
…uns next

ansvisor#1889 (W2-05) left Quality pass and Weekly report out of Chat Home's
For you now until their data existed. Scheduled jobs have merged
(W3-01 to W3-04b), so Weekly report joins the jobs, as CHAT-08 v2's
mockup has it: "Weekly report · Mon".

- readHomeShortcuts also reads, as the person, when their own Weekly
  report job for the brand runs next: a recurring /report job that is
  on, within the next 7 days. Reports taken off their menu hides it,
  as for the other jobs; a failed read hides the jobs.
- The chip carries that run's weekday in the person's time and asks
  "/report Write this week's report on our AI visibility." in a new
  chat. It only reads, so read-only roles get it too. With a focus
  picked, the seo area's Weekly report shortcut carries the same day.

Quality pass still waits: drafts' Quality scores are worked out in the
editor and never kept, so nothing can count drafts under 60.

Help: help/chat/chat.md's For you now paragraph; Since you left gets
its own section so Chat Home stays within 150 words.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SvzkMf5TZg7yqwaSeMFba9
…-jobs

Conflict: help/chat/chat.md keywords (main's governance words and this
branch's weekly report, both kept).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-jobs

Conflict: web/src/components/chat/chat-home.tsx (main's Default view, which
keeps For you now off it, and this branch's nextReport on For you now, both kept).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
gkhngyk
gkhngyk previously approved these changes Nov 6, 2026

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

gkhngyk
gkhngyk previously approved these changes Nov 6, 2026

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

gkhngyk
gkhngyk previously approved these changes Nov 7, 2026

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

gkhngyk
gkhngyk previously approved these changes Nov 7, 2026

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@gkhngyk
gkhngyk merged commit 6469d00 into ansvisor:main Nov 7, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants