Commit Graph
34 Commits
Author SHA1 Message Date
Kang 5efce4e7cf feat(assets): vendor bundled icons from a pinned manifest
Icons were previously hand-added, so their provenance and licensing lived in
folklore and a mis-painted asset was invisible at runtime: GPUI's `svg()`
reduces a file to an alpha mask, and `img()` keeps its pixels, but nothing
complains when the two are swapped.

Assets are now described by `scripts/icons.manifest` and vendored by
`scripts/sync-icons.sh` from pinned upstream releases, keeping the tree
reproducible and reviewable. `icons/**` stays monochrome and `color/**` full
colour; `scripts/check-icon-references.sh` fails the build when a referenced
asset is missing or painted through the wrong element, and runs in CI.

The lookup tables move out of `formatting/` into a dedicated `features/icons`
module so a ~1000-line brand table is not rebuilt inside a render closure, and
saved connections gain `icon_auto_detect`, which fills in a blank icon from the
detected remote system without ever overwriting a deliberate choice.
2026-07-26 23:21:58 +08:00
Kang 16ddcd3042 refactor: add architecture boundary check script
This commit introduces a new script, `check-architecture-boundaries.sh`, which enforces architectural boundaries within the project. The script checks for dependencies between different components, ensuring that low-level crates remain independent of higher-level presentation code. It also validates that certain fields and methods are accessed only through designated state management methods, preventing direct mutations that could lead to inconsistencies.

Key features of the script include:
- Dependency checks between crates.
- Validation of access patterns for state management.
- Enforcement of limits on specific code patterns to maintain architectural integrity.
- Reporting of violations with detailed output for easier debugging.

This addition aims to improve code quality and maintainability by enforcing architectural guidelines.
2026-07-25 20:29:05 +08:00
Kang 63ff274888 refactor: migrate to GPUI 2026-07-05 17:26:19 +08:00
Kang edc81dff30 ci: add verification step for GitHub Gist OAuth Client ID in release build 2026-06-21 23:45:58 +08:00
Kang b689c11ceb ci: inject GitHub Gist client ID during release build 2026-06-21 19:30:02 +08:00
Kang 58194370c2 ci: trigger Homebrew tap update after NyaTerm release (#93)
- Introduced a new job in the GitHub Actions workflow to update the Homebrew tap upon version tagging.
- Configured the job to trigger only for version tags without hyphens, ensuring proper version management.
- Utilized GitHub CLI to run the update workflow for the Homebrew tap, enhancing the release process.
2026-06-20 21:02:10 +08:00
Kang 43a9ae12a4 fix(build-release): correct package name for Ubuntu ARM installation from libfuse2t64 to libfuse2 2026-05-27 22:31:56 +08:00
Kang 75d446ad8a feat(build): add packaging step for Windows portable zip release 2026-05-26 21:34:47 +08:00
Kang 96aef0a1b9 fix(workflows): update Ubuntu version from 24.04 to 22.04 in build-release.yml 2026-05-26 17:17:31 +08:00
Kang b6287577b5 fix: Correct markdown link syntax in bug report template 2026-05-12 00:03:23 +08:00
Kang 7c5b47439a fix: Update bug report template to streamline feature request guidance
This commit modifies the bug report issue template to provide a direct link for users to submit feature requests, enhancing clarity and usability. The previous instructions were simplified to improve the user experience when reporting bugs and suggesting features.
2026-05-12 00:02:25 +08:00
Kang e4f22549dc feat: Add issue templates for bug reports and feature requests
This commit introduces new issue templates for reporting bugs and suggesting features in the GitHub repository. The bug report template guides users to provide detailed information about issues, including reproduction steps and environment details. The feature request template encourages users to describe problems and propose solutions, ensuring organized feedback collection. These templates aim to enhance user engagement and streamline the issue submission process.
2026-05-11 23:57:34 +08:00
Kang 58ff08a1cb chore: Remove feature request discussion template from GitHub repository
This commit deletes the existing feature request discussion template, streamlining the submission process for user feedback. The removal aims to simplify the discussion guidelines and reduce redundancy in feature request handling.
2026-05-11 23:53:38 +08:00
Kang 16295a1f62 feat: Add feature request discussion template for user submissions
This commit introduces a new discussion template for feature requests in the GitHub repository. The template guides users to submit single feature requests, ensuring clarity and organization. It includes a checkbox for users to confirm they have searched for duplicates and a required textarea for detailing the requested feature, enhancing the process of gathering user feedback.
2026-05-11 23:23:00 +08:00
Kang fb759851eb chore: Delete .github/workflows/debug-publish-r2.yml 2026-05-06 12:57:07 +08:00
Kang 17cd750051 feat: Add GitHub Actions workflow for R2 asset publishing 2026-05-06 12:55:57 +08:00
Kang 0e112d4b7c fix: Add TAG environment variable to build-release workflow 2026-05-06 12:50:56 +08:00
Kang c56e9ee43b feat: Add Cloudflare R2 publishing workflow
Added a new job to publish release assets to Cloudflare R2, including downloading release assets, building the latest.json file, uploading installers, and verifying the uploaded latest.json.
2026-05-06 10:30:59 +08:00
Kang 7e9c999e05 chore: Delete .github/workflows/debug-publish-r2.yml 2026-05-06 10:30:25 +08:00
Kang 8a5d13688d fix: Add download of GitHub Release assets in workflow 2026-05-06 10:20:33 +08:00
Kang ef9847d8ba chore: Add GitHub Actions workflow for R2 asset publishing 2026-05-06 10:15:44 +08:00
Kang f7875d7871 refactor: Update references from Dragonfly to NyaTerm across documentation and codebase
This commit replaces all instances of "Dragonfly" with "NyaTerm" in various files, including documentation, configuration, and UI elements. The changes ensure consistency in branding and improve clarity for users transitioning from the previous version. Additionally, updates to the changelog and README reflect the new application name and its features.
2026-05-05 20:05:53 +08:00
Kang 1afe48924f chore: Delete .github/workflows/repair-updater-assets.yml 2026-04-28 10:01:54 +08:00
Kang ce501cb1db fix: Fix indentation for GITHUB_TOKEN in workflow 2026-04-28 10:01:20 +08:00
Kang 493a7a51b7 chore: Enhance GitHub Actions script for asset downloading
Refactor asset download logic to improve error handling and use environment variable for GitHub token.
2026-04-28 10:00:25 +08:00
Kang 8c4f9823e8 feat: repair-updater-assets
repair-updater-assets
2026-04-28 09:58:39 +08:00
Kang dfd48fcf50 chore: Delete .github/workflows/repair-tag.yaml 2026-04-28 09:58:07 +08:00
Kang 4383c22e36 feat: Add workflow to repair latest.json for releases 2026-04-28 09:45:47 +08:00
Kang 0c4db1d1dd fix: Enhance updater manifest generation process
Refactor updater manifest generation to improve readability and error handling.
2026-04-28 09:42:00 +08:00
Kang 22359efe8a fix: Add Tauri updater signing key preparation step 2026-04-28 00:51:57 +08:00
Kang 7f7f360be6 fix: Add libudev-dev to build dependencies 2026-04-28 00:38:16 +08:00
Kang cd9da3eef8 refactor: build-release workflow for Dragonfly
Updated the GitHub Actions workflow for building and releasing the application. Changes include modifying permissions, removing the cleanup caches job, and updating asset naming conventions.
2026-04-28 00:23:23 +08:00
Kang bb718017bf fix: Enhance build-release workflow with cache cleanup
Added cleanup job for old caches and improved asset renaming logic in the build-release workflow.
2026-04-28 00:11:03 +08:00
Kang 97903122e5 chore(ci/cd): build-release workflow
build-release workflow
2026-04-27 23:51:28 +08:00