Phoebus icon macros don't get populated during build

オープン
#290 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@OCopping がすでに取り組んでいます。

2026年10月28日 から。

評価

この issue はまだ評価されていません。

説明

bug
  1. Add an icon to index.bob - Name: "DEVICE1"
  2. Create a matching entry in techui.yaml with prefix and file path
DEVICE1:
  label: Device Label
  desc: My Device
  prefix: MY-DEVICE
  file: techui-support/path/to/file.bob

  1. techui-builder build path/to/techui.yaml

The label, description and file all get built properly into the icon's Action config, but the macros don't get auto populated.

During debugging:
new_widget contains

<macros>
  <device>MY-DEVICE</device>
</macros>

but by the end of the widget generation this doesn't get put back into the Component
Component(prefix='MY-DEVICE' ... file='path/to/file.bob', macros=None, status=None)

主要言語
Python
スター
2
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DiamondLightSource/techui-builder のほかの issue

DiamondLightSource/techui-builder の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。