update..
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-07-08 11:04:38 +09:00
parent 68385aedc7
commit 71eeac278f
5 changed files with 81 additions and 9 deletions
@@ -299,7 +299,7 @@ export function SourceManagementPage() {
const [sources, setSources] = useState<SourceComponent[]>([]);
const [sourcesLoading, setSourcesLoading] = useState(true);
const [selectedSourceId, setSelectedSourceId] = useState('');
const [selectedBranch, setSelectedBranch] = useState('release');
const [selectedBranch, setSelectedBranch] = useState('develop');
const [commitRange, setCommitRange] = useState<CommitRange>('week');
const [commitPage, setCommitPage] = useState(1);
const [commits, setCommits] = useState<GiteaCommit[]>([]);
@@ -319,10 +319,10 @@ export function SourceManagementPage() {
);
const selectedSource = filteredSources.find((source) => source.id === selectedSourceId) ?? filteredSources[0] ?? null;
const repository = splitRepository(selectedSource?.repository);
const branch = selectedBranch || 'release';
const branch = selectedBranch || 'develop';
const latestBranchSha = commits.length > 0 ? commits[0]?.sha ?? '' : '';
const branchOptions = useMemo(
() => [...new Set(['release', 'develop', 'main', selectedSource?.branch].filter((item): item is string => Boolean(item)))],
() => [...new Set(['develop', 'release', 'main', selectedSource?.branch].filter((item): item is string => Boolean(item)))],
[selectedSource?.branch]
);
const totalCommitPages = totalCommits === null ? null : Math.max(1, Math.ceil(totalCommits / commitPageSize));
@@ -469,7 +469,7 @@ export function SourceManagementPage() {
</Button>
</div>
</div>
<div>
<div className="min-w-0 md:col-span-2">
<p className="text-xs text-muted-foreground">SHA1</p>
<div className="mt-2 rounded-md border border-border bg-background px-3 py-2">
<p className="truncate font-mono text-sm font-medium" title={latestBranchSha || '-'}>