Kingrayhan/gist#87
Merged
kingRayhan merged 8 commits intomainfrom Mar 29, 2026
Merged
Conversation
- Changed authentication method to WorkOS as primary, with GitHub OAuth as a legacy fallback. - Added new route for Gist browsing, creation, and viewing. - Documented Gists as a key entity with associated tables in the database. - Updated available repositories list to include 'gist' and 'gistFile'.
- Updated error handling in toggleResourceBookmark and myBookmarks functions to return exceptions instead of just logging them. - Enhanced bookmarkStatus function to return a default value when an error occurs. - Refactored reaction actions to utilize a constant for reaction types and added a helper function for empty reaction statuses.
- Introduced a type guard function `isBookmarksSuccess` to validate bookmark data structure. - Updated pagination logic to ensure safe access to bookmark properties. - Refactored item presence check to utilize the new type guard for better reliability. - Improved state update in `ResourceBookmarkable` to ensure accurate bookmark status after mutation.
- Simplified the visibility check by consolidating conditions for public and private gists. - Improved error handling to throw exceptions for missing gists and unauthorized access. - Enhanced code readability by reducing redundancy in the gist retrieval process.
- Introduced a button to export Gist files as images using a Carbon-style format. - Added a dialog component for handling image export, allowing users to preview and save Gist content as images. - Integrated state management for the image export feature within the GistViewer component.
- Introduced a new button to copy the exported image directly to the clipboard. - Refactored the image export logic to improve clarity and error handling. - Enhanced user feedback during image export and copy operations with loading indicators.
…alog - Introduced a footer section in the GistCodeImageDialog component. - Added styling for the footer to enhance visual appearance and maintain consistency. - Ensured the footer is accessible and does not interfere with user interactions.
- Updated CHANGELOG.md to document new features, bug fixes, and other changes for version 1.3.0. - Bumped version number in package.json to 1.3.0. - Added clipboard copy and image export functionalities to Gist components. - Improved error handling in bookmark and reaction services. - Refactored Gist retrieval and bookmarks handling for better performance and reliability.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.