mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## What changed - Render a rotating Codex logo in unused space above the composer on fresh conversations, without moving content or the cursor. - Fade and pause the logo while drafting or unfocused, hide it on alternate views, and dismiss it after submission or conversation activity. Respect disabled animations and stop after three rotations with a fade out. - Replace the onboarding ASCII frame variants with the shared logo renderer, retaining a faded logo after the animation ends and allowing the existing shortcut to replay it. ## Testing Add rendering and integration tests for logo placement, visibility, pause/resume timing, completion, and preservation of the draft, cursor, header, and footer. Add snapshots for fresh conversations and the onboarding welcome layout. GitOrigin-RevId: b98c7dd10acea3ef25d6c1495ed22c24202d6280
26 lines
726 B
Python
26 lines
726 B
Python
load("//:defs.bzl", "MACOS_WEBRTC_RUSTC_LINK_FLAGS", "codex_rust_crate")
|
|
|
|
codex_rust_crate(
|
|
name = "tui",
|
|
binaries_with_build_commit = ["codex-tui"],
|
|
compile_data = glob([
|
|
"assets/**",
|
|
]),
|
|
crate_name = "codex_tui",
|
|
extra_binaries = [
|
|
"//codex-rs/cli:codex",
|
|
],
|
|
integration_compile_data_extra = ["src/test_backend.rs"],
|
|
rustc_flags_extra = MACOS_WEBRTC_RUSTC_LINK_FLAGS,
|
|
test_data_extra = glob([
|
|
"src/**/*.rs",
|
|
"src/**/snapshots/**",
|
|
"tests/fixtures/**",
|
|
]),
|
|
test_shard_counts = {
|
|
"tui-unit-tests": 8,
|
|
},
|
|
# The startup symlink test applies its own Seatbelt policy, which cannot be nested.
|
|
test_tags = ["no-sandbox"],
|
|
)
|