Skip to content

Develop#412

Merged
CropWatchDevelopment merged 2 commits into
masterfrom
develop
May 21, 2026
Merged

Develop#412
CropWatchDevelopment merged 2 commits into
masterfrom
develop

Conversation

@CropWatchDevelopment
Copy link
Copy Markdown
Owner

No description provided.

CropWatchDevelopment and others added 2 commits May 21, 2026 01:43
Remove named functions whose body is a single trivial expression and that
are called exactly once. They add naming indirection with no payoff — the
call site is clearer with the expression inlined.

- DashboardCards: expireMinutes, groupLabel
- RuleTemplateForm: getActionTypeLabel
- NotesReviewDialog / AirDisplay notes-view-dialog: getNoteTitle,
  getReportVisibilityLabel (templates use {@const} instead)
- alert-points-editor-text / rule-template-alert-points: formatOverlapLabels

Genuine multi-branch mappers and reused/multi-statement helpers are kept.
Adds a CLAUDE.md convention documenting the rule.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
crop-watch Ready Ready Preview, Comment May 21, 2026 7:29am

Request Review

@CropWatchDevelopment CropWatchDevelopment merged commit 4f6f830 into master May 21, 2026
7 of 11 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.

1 participant