mirror of
https://github.com/stablyai/orca.git
synced 2026-11-14 01:47:24 +00:00
* Adjust Chat UI announcement rollout and show a nonblocking card - Assign new profiles to an 80/20 control and treatment experiment, with treatment split between all users and eligible harnesses. - Show terminal-default users a corner card and record targeting assignments to measure outcomes. * Refine the Chat UI announcement card layout and copy * Add live switching demo to Chat UI launch tip experiment * fix test * Shorten Chat UI announcement telemetry documentation * Add a swapped-button cohort to the Chat UI launch tip - Assign 10% of new enrollments to the new variant while preserving existing assignments. - Track live-switching link exposure and simplify the demo copy. * Adjust Chat UI launch tip rollout and switching options - Add a centered dialog cohort and independently vary button emphasis. - Target users who have not switched and allow switching back to terminal. - Record live-switching exposure only when the link is visible. * Validate persisted chat tip emphasis before initializing telemetry * Target chat UI launch tips using the current default surface Freeze eligibility at enrollment while preserving the historical audience.
27 lines
799 B
TypeScript
27 lines
799 B
TypeScript
import { resolve } from 'node:path'
|
|
import { mergeConfig } from 'vite'
|
|
import webConfig from '../vite.web.config'
|
|
|
|
// Dev-only component fixture explorer; never part of a production build input.
|
|
export default mergeConfig(webConfig, {
|
|
tsconfig: resolve('config/tsconfig.web.json'),
|
|
cacheDir: resolve('.cache/vite/fixtures'),
|
|
base: '/',
|
|
server: {
|
|
host: '127.0.0.1',
|
|
warmup: {
|
|
clientFiles: ['./src/component-fixtures/component-fixture-explorer.tsx']
|
|
}
|
|
},
|
|
// Pre-crawl fixtures to prevent lazy dependency re-optimization from loading two React copies.
|
|
optimizeDeps: {
|
|
entries: ['fixtures.html', 'src/**/*.fixture.tsx']
|
|
},
|
|
build: {
|
|
outDir: resolve('.cache/fixtures/build'),
|
|
rollupOptions: {
|
|
input: resolve('src/renderer/fixtures.html')
|
|
}
|
|
}
|
|
})
|