chore: update dependencies and improve configuration handling

- Bump version to 0.0.7 in package.json and update deployment script.
- Add new dependencies in bun.lock for improved functionality.
- Modify loadFromRemote methods in Gitea and general config stores to return boolean for better error handling.
- Enhance BuildConfig component to ensure proper loading state management.
- Simplify RepoCard component by removing duplicate repository access option.
- Update WorkspaceDetailDialog to include workspace link in state management.
- Fix branch default value in createDevConfig function to use a placeholder.
This commit is contained in:
xiongxiao
2026-03-01 01:34:12 +08:00
committed by cnb
parent 0a0acf1fe7
commit 20edf1893e
10 changed files with 113 additions and 29 deletions

View File

@@ -190,6 +190,12 @@ export function RepoCard({ showReturn = false, repo }: RepoCardProps) {
}
/>
<DropdownMenuContent align="end" className="w-40">
<DropdownMenuItem onClick={() => {
window.open(repo.web_url, '_blank')
}} className="cursor-pointer">
<ExternalLink className="w-4 h-4 mr-2" />
访
</DropdownMenuItem>
<DropdownMenuItem onClick={() => {
store.setEditRepo(repo)
store.setShowEditDialog(true)
@@ -222,12 +228,7 @@ export function RepoCard({ showReturn = false, repo }: RepoCardProps) {
<Copy className="w-4 h-4 mr-2" />
Clone URL
</DropdownMenuItem>
<DropdownMenuItem onClick={() => {
window.open(repo.web_url, '_blank')
}} className="cursor-pointer">
<ExternalLink className="w-4 h-4 mr-2" />
访
</DropdownMenuItem>
<DropdownMenuItem onClick={() => handleIssue(repo)} className="cursor-pointer">
<IssueIcon className="w-4 h-4 mr-2" />
访