Skip to content

Refactor text preview snippet handling #362

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

Merged

Conversation

MihaiCristianCondrea
Copy link
Owner

Summary

  • Avoid force-unwrapping text preview snippet in FilePreviewHelper
  • Rely on safe-cast and let to render the snippet when available

Testing

  • ./gradlew test (fails: SDK location not found)

https://chatgpt.com/codex/tasks/task_e_6899ad30de40832dafbaab42eaa63cdd

@MihaiCristianCondrea MihaiCristianCondrea merged commit aac89c0 into master Aug 11, 2025
1 check passed
@MihaiCristianCondrea MihaiCristianCondrea deleted the codex/remove-from-previewtype.text-branch branch August 11, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant