generated from kevisual/vite-react-template
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:
@@ -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" />
|
||||
访问问题
|
||||
|
||||
Reference in New Issue
Block a user