builder
builder copied to clipboard
ENG-2956 Honor custom breakpoints, if available, when rendering content
Description
When custom break-points are available in content data, re-initialize size constants, from builder-component 's constructor with supplied values. This is so that the corresponding rendering flow can proceed w/o any further changes.
- A content json can have custom breakpoints specified at
content.data.breakpointscontent.data.breakpoints = {small:, medium: }
React SDK: Honor custom breakpoints when rendering content
Note: App level changes to save breakpoint data in content is yet to be done.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| svelte-vite-example | ✅ Ready (Inspect) | Visit Preview | Sep 23, 2022 at 0:58AM (UTC) |
⚠️ GitGuardian has uncovered 4 secrets following the scan of your pull request.
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | Secret | Commit | Filename | |
|---|---|---|---|---|
| - | Generic High Entropy Secret | 4df6fb5faf33f1aa599242c342ee851c3385cefb | packages/sdks/src/functions/get-content/snapshots/fn.test.ts.snap | View secret |
| - | Generic High Entropy Secret | 4df6fb5faf33f1aa599242c342ee851c3385cefb | packages/sdks/src/functions/get-content/snapshots/fn.test.ts.snap | View secret |
| - | Generic High Entropy Secret | 4df6fb5faf33f1aa599242c342ee851c3385cefb | packages/sdks/src/functions/get-content/snapshots/fn.test.ts.snap | View secret |
| - | Generic High Entropy Secret | 4df6fb5faf33f1aa599242c342ee851c3385cefb | packages/sdks/src/functions/get-content/snapshots/fn.test.ts.snap | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!