Skip to content

Use datetime picker for activity start and end time - #1305

Merged
lodewiges merged 3 commits into
stagingfrom
claude/project-thread-pnbe4v
Dec 2, 2026
Merged

lodewiges merged 3 commits into
stagingfrom
claude/project-thread-pnbe4v

Conversation

@lodewiges

Copy link
Copy Markdown
Contributor

Requested by AG · project thread

Closes #72

  • Begin- and eindtijd in the new-activity modal are now native datetime-local inputs (5 minute steps) instead of plain text fields.
  • Changing the start time shifts the end time along, so the duration is kept.

Not tested in a browser or by the test suite (Ruby/Node tooling isn't available in this environment); CI will run it.


Generated by Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SiPSKJva4JUKVmAVLkYeUm
@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 33 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c9301d0d-5e37-478d-9a52-860c53580761
Commits

Reviewing files that changed from the base of the PR and between 4e430e9 and e8ee84f.

Files ignored due to path filters: 1

  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing: 3

  • app/javascript/activities.js
  • app/views/activities/_modal.html.erb
  • package.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov

codecov Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.39%. Comparing base (4e430e9) to head (e8ee84f).
⚠️ Report is 1 commits behind head on staging.

Additional details and impacted files
@@           Coverage Diff            @@
##           staging    #1305   +/-   ##
========================================
  Coverage    86.39%   86.39%           
========================================
  Files           62       62           
  Lines         1690     1690           
========================================
  Hits          1460     1460           
  Misses         230      230           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor Author

Lint is red because bundle audit flags faraday 2.14.0 (CVE-2026-25765 / CVE-2026-33637, fix in >= 2.14.1). Rubocop, Brakeman and ESLint pass. The advisory is not related to this diff (it only touches activities.js and the activity modal), so it should be red on staging too; bumping faraday in a separate dependency PR would fix it.

Separately: commit 324823d ("fix version") also changes db/schema.rb in a way that looks like an accidental regeneration (Schema 7.2 -> 8.1, drops the grid_size/position check constraints and the on_delete: :nullify on product_prices), and bumps axios to ^1.21.1. Worth a look before merging.


Generated by Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SiPSKJva4JUKVmAVLkYeUm
@lodewiges
lodewiges merged commit a2c2194 into staging Dec 2, 2026
6 checks passed
@lodewiges
lodewiges deleted the claude/project-thread-pnbe4v branch December 2, 2026 22:00
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.

Handige datum+tijd picker voor activiteit aanmaken

2 participants