Skip to content

Feat/svelte rewrite#11

Closed
Ovler-Young wants to merge 72 commits intoColdThunder11:masterfrom
Ovler-Young:feat/svelte-rewrite
Closed

Feat/svelte rewrite#11
Ovler-Young wants to merge 72 commits intoColdThunder11:masterfrom
Ovler-Young:feat/svelte-rewrite

Conversation

@Ovler-Young
Copy link
Contributor

No description provided.

Ovler-Young and others added 30 commits November 15, 2022 01:56
增加通过订阅获取需要保存的串
增加换行;修改typo;
Better fix for #13; Fixed some missed ones
This reverts commit 115628c.
- Removed `@types/pako` and `pako` from `package.json` and `pnpm-lock.yaml` as they are no longer needed.
- Updated `.gitignore` to exclude specific output and cache file types.
- Enhanced the UI in `+page.svelte` with new components and improved layout for backup and download functionalities.
- Introduced custom CSS variables for theming and dark mode support in `app.css`.
…velte

- Added dependency for @humanspeak/svelte-markdown to enable markdown rendering.
- Implemented functions to load and display markdown content for cached threads.
- Introduced a refresh feature for cached threads, allowing users to update data from the API.
- Enhanced UI with improved sorting options and message handling for user feedback.
- Moved the loading of cached threads to the onMount lifecycle method to ensure it runs only on the client side, improving performance and preventing server-side execution issues.
- Added 'allowedHosts' option to the server configuration in vite.config.ts to enhance server host management.
- Updated the sorting function for cached threads by reversing the order of parameters in the comparison function for 'threadId' sorting, ensuring the correct display order.
- Introduced a new function to normalize time values to ISO 8601 format in both +server.ts files for cache and refresh-all routes.
- Updated the handling of lastReplyTime to ensure consistent formatting across cached threads.
- Updated the onchange event for the download format selection to ensure the target element is correctly referenced before calling the download function.
- Changed the type of messageTimeout from number to ReturnType<typeof setTimeout> | undefined for better type safety and clarity in handling timeout values.
- Changed the headers declaration to use a Record type for better type safety.
- Added conditional logic to include the Cookie header only if a cookie is present, improving request handling.
- Enhanced the build workflow to support multiple operating systems (Windows, Ubuntu, macOS) using a matrix strategy.
- Added steps for setting up Node.js, installing dependencies, and building the project.
- Implemented artifact creation and upload for build outputs.
- Introduced a release step to create and upload release assets based on the build artifacts.
- Added steps to create a build archive and upload build artifacts.
- Implemented a release step to download artifacts, create a GitHub release, and upload release assets.
- Improved project structure handling during the build process.
- Updated the upload and download artifact actions from v3 to v4 for improved functionality and performance.
- Changed the Svelte adapter from '@sveltejs/adapter-auto' to '@sveltejs/adapter-node' for better compatibility.
- Simplified the build artifact creation process in the GitHub Actions workflow by directly referencing the build directory.
- Added steps to generate SEA blob and install postject.
- Implemented platform-specific actions for creating Node.js executable copies, signing binaries, and injecting SEA blobs.
- Introduced cleanup and archiving steps for SEA artifacts.
- Updated artifact upload steps to include SEA archives.
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