[verified] refactor: remove codex-pool references
This commit is contained in:
@@ -546,8 +546,7 @@ function ConnectAccountDialog() {
|
||||
/>
|
||||
</div>
|
||||
<div className="rounded-2xl border border-white/10 bg-white/4 p-4 text-sm leading-6 text-slate-400">
|
||||
CodexDash reuses the Codex public-client login shape discovered in
|
||||
codex-pool, but presents it as an integrated popup flow with a manual pasted-URL fallback instead of asking you to paste cookies manually.
|
||||
CodexDash opens the official OpenAI sign-in flow in a popup and also supports a manual pasted-URL fallback when the local callback bridge is unavailable.
|
||||
</div>
|
||||
<Button className="w-full" disabled={startMutation.isPending} type="submit">
|
||||
{startMutation.isPending ? 'Preparing login…' : 'Continue to OpenAI'}
|
||||
|
||||
20
apps/web/test/legacy-upstream-copy-removal.test.js
Normal file
20
apps/web/test/legacy-upstream-copy-removal.test.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import { describe, expect, test } from 'bun:test';
|
||||
import { readFileSync } from 'node:fs';
|
||||
import { join } from 'node:path';
|
||||
|
||||
const appSource = readFileSync(join(import.meta.dir, '../src/App.tsx'), 'utf8');
|
||||
const readmeSource = readFileSync(join(import.meta.dir, '../../../README.md'), 'utf8');
|
||||
const legacyProjectName = ['codex', 'pool'].join('-');
|
||||
const legacyRepoPath = ['darvell', legacyProjectName].join('/');
|
||||
|
||||
describe('legacy upstream copy removal', () => {
|
||||
test('removes legacy upstream references from the web app copy', () => {
|
||||
expect(appSource).not.toContain(legacyProjectName);
|
||||
expect(appSource).not.toContain('public-client login shape discovered in');
|
||||
});
|
||||
|
||||
test('removes legacy upstream references from the README', () => {
|
||||
expect(readmeSource).not.toContain(legacyProjectName);
|
||||
expect(readmeSource).not.toContain(legacyRepoPath);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user