Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion changelog.d/1326.changed.md

This file was deleted.

1 change: 1 addition & 0 deletions changelog.d/1363.removed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The repository metrics panel is gone ([#1363](https://github.com/ThinkFlowLab/FlyBot/issues/1363)). Opening Tasks shows that Bot's task board: there is no Today / 7-day GitHub block, no Retry or Diagnose, and no "from the package" repository header. The per-Bot task board and Workflow stay.
4,888 changes: 1,919 additions & 2,969 deletions core/client.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import * as update from './src/host/update.js'
import * as dshUpdate from './src/host/dsh-update.js'
import * as hooks from './src/host/hooks.js'
import * as remoteChat from './src/host/remote-chat.js'
import * as deliveryBoard from './src/host/delivery-board.js'
import * as workflowStore from './src/host/workflow-store.js'
import * as channel from './src/host/channel.js'

Expand All @@ -54,7 +53,7 @@ export const inject = ['llm', 'tools', 'systemPrompt', 'sessionController', 'ses
// the functions other modules call; they call them through `rt` at run time, never during
// install. Listeners run and tools are listed in registration order, so this order holds:
// usage meters model requests after every listener that rewrites them.
const MODULES = [diagnostics, store, harness, memberAuth, authz, models, permissions, turns, delivery, roster, folders, agents, prompt, timeContext, tools, decisions, chatIndex, groups, roomMembership, reach, tasks, taskDrive, approvals, resume, memory, parts, images, secrets, connectors, connectorAccess, capabilities, schedules, automationDefault, browser, usage, update, dshUpdate, hooks, remoteChat, deliveryBoard, workflowStore, channel]
const MODULES = [diagnostics, store, harness, memberAuth, authz, models, permissions, turns, delivery, roster, folders, agents, prompt, timeContext, tools, decisions, chatIndex, groups, roomMembership, reach, tasks, taskDrive, approvals, resume, memory, parts, images, secrets, connectors, connectorAccess, capabilities, schedules, automationDefault, browser, usage, update, dshUpdate, hooks, remoteChat, workflowStore, channel]

export function apply(ctx, config = {}) {
const rt = createRuntime(ctx, config)
Expand Down
56 changes: 0 additions & 56 deletions core/scripts/delivery-probe.mjs

This file was deleted.

29 changes: 7 additions & 22 deletions core/src/client/board-card.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,17 @@
// One card component behind both boards (#1265, step 1). A delivery card and a task card draw the
// same pieces — an identity line, a title, what it wears, who has it, what it is doing — so they
// render through this one component with the `source` their card model carries.
//
// `skin` is the calling board's class vocabulary. Two skins, not a third look: the delivery board
// keeps its stylesheet and the task board keeps its own while the shape is shared, and moving the
// columns into one set (step 2) no longer has to touch either stylesheet's card markup.
// The task board's card frame. A card says `source: 'task'` and carries `data-key`, and the
// board passes `TASK_SKIN` so the markup stays on this board's class names.
import { createElement as h } from 'react'
import { t } from './i18n.js'

export const DELIVERY_SKIN = {
card: 'bt-del-card', top: 'bt-del-card-top', id: 'bt-del-id', badge: 'bt-del-badge',
title: 'bt-del-title', labels: 'bt-del-labels', label: 'bt-del-label', owner: 'bt-del-owner',
linked: 'bt-del-linked', sha: 'bt-del-sha',
}

export const TASK_SKIN = {
card: 'bt-board-card', top: 'bt-board-card-top', id: 'bt-board-id', badge: 'bt-board-badge',
title: 'bt-board-title', labels: 'bt-board-labels', label: 'bt-board-label', owner: 'bt-board-who',
linked: 'bt-board-linked', sha: 'bt-board-sha', note: 'bt-board-note',
note: 'bt-board-note',
}

// `attrs` is the board's own extra attributes (a task's `data-column`, a card's `data-number`), so
// the existing selectors and tests keep reading the same elements.
// `attrs` is the board's own extra attributes (a task's `data-column`), so the existing
// selectors and tests keep reading the same elements.
export function BoardCard({
card, skin = DELIVERY_SKIN, attrs = {}, idText = '', topExtra = null, badge = '',
card, skin = TASK_SKIN, attrs = {}, idText = '', topExtra = null, badge = '',
meta = null, note = '', footer = null, actions = null, emptyTitle = '',
draggable = false, dragValue = '', onDragStart = null, onDragEnd = null,
}) {
Expand Down Expand Up @@ -52,11 +40,8 @@ export function BoardCard({
? h('span', { className: skin.labels }, labels.map(name => h('span', { key: name, className: skin.label, 'data-label': name }, name)))
: null,
card?.owner ? h('span', { className: skin.owner, 'data-kind': card.ownerKind ?? 'human' }, card.owner) : null,
note ? h('span', { className: skin.note ?? skin.linked }, note) : null,
note ? h('span', { className: skin.note }, note) : null,
meta,
card?.linked ? h('span', { className: skin.linked }, t('linked to #{number}', { number: card.linked })) : null,
card?.sha ? h('span', { className: skin.sha }, card.sha) : null,
card?.url ? h('a', { className: skin.sha, href: card.url, target: '_blank', rel: 'noreferrer' }, t('open on GitHub')) : null,
footer,
actions)
}
243 changes: 0 additions & 243 deletions core/src/client/delivery-chart.js

This file was deleted.

Loading
Loading