-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Feature/npm taobao mirror and chinese prompts #359
Merged
blinko-space
merged 77 commits into
blinko-space:feature/npm-mirror-and-chinese-prompts
from
LiangWei88:feature/npm-taobao-mirror-and-chinese-prompts
Dec 22, 2024
Merged
Feature/npm taobao mirror and chinese prompts #359
blinko-space
merged 77 commits into
blinko-space:feature/npm-mirror-and-chinese-prompts
from
LiangWei88:feature/npm-taobao-mirror-and-chinese-prompts
Dec 22, 2024
Conversation
This file contains 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
- Added caching headers for static assets in `next.config.js` to improve performance. - Replaced old logo files with new versions (`logo-light.png`, `logo-dark.png`) and updated references in the Sidebar and Sign-in components. - Updated the `manifest.json` to include new icon sizes and paths. - Removed deprecated icon files (`icon-192x192.png`, `icon-512x512.png`, `single-logo.svg`). - Enhanced the `logo.svg` and `logo-dark.svg` with new designs for better visual appeal.
- Replaced the old logo reference from `single-logo.svg` to the new `logo.svg` in the README file to reflect the latest branding changes.
## [0.26.11](blinko-space/blinko@v0.26.10...v0.26.11) (2024-12-17) ### Bug Fixes * update logo assets and caching headers ([da931de](blinko-space@da931de))
- Introduced console error logging in the writeFileSafe method of the FileService class to capture and report errors during file write attempts. This enhancement aids in debugging and improves error visibility.
## [0.26.12](blinko-space/blinko@v0.26.11...v0.26.12) (2024-12-17) ### Bug Fixes * add error logging in FileService writeFileSafe method ([17604c2](blinko-space@17604c2))
…ion files - Implemented a confirmation dialog for user data deletion in the UserSetting component, ensuring users are aware that all associated data will be permanently cleared. - Updated translation files for multiple languages to include a new message regarding the irretrievability of user data after deletion, enhancing user experience and clarity across the application.
- Implemented a check to prevent users from deleting their own accounts, throwing a FORBIDDEN error if attempted. This enhances account security and user experience by ensuring users cannot inadvertently remove their own access.
…orts - Removed unused imports and added the useTheme hook to dynamically switch the logo based on the current theme (light/dark). - Updated the logo rendering in the sign-in component to reflect the selected theme, improving visual consistency and user experience.
feat: support delete user & batch delete note
# [0.27.0](blinko-space/blinko@v0.26.12...v0.27.0) (2024-12-17) ### Bug Fixes * enhance sign-in component with theme-based logo and clean up imports ([f9d500c](blinko-space@f9d500c)) ### Features * add self-deletion prevention in user deletion logic ([60c4a41](blinko-space@60c4a41)) * add user data deletion confirmation dialog and enhance translation files ([ef09306](blinko-space@ef09306))
- Refactored the file upload process to utilize streams, allowing for more efficient handling of large files. - Added error handling for upload failures, providing clearer feedback to users. - Updated translation files to include new messages for upload status (completed, cancelled, failed) across multiple languages. - Enhanced the upload progress indication in the UI, improving user experience during file uploads.
- Integrated event bus for user sign-out functionality, allowing for better state management across components. - Updated the BasicSetting component to utilize the event bus for sign-out, improving code clarity. - Added a key prop to BlinkoCard in the Home component to ensure proper rendering and performance. - Cleaned up unused imports in the SignIn component, enhancing code maintainability. - Introduced a clear method in UserStore to reset user data upon sign-out, improving user experience and security. - Enhanced user preference setup logic to prevent redundant calls, optimizing performance.
- Updated the alignment of the cancel button to use 'ml-auto' for proper spacing. - Ensured consistent button styling by removing unnecessary width classes, enhancing the overall layout and user experience.
- Eliminated the bodyParser configuration from the file upload route, streamlining the API setup. - This change simplifies the handling of file uploads, aligning with the recent refactor for improved efficiency.
- Changed icon source paths in the manifest.json from '/logo/' to '/icons/' to align with the new directory structure. - This update ensures that the application correctly references the updated icon locations, improving asset management.
fix: support file upload loading tips
## [0.27.1](blinko-space/blinko@v0.27.0...v0.27.1) (2024-12-17) ### Bug Fixes * adjust button alignment in TipsDialog component ([cf7b057](blinko-space@cf7b057)) * enhance file upload functionality and improve user feedback ([c86cd4e](blinko-space@c86cd4e)) * enhance user sign-out process and improve component structure 326 ([e38501a](blinko-space@e38501a)) * remove bodyParser configuration from file upload route ([4047c64](blinko-space@4047c64)) * update icon paths in manifest.json for consistency ([66f1cbe](blinko-space@66f1cbe))
…ent blinko-space#331 - Updated the ImageThumbnailRender component to set the draggable property to false, preventing users from dragging images unintentionally. - This change enhances the user experience by ensuring that image thumbnails behave as expected within the application.
…ce#332 - Replaced the DialogStore reference with DialogStandaloneStore in the DeleteIcon component to ensure proper dialog management. - This change improves the functionality of the delete action by correctly closing the standalone dialog after a file deletion.
- Added the ability to reorder attachments in the AttachmentRender component, improving user experience by allowing drag-and-drop functionality. - Introduced a new sortOrder field in the attachments model to facilitate ordering. - Updated the Prisma schema and Zod validation to include sortOrder for attachments and tags. - Enhanced the note router to return attachments sorted by sortOrder. - Implemented a new mutation to update the order of attachments in the database. - Refactored the Editor and AttachmentsRender components to support file reordering, ensuring a seamless integration with the existing file management system.
- Added support for iOS-specific styling in the BlinkoAiChat component to improve responsiveness on iOS devices. - Updated the EditorStore to correctly update the file name in the files array after a successful upload. - Refactored Dialog and DialogStandalone components to ensure consistent content rendering and layout adjustments, enhancing user experience.
…lity - Introduced StorageState for sidebar width and collapsed state, allowing persistent storage and validation of sidebar dimensions. - Updated Sidebar component to conditionally apply transition effects based on resizing state. - Enhanced resizing functionality with mouse event handlers for better user interaction. - Improved code readability and maintainability by refactoring sidebar-related logic in BaseStore.
- Refactored FilterPop component to wrap the filter icon in a button for better accessibility and interaction. - Updated CommonLayout to integrate BarSearchInput and improve layout structure, enhancing the overall user experience. - Adjusted MobileNavBar styles for better text visibility and alignment, ensuring a more consistent appearance across devices. - Improved responsiveness and overflow handling in layout components to enhance usability on mobile devices.
improve some code
- Adjusted styles in the CommonLayout header to prevent horizontal overflow. - Updated ScrollArea class in resources page for better responsiveness and layout consistency. - Changed onClick to onPress for breadcrumb navigation to enhance accessibility.
- Updated webpack configuration to include watch options for development mode. - Added experimental turbotrace settings to optimize memory usage. - Introduced a new build command in package.json to increase Node.js memory limit. - Refactored attachment seeding logic to handle depth and prefix path updates more robustly. - Updated prismaZodType to include depth and prefixPath validation for attachments. - Commented out unused directory cleanup logic in FileService for future reference.
Refactor resouce
# [0.28.0](blinko-space/blinko@v0.27.7...v0.28.0) (2024-12-20) ### Bug Fixes * improve layout and accessibility in resources and layout components ([2bfb29c](blinko-space@2bfb29c)) ### Features * enhance configuration and improve attachment handling ([6572ebb](blinko-space@6572ebb)) * enhance localization and improve resource context menu ([99003be](blinko-space@99003be)) * refactor resource page ([cda450a](blinko-space@cda450a))
fix: build issue
## [0.28.1](blinko-space/blinko@v0.28.0...v0.28.1) (2024-12-21) ### Bug Fixes * build issue ([169e3b3](blinko-space@169e3b3))
…siveness - Corrected translation errors in `translation.json` for Azure OpenAI instance name and days. - Improved responsiveness in `BlinkoMusicPlayer` by adjusting layout and styles based on screen size. - Enhanced audio rendering in `AudioRender` component with better metadata handling and UI updates. - Refactored `ResourceItem` to ensure proper truncation of file names. - Updated `MusicManagerStore` to manage playlist tracks more effectively and added methods for better audio control.
# [0.29.0](blinko-space/blinko@v0.28.1...v0.29.0) (2024-12-21) ### Bug Fixes * update Chinese translations and enhance BlinkoMusicPlayer responsiveness ([838f26e](blinko-space@838f26e)) ### Features * add music metadata functionality and Spotify integration ([800cc73](blinko-space@800cc73))
- Implemented checks to yield error messages when notes lack account information or when the specified account is not found. - Enhanced the error reporting mechanism to include progress tracking for better user feedback during the backup process.
## [0.29.1](blinko-space/blinko@v0.29.0...v0.29.1) (2024-12-21) ### Bug Fixes * add error handling for missing account information in DBJob plugin ([fd9bf88](blinko-space@fd9bf88))
- Added new folder creation functionality with validation for duplicate names and required fields. - Updated translation files across multiple languages to include new folder-related strings. - Improved caching headers for static assets in the Next.js configuration. - Enhanced the BlinkoMusicPlayer component for better responsiveness and UI consistency. - Refactored audio rendering styles for improved visual feedback. - Introduced a loading page component to enhance user experience during data fetching.
## [0.29.2](blinko-space/blinko@v0.29.1...v0.29.2) (2024-12-21) ### Bug Fixes * enhance resource management and UI updates ([5248a03](blinko-space@5248a03))
- Added media query support to conditionally hide scrollbars in the ScrollArea component for better UI on mobile devices. - Introduced dynamic styling for scrollbar visibility based on screen width. - Updated attachment router to allow `id` to be either a number or null, improving flexibility in handling attachment deletions.
## [0.29.3](blinko-space/blinko@v0.29.2...v0.29.3) (2024-12-21) ### Bug Fixes * enhance ScrollArea component and update attachment router ([2b34bfa](blinko-space@2b34bfa))
- Reduced the size of the loading animation in LoadingPage for better visual consistency. - Refactored SendButton to enhance click handling and loading state management, ensuring a smoother user experience during file sending operations.
## [0.29.4](blinko-space/blinko@v0.29.3...v0.29.4) (2024-12-21) ### Bug Fixes * update LoadingPage and SendButton components for improved UI ([f6c3c54](blinko-space@f6c3c54))
…s # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
dosubot
bot
added
size:XL
This PR changes 500-999 lines, ignoring generated files.
enhancement
New feature or request
labels
Dec 22, 2024
blinko-space
merged commit Dec 22, 2024
eaacc80
into
blinko-space:feature/npm-mirror-and-chinese-prompts
2 of 3 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
merge main code to update chinese prompt branch