feat: Protocol Comparison Side-by-Side View (P2 #22)#22
Merged
thefiredev-cloud merged 2 commits intomainfrom Feb 2, 2026
Merged
feat: Protocol Comparison Side-by-Side View (P2 #22)#22thefiredev-cloud merged 2 commits intomainfrom
thefiredev-cloud merged 2 commits intomainfrom
Conversation
✅ Deploy Preview for protocol-guide ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
added 2 commits
February 1, 2026 18:24
- Add SideBySideView component for comparing 2-3 protocols in parallel - Highlight medication differences across protocols (unique, varying) - Collapsible sections for medications, key points, contraindications - Responsive: horizontal scroll on mobile, columns on tablet/desktop - Add view mode toggle (List vs Compare) in ProtocolComparison - Auto-select protocols when switching to side-by-side mode - Visual legend for difference highlighting (green=unique, amber=varies) Optimized for EMS field use: - Touch-friendly collapsible sections - Clear visual diff highlighting - Quick medication comparison across agencies
- Increase touch target from 28x28 to 44x44px (WCAG minimum) - Add accessibilityRole to remove button - Replace Dimensions.get() with useWindowDimensions() hook - Wrap component in React.memo for performance
3ce4e0f to
114c29b
Compare
thefiredev-cloud
pushed a commit
that referenced
this pull request
Feb 2, 2026
PRs introduced a runtime error causing React to not mount. Will re-apply fixes after debugging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements side-by-side protocol comparison view for easy comparison across agencies.
Features
EMS Field Optimization
Part of Batch 2
P2 UI enhancements as specified in the UI upgrade plan.