fix: stabilize overlay supervision fixtures
Cross-platform packages / Validate source (push) Canceled after 0s
Cross-platform packages / Authorize desktop packaging (push) Canceled after 0s
Cross-platform packages / linux arm64 (push) Canceled after 0s
Cross-platform packages / macos arm64 (push) Canceled after 0s
Cross-platform packages / windows arm64 (push) Canceled after 0s
Cross-platform packages / linux x64 (push) Canceled after 0s
Cross-platform packages / macos x64 (push) Canceled after 0s
Cross-platform packages / windows x64 (push) Canceled after 0s
Cross-platform packages / Publish GitHub and OSS release (push) Canceled after 0s
Cross-platform packages / Validate source (push) Canceled after 0s
Cross-platform packages / Authorize desktop packaging (push) Canceled after 0s
Cross-platform packages / linux arm64 (push) Canceled after 0s
Cross-platform packages / macos arm64 (push) Canceled after 0s
Cross-platform packages / windows arm64 (push) Canceled after 0s
Cross-platform packages / linux x64 (push) Canceled after 0s
Cross-platform packages / macos x64 (push) Canceled after 0s
Cross-platform packages / windows x64 (push) Canceled after 0s
Cross-platform packages / Publish GitHub and OSS release (push) Canceled after 0s
This commit is contained in:
@@ -414,6 +414,8 @@ export const Composer = memo(function Composer({
|
|||||||
runtime: runtimeControlsProvider,
|
runtime: runtimeControlsProvider,
|
||||||
})
|
})
|
||||||
: "";
|
: "";
|
||||||
|
const composerContextAvailable =
|
||||||
|
supervisorEnabled === true || knowledgeLibraries.length > 0;
|
||||||
const composerOptionSummary = [
|
const composerOptionSummary = [
|
||||||
enabledKnowledgeLibraryIds.length > 0
|
enabledKnowledgeLibraryIds.length > 0
|
||||||
? t("composer.knowledge.select", { count: enabledKnowledgeLibraryIds.length })
|
? t("composer.knowledge.select", { count: enabledKnowledgeLibraryIds.length })
|
||||||
@@ -815,7 +817,8 @@ export const Composer = memo(function Composer({
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div className="composer__configuration" role="group" aria-label={t("composer.settings")}>
|
<div className="composer__configuration" role="group" aria-label={t("composer.settings")}>
|
||||||
<>
|
{composerContextAvailable && (
|
||||||
|
<>
|
||||||
<button
|
<button
|
||||||
aria-controls="composer-options"
|
aria-controls="composer-options"
|
||||||
aria-expanded={composerOptionsOpen}
|
aria-expanded={composerOptionsOpen}
|
||||||
@@ -878,7 +881,8 @@ export const Composer = memo(function Composer({
|
|||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
)}
|
)}
|
||||||
<div
|
{knowledgeLibraries.length > 0 && (
|
||||||
|
<div
|
||||||
className="knowledge-scope"
|
className="knowledge-scope"
|
||||||
onBlurCapture={(event) => {
|
onBlurCapture={(event) => {
|
||||||
if (
|
if (
|
||||||
@@ -1015,9 +1019,11 @@ export const Composer = memo(function Composer({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
)}
|
||||||
<ComposerMenuSelect
|
<ComposerMenuSelect
|
||||||
ariaLabel={t("composer.expertLabel")}
|
ariaLabel={t("composer.expertLabel")}
|
||||||
className="composer-picker--expert"
|
className="composer-picker--expert"
|
||||||
|
|||||||
@@ -73,6 +73,8 @@ app.whenReady().then(async () => {
|
|||||||
const scenarios: object[] = []
|
const scenarios: object[] = []
|
||||||
try {
|
try {
|
||||||
await win.loadURL(process.env.GB_MCP_URL!)
|
await win.loadURL(process.env.GB_MCP_URL!)
|
||||||
|
await js('window.goodbuddy.updates.updateSettings({heartbeatEnabled:true})')
|
||||||
|
await wait('document.body.innerText.includes("Supervisor") || document.body.innerText.includes("监督")')
|
||||||
await open()
|
await open()
|
||||||
assert.equal(await binding.available(), true)
|
assert.equal(await binding.available(), true)
|
||||||
for (const width of [1280, 390]) for (const theme of ['light', 'dark']) {
|
for (const width of [1280, 390]) for (const theme of ['light', 'dark']) {
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ app.whenReady().then(async () => {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
await win.loadURL(process.env.GB_MCP_URL!)
|
await win.loadURL(process.env.GB_MCP_URL!)
|
||||||
|
await js('window.goodbuddy.updates.updateSettings({heartbeatEnabled:true})')
|
||||||
await wait('!!document.querySelector(".composer textarea") && document.body.innerText.includes("Keep until confirmed")')
|
await wait('!!document.querySelector(".composer textarea") && document.body.innerText.includes("Keep until confirmed")')
|
||||||
await assertNoMode('.composer')
|
await assertNoMode('.composer')
|
||||||
await click('.composer__options-trigger')
|
await click('.composer__options-trigger')
|
||||||
|
|||||||
Reference in New Issue
Block a user