Conversation
📝 WalkthroughWalkthroughRefactors reference status mapping in the dashboard controller, sorts files by creation time in FileService, adds layout/truncation utility classes in eSigner UI pages, and standardizes UTC formatting (and optional voteId) in voting system messages. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@platforms/evoting-api/src/services/MessageService.ts`:
- Around line 67-70: The deadline strings in createVoteCreatedMessage and
createVoteDeadlineMessage are labeled "UTC" but use
toLocaleDateString()/toLocaleTimeString() which honor server locale; change the
formatting to produce UTC timestamps explicitly (e.g., call
toLocaleDateString/toLocaleTimeString with the timeZone: 'UTC' option or
construct an ISO/UTC string) when building deadlineText and any other deadline
display so the displayed date/time actually reflects UTC.
* fix: ereference & esigner cosmetic changes * fix: UTC time instead of local * fix: UTC time explicitly set at backend
Description of change
uses truncate and title for full name.
Issue Number
closes #641
closes #640
closes #694
closes #693
Type of change
Change checklist
Summary by CodeRabbit
Bug Fixes
New Features
Refactor
✏️ Tip: You can customize this high-level summary in your review settings.