-
Notifications
You must be signed in to change notification settings - Fork 51.8k
feat: Binary data inside json #21711
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
base: master
Are you sure you want to change the base?
feat: Binary data inside json #21711
Conversation
…add-binarydata-component-for-binaries-included-in-json-schema-view
|
You have run out of free Bugbot PR reviews for this billing cycle. This will reset on December 5. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
BundleMonUnchanged files (2)
No change in files bundle size Groups updated (2)
Final result: ✅ View report in BundleMon website ➡️ |
❌ 14 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 issues found across 6 files
Prompt for AI agents (all 2 issues)
Understand the root cause of the following 2 issues and fix them.
<file name="packages/frontend/editor-ui/src/app/composables/useDataSchema.ts">
<violation number="1" location="packages/frontend/editor-ui/src/app/composables/useDataSchema.ts:69">
Rule violated: **Prefer Typeguards over Type casting**
Avoid asserting `input` to this shape with `as`; per the “Prefer Typeguards over Type casting” rule, refine `isBinary` (or introduce a dedicated type guard) so these properties are available without a cast.</violation>
<violation number="2" location="packages/frontend/editor-ui/src/app/composables/useDataSchema.ts:76">
`join('.')` coerces missing binary metadata to literal "undefined", so binary items with no fileName/fileExtension surface as `undefined.undefined`. Filter out absent parts before joining to avoid the regression.</violation>
</file>
React with 👍 or 👎 to teach cubic. Mention @cubic-dev-ai to give feedback, ask questions, or re-run the review.
packages/frontend/editor-ui/src/app/composables/useDataSchema.ts
Outdated
Show resolved
Hide resolved
packages/frontend/editor-ui/src/app/composables/useDataSchema.ts
Outdated
Show resolved
Hide resolved
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
This comment has been minimized.
This comment has been minimized.
node-3854-add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
… on default filesystem, binary data access by property fixes
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
|
Found 14 test failures on Blacksmith runners: Failures
|
…add-binarydata-component-for-binaries-included-in-json-schema-view
|
E2E Tests: n8n tests passed after 8m 56.4s Run Details
Groups
This message was posted automatically by
currents.dev | Integration Settings
|
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
…add-binarydata-component-for-binaries-included-in-json-schema-view
Summary
Adds a new combined binary mode
Adds a way to download and preview the binary data included in json from Schema or Table views
Related Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
release/backport(if the PR is an urgent fix that needs to be backported)