Personal Telegram developer console for GitHub

fix(github): consolidate repository status navigation

davoodmehraban89 committed Oct 4, 2026 at 18:00 UTC 180f30c3d0cd4e074a7ecd8710c2a660f53e4eda
1 file changed +2 -1
src/plugins/github/plugin.js
+2 -1
@@ -95,7 +95,6 @@ const addRepoAdvancedButtons = (view, repoId) => {
95 const rows = [...(view?.reply_markup?.inline_keyboard || [])];
96 const insertAt = Math.max(0, rows.length - 1);
97 rows.splice(insertAt, 0,
98 - [{ text: '🧪 CI / Actions', callback_data: `runs:${repoId}` }],
98 [{ text: '🌿 Branches', callback_data: `branches:${repoId}` }],
99 [
100 { text: '🐛 Issues', callback_data: `issues:${repoId}` },
@@ -418,6 +417,8 @@ function resolveReadCallback(data) {
417 if (commits !== null) return { actionId: 'github.commits.list', kind: 'commits', repoId: commits };
418 const commitdetail = commitDetailRef(value);
419 if (commitdetail) return { actionId: 'github.commit.detail', kind: 'commitdetail', ...commitdetail };
420 + const legacyStatus = numericSingle(value, 'status');
421 + if (legacyStatus !== null) return { actionId: 'github.workflow.runs.list', kind: 'runs', repoId: legacyStatus, page: 1 };
422 const runs = workflowRunsPage(value);
423 if (runs) return { actionId: 'github.workflow.runs.list', kind: 'runs', ...runs };
424 const run = numericPair(value, 'run');