fix: client api security improvements#47
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (6)
💤 Files with no reviewable changes (1)
WalkthroughThis PR refactors the Segment and Survey data models for streamlined client-side representation while maintaining backward compatibility with cached payloads. The Segment model is simplified to id and hasFilters, with custom decoding that accepts legacy filters arrays. The Survey model removes its name property from the Codable payload. SurveyManager is updated to use the new segment.hasFilters contract for filtering and to reference survey.id in logging. Additionally, the survey presentation style changes from sheet to fullscreen modal with cross-dissolve transition, and the embedded WebView HTML layout is updated to use full-viewport styling instead of flexbox bottom-alignment. Tests are updated to reflect the model changes. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
|


ports the recent security improvement changes made to the js-core package from PR formbricks/formbricks#7931 in formbricks to the ios sdk