-
Notifications
You must be signed in to change notification settings - Fork 4
Chore/minor bug fixes #318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Caution Review failedThe pull request is closed. WalkthroughAdds select-all and clear-selection handling to the control panel tables and headers, with sessionStorage persistence. Introduces bulk selection callback in Table. Implements webhook deduplication/locking and debug endpoints in the blabsy auth API, plus watcher stats/cleanup. Allows nullable owner in Cerberus entity. Poll API now accepts groupId and adds debug logs. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor U as User
participant H as TableCardHeader
participant T as Table
participant P as +page.svelte
participant SS as sessionStorage
U->>H: Click "Select All" checkbox
H->>T: toggleCheckAll(checked)
T->>P: onSelectAllChange(checked)
P->>P: Update in-memory selections
P->>SS: Persist selection set
U->>H: Click "Clear Selection"
H->>P: onClearSelection()
P->>P: Reset selections
P->>SS: Remove selection keys
sequenceDiagram
autonumber
participant S as External Source
participant WC as WebhookController
participant A as Web3Adapter
participant M as Mapping DB
participant DB as Local Store
S->>WC: POST /webhook { id, data }
WC->>WC: Check adapter.lockedIds
alt ID already locked
WC-->>S: 200 { success:true, skipped:true }
else
WC->>WC: Lock id
WC->>M: getLocalId(id)
alt localId exists
WC->>WC: Lock localId
WC->>DB: updateRecord(table, localId, data)
WC-->>S: 200 { success:true, updated:true }
else
WC->>DB: createRecord(table, data, id)
WC-->>S: 200 { success:true, created:true }
end
end
sequenceDiagram
autonumber
actor C as Client
participant PC as PollController
participant PS as PollService
participant R as PollRepository
C->>PC: POST /polls { title,..., groupId? }
PC->>PS: createPoll(title, mode, visibility, options, deadline, groupId)
PS->>R: create(pollData)
R-->>PS: poll entity
PS->>R: save(poll)
R-->>PS: savedPoll
PS-->>PC: savedPoll
PC-->>C: 201 savedPoll
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (12)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Description of change
Issue Number
Type of change
How the change has been tested
Change checklist
Summary by CodeRabbit
New Features
Improvements
Database