feat: unify execution and add workspace file imports
Remove Ask/Execute modes and general product tool approvals so requests use the selected runtime, enabled capabilities, and execution account permissions. Migrate retired application metadata while preserving user content. Retire the Results page while retaining conversation images and stored artifacts. Add local and remote workspace file imports, timestamps and sorting, improve image discovery and saving, and refine workspace navigation and supervision responsiveness. Include the accompanying web-search changes, tests, probes, and product documentation. Remote imports require an updated Agent. Existing artifacts are not automatically copied into project directories. Validation evidence and outstanding failures remain documented in feature progress files; no full test suite or real-model calls were rerun for this commit. Release note: Run requests without switching work modes, import files into a selected local or remote workspace folder, sort workspace files by date, and keep using conversation images after removal of the Results page.
This commit is contained in:
@@ -128,7 +128,7 @@ app.whenReady().then(async () => {
|
||||
await settle()
|
||||
const scroll = "document.querySelector('.workbar-shell__tab-scroll')"
|
||||
for (const many of [false, true]) {
|
||||
if (many) { await click('#many-tabs'); await wait('document.querySelectorAll("[role=tab]").length===16') }
|
||||
if (many) { await click('#many-tabs'); await wait('document.querySelectorAll("[role=tab]").length===15') }
|
||||
await addVisible()
|
||||
assert(await js(`(() => {
|
||||
const s=${scroll}.getBoundingClientRect(),buttons=[...document.querySelectorAll('.workbar-shell__scroll-button')];
|
||||
@@ -162,7 +162,7 @@ app.whenReady().then(async () => {
|
||||
await click('.workbar-shell__add')
|
||||
await wait('!!document.querySelector(".workbar-shell__catalog")')
|
||||
await click('.workbar-shell__catalog-choice:has(.workbar-shell__app-icon--browser)')
|
||||
await wait('document.querySelectorAll("[role=tab]").length===17 && !document.querySelector(".workbar-shell__catalog")')
|
||||
await wait('document.querySelectorAll("[role=tab]").length===16 && !document.querySelector(".workbar-shell__catalog")')
|
||||
await addVisible()
|
||||
await key('Left')
|
||||
await wait('document.querySelector(".workbar-shell__tab-item:nth-last-child(2) [role=tab]").getAttribute("aria-selected")==="true"')
|
||||
@@ -175,8 +175,8 @@ app.whenReady().then(async () => {
|
||||
await wait('!document.querySelector(".workbar-shell__scroll-button:last-child").disabled')
|
||||
const closingId = await js('document.querySelector(".workbar-shell__tab-item--active [role=tab]").id')
|
||||
await click('.workbar-shell__tab-item--active .workbar-shell__tab-close')
|
||||
await wait(`document.querySelectorAll('[role=tab]').length===16 && !document.getElementById(${JSON.stringify(closingId)})`)
|
||||
observations.push({ locale, theme, workbar: 'default and 16 long tabs; native add/catalog/create, arrows, Home/End, close at right viewport edge with right arrow enabled' })
|
||||
await wait(`document.querySelectorAll('[role=tab]').length===15 && !document.getElementById(${JSON.stringify(closingId)})`)
|
||||
observations.push({ locale, theme, workbar: 'default and 15 long tabs; native add/catalog/create, arrows, Home/End, close at right viewport edge with right arrow enabled' })
|
||||
|
||||
await win.loadURL(`${process.env.GB_LAYOUT_URL}?surface=settings&locale=${locale}&theme=${theme}`)
|
||||
await wait('!!document.querySelector(".model-connection-detail select")')
|
||||
@@ -189,7 +189,7 @@ app.whenReady().then(async () => {
|
||||
font: getComputedStyle(nav.querySelector('strong')).fontSize };
|
||||
})()`)
|
||||
assert.deepEqual(navigation.ids, ['appearance', 'platform-features', 'model', 'context-control', 'runtime',
|
||||
'document-parsing', 'channels', 'roles', 'capabilities', 'security', 'about'].map(id => `settings-tab-${id}`))
|
||||
'document-parsing', 'channels', 'roles', 'capabilities', 'about'].map(id => `settings-tab-${id}`))
|
||||
assert.equal(navigation.groups, 4)
|
||||
assert.equal(navigation.descriptions, 0)
|
||||
assert.equal(navigation.font, '13px')
|
||||
|
||||
Reference in New Issue
Block a user