⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@tiye
Copy link
Member

@tiye tiye commented Jan 15, 2026

No description provided.

@tiye tiye requested review from a team and Copilot January 15, 2026 17:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades dependencies and adds a "copy yesterday" feature to the diary application. The upgrade includes JavaScript build tools (rollup, vite) and Calcit ecosystem packages, while the new feature allows users to reuse their previous day's diary entry.

Changes:

  • Upgraded @calcit/procs (0.10.4 → 0.10.9), rollup (4.54.0 → 4.55.1), and vite (7.3.0 → 7.3.1)
  • Added "Like last day" button that copies yesterday's diary data when food and pains fields are empty
  • Extensive documentation updates in llms/ directory covering Respo event handling and Calcit CLI workflows

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
yarn.lock Updated JavaScript dependencies with new versions and added @rollup/rollup-openbsd-x64 platform support
package.json Updated @calcit/procs and vite dependencies to match yarn.lock
deps.cirru Updated calcit-version and pinned some Respo packages to specific versions
compact.cirru Added copy-yesterday function, UI button with conditional display, and dispatch handler; added :about metadata
llms/Respo.md Removed Chinese troubleshooting section; added component listener and event handling documentation
llms/Calcit.md Extensive documentation improvements including CLI workflows, type annotations, and best practices

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

{}
:year $ dec year
:month 12
:day 31
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

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

Hardcoded 31 days for December of the previous year will fail for leap year February transitions. When going from January 1st to December 31st of the previous year, if that year's February was a leap year, the logic should calculate days using get-days-by. Consider using app.util/get-days-by (dec year) 12 instead of hardcoding 31.

Suggested change
:day 31
:day $ app.util/get-days-by year 12

Copilot uses AI. Check for mistakes.
{} $ :class-name css/row-middle
when
and (blank? (:food diary)) (blank? (:pains diary))
button $ {} (:class-name css/button) (:inner-text "|Like last day")
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

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

The button text 'Like last day' is ambiguous. Consider renaming to 'Copy from yesterday' or 'Reuse yesterday's entry' to make the action clearer to users.

Suggested change
button $ {} (:class-name css/button) (:inner-text "|Like last day")
button $ {} (:class-name css/button) (:inner-text "|Copy from yesterday")

Copilot uses AI. Check for mistakes.
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.

2 participants