Skip to content

feat: implement gist viewing flow with client-side decryption #136

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
merged 1 commit into from
Jun 8, 2025

Conversation

nullcoder
Copy link
Owner

Summary

  • Implement complete gist viewing page (/g/[id]) with client-side decryption capabilities
  • Add comprehensive error handling for expired gists, one-time views, and missing keys
  • Fix encrypted metadata retrieval by including it in API response
  • Implement auto-height code editor for content-fitting display
  • Fix button styling consistency between ShareDialog and other components
  • Enhance text content throughout create and view pages with engaging copy

Test plan

  • Verify gist viewing works with valid encryption key in URL fragment
  • Test error handling for missing or invalid encryption keys
  • Confirm encrypted metadata (description) displays correctly
  • Check one-time view warning and deletion behavior
  • Verify expired gist handling
  • Test copy URL and share functionality
  • Confirm auto-height code editor renders properly
  • Validate responsive design on mobile and desktop

🤖 Generated with Claude Code

Implement comprehensive gist viewing page with complete decryption capabilities and polished UI. Add client-side decryption for both file content and metadata, handle encrypted metadata retrieval, implement auto-height code editor, fix button styling consistency, and enhance text content with engaging copy.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link

cloudflare-workers-and-pages bot commented Jun 8, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
ghostpaste 8d91b3f Visit preview Jun 08 2025, 04:22 AM

@nullcoder nullcoder merged commit 9de6abe into main Jun 8, 2025
1 check was pending
@nullcoder nullcoder deleted the feat/issue-121-gist-viewing-flow branch June 8, 2025 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant