David
b6a0c89dc5
ui replay: record lossless to fix big replay diff ( #37237 )
...
* add RECORD_LOSSLESS and enable for replays
* use RECORD_QUALITY instead
* comment
* clarify comment
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* clarify comment
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-18 15:21:17 -08:00
David
a6f4cdb319
ui replay: remove fps limiting during headless replay ( #37241 )
...
use OFFSCREEN during headless replay for no fps limiting
2026-02-18 15:20:55 -08:00
David
b80d3e113b
ui diff: better diff report on mobile ( #37255 )
...
* Add HTML template for UI diff report
* update .gitignore
* empty line
* use proper html tags
* remove paragraph tags
* simplify paths
* use h3
* use simpler replace instead; dynamically generate videos
* update diff html styling
* remove unnecessary
* fix
* use h4 instead
* padding on h4
* adjust heading margin
* revert
* use h4 again
* remove viewport
* Revert "remove viewport"
This reverts commit 7636920e556fc06bbd65cff7ecb4c3d31b11024d.
2026-02-18 15:20:25 -08:00
David
d984fb1bae
ui diff replay: better display replays of different lengths ( #37116 )
...
* refactor: improve video synchronization logic in HTML report generation
* feat: include description of which video is longer in report; refactor stuff and add types
* refactor: simplify HTML report generation and remove extra formatting
* reduce diff
* fix video name
* reduce diff
* reduce diff
* fix
* parentheses
* fix I guess
2026-02-16 14:32:37 -08:00
David
3661a01489
ui diff: compare frame hashes instead of temp files ( #37154 )
...
* refactor: streamline frame comparison by using frame hashes instead of extracting frames
* add vsync
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-16 14:05:43 -08:00
Adeeb Shihadeh
8831b11a24
remove old raylib screenshot tool ( #37225 )
2026-02-15 20:11:17 -08:00
David
03a4f7ef9a
ui: add big (tizi) replay ( #37198 )
...
* init: tizi_replay.py from pr 37123
* separate coverage folder
* ui replay: adjust HOLD constant, fix coverage, use separate folder for coverage
* openpilot prefix
* fix directory
* fix ui_state
* fix settings click pos
* remove
* attempt merge replay files
* remove
* todo
* fix recording
* spacing
* simplify
* comment
* refactor hold
* refactor: remove layout definitions from VARIANTS and import conditionally in run_replay
* refactor: remove VARIANTS config
* add argparser with --big flag and improve coverage sources
* refactor
* lowercase
* refactor: combine scripts
* add types
* refactor: move imports for gui_app and ui_state to improve coverage and organization
* update
* update script
* comment
* fix headless
* todo
* fix: get_time and get_frame_time determinism
* todo
* remove file accidently commited
* fix: improve inject_click and handle_event for deterministic event timestamps
* comment
* simplify add
* refactor script building
* fix mici clicks
* pass in pm
* fix wifi state
* refactor clicks
* more refactor
* click cancel instead of remove overlay
* setup_send_fn
* add setup fn
* dummy update
* change
* remove todo
* rename fn to frame_fn
* refactor
* fix workflow
* rename raylib ui preview to old
* rename mici workflow
* fix diff videos
* ignore sub html and mp4 files
* rename for diff
* rename for diff again (mici)
* use ScriptEvent instead of DummyEvent, and move mouse events directly to it; rename hold to wait
* fix: only import MouseEvent for type hint to fix coverage
* adjust settings button click
* clarify
* move ScriptEvent to replay_script
* add handle_event function
* remove passing in setup function, and refactor click events
* clean
* formatting
* refactor
* no import
* comment
* refactor
* refactor setup functions to replay_setup
* refactor
* add ReplayContext
* refactor
* move more setup functions
* refactor and simplify
* refactor
* refactor: add Script class
* refactor: enhance Script event handling and add wait functionality
* refactor
* remove setup_and_click
* use script.setup instead
* comments
* rename wait_frames to wait_after
* add comments
* revert workflows
* revert rename
* move arg parsing to main
* remove quotes
* add type
* return types
* type
* VariantType
* rename to LayoutVariant
* clarify
* switch
* todo
* Revert "fix diff videos"
This reverts commit 7a6e45a409cb7e6d7a330317639fcee74ef8bd31.
* add todos
* add more coverage
* wait 2 frames by default
* add comment
* comment
* switch
* fix space
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* remove extra
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Remove unnecessary blank line in ReplayContext class
* simplify
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2026-02-15 20:03:30 -08:00
David
ecde604198
ui replay: use openpilot prefix ( #37185 )
...
* fix: use openpilot prefix
* fix ui_state import
* comment
2026-02-14 13:21:09 -08:00
David
4af41ffce6
ui diff: ensure video name matches output ( #37211 )
...
* auto name diff.mp4
* ensure output file has .html extension
2026-02-14 13:20:44 -08:00
David
9b7bf4a101
mici ui replay: fix indeterminism with swiping and animations ( #37110 )
...
* fix: get_time and get_frame_time determinism
* remove some hackiness
* don't need that
2026-02-13 09:26:14 -08:00
David
7665045fc6
ui replay: fix coverage reporting to include imports ( #37180 )
...
Fix coverage reporting by adjusting MiciMainLayout import
2026-02-12 10:46:34 -08:00
David
bcb13a7229
ui diff replay: remove unused frame_data list for individual frame display ( #37117 )
...
Remove unused base64 encoding and simplify frame data handling in diff video report
2026-02-07 14:19:08 -08:00
Shane Smiskol
f78bacf96b
mici ui replay: temp remove swipes ( #36818 )
...
hmm it IS nondeterm
2025-12-09 15:38:43 -08:00
Shane Smiskol
8d9e203130
raylib ui diff: swipe around ( #36807 )
...
* swipe support
* swipe around
* same
2025-12-08 19:25:09 -08:00
Adeeb Shihadeh
fb807cc007
ui: video diff tool ( #36737 )
...
* video diff
* format
* duplicate
* try
* WINDOWED
* ?
* correct res
* Revert "correct res"
This reverts commit f90991192fce93a31d1b581a4f0ff93a7a972337.
* save to report/
* add duplicate
* work?
* fix
* more
* more
* and this
* ffmpeg
* branch
* uncmt
* test preview
* Revert "uncmt"
This reverts commit b02404dbbe515fd861717f831c7bb0243442ddbc.
* create openpilot_master_ui_mici_raylib
* ahh
* push to master
* copy and always run
* test
* does cmt break it?
* who did this
* fix?
* fix that
* hmm
* hmm
* ah this was moving it, and then the job below didn't run on master
* google ai overview lied to me
* use markdown to start
* need to add to one branch
* ????
* oof
* no
* this work?
* test
* try this
* clean up master branch name
* more cleanup
more cleanup
* don't fail for no diff!
don't fail for no diff!
* back
* add to cmt
* test it
* should work
* fix that
* back
* clean up
* clean up
* save to report
* pull_request_target
* sort
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-12-08 18:39:47 -08:00
Dean Lee
749e236bc0
ui: fix EGL_BAD_MATCH error when running profile_onroad.py on device ( #36608 )
...
fix failed to create EGL image:12297 error on device
2025-11-30 16:06:33 -08:00
Adeeb Shihadeh
f0d8ebd851
mici training guide tuneups ( #36652 )
...
* bump up size
* lil more
* rm param
* 5m timeout and 100% brightness
* set parasm:
2025-11-19 15:03:28 -08:00
Shane Smiskol
3aaf249236
comma four ( #36639 )
...
* squash squash squash
* scroller tici
2025-11-18 22:27:45 -08:00
Adeeb Shihadeh
ee8970dc42
ui: add route-based profiler ( #36576 )
...
* ui: add route-based profiler
* cleanup
* this is stupid
2025-11-05 16:23:33 -08:00
David
0a44b48e21
gitignore: add raylib test UI screenshots report path ( #36570 )
...
ui: update .gitignore to include raylib_report
2025-11-05 10:35:56 -08:00
Maxime Desroches
8a77534d02
fix zipapp with multilang ( #36511 )
...
* fix
* fix
* fix
* more
2025-10-27 22:47:41 -07:00
David
73ed45f9d7
ui screenshots: add screenshot for unifont rendering ( #36506 )
...
* ui: add homescreen setup for unifont language setting
* fix params
2025-10-27 20:00:01 -07:00
David
debc9bf7cf
screenshots: reuse alert setup function ( #36473 )
...
ui: refactor onroad alert setup functions for improved reusability
2025-10-27 13:32:15 -07:00
Shane Smiskol
ab234c72a3
wait slightly longer to take screenshot
2025-10-23 00:55:31 -07:00
Shane Smiskol
1e73025f86
Remove Qt ( #36427 )
...
* rm qt from ui scons
* rm qt translation litter
* rm ccs
* more
* fix cabana
* more
* more
* more
2025-10-22 22:18:07 -07:00
Shane Smiskol
8f720a54f6
raylib: add branch switcher ( #36359 )
...
* it's adversarial
* try 2
* just do this
* kinda works but doesn' tmatch
* fine
* qt is banned word
* test
* fix test
* add elide support to Label
* fixup
* Revert "add elide support to Label"
This reverts commit 28c3e0e7457345083d93f7b6a909a4103bd50d55.
* Reapply "add elide support to Label"
This reverts commit 92c2d6694146f164f30060d7621e19006e2fe2df.
* todo
* elide button value properly + debug/stash
* clean up
* clean up
* yep looks good
* clean up
* eval visible once
* no s
* don't need
* can do this
* but this also works
* clip to parent rect
* fixes and multilang
* clean up
* set target branch
* whops
2025-10-22 18:54:09 -07:00
Shane Smiskol
3381192297
Multilang: remove main prefix ( #36406 )
...
* rename
* fix
2025-10-20 18:35:34 -07:00
David
646f6a1006
raylib screenshots: alpha long toggle confirmation dialog ( #36386 )
...
add alpha long toggle confirmation test
2025-10-17 17:27:13 -07:00
Shane Smiskol
65e1fd299e
raylib: fix full size alert text ( #36379 )
...
* stash so far
* try this
* better
* fast
* rename
* revert
* clean up
* yes
* hack to make it work for now
* actually fix
* fix
2025-10-15 22:53:37 -07:00
Shane Smiskol
b29b1964ba
raylib screenshots: test onroad ( #36369 )
...
* test onroad
* person
* onroad alert
* mid and full
* all
* can do this
* tf
* tf
* clean up
2025-10-15 22:10:55 -07:00
Shane Smiskol
57223958b5
raylib screenshots: add more homescreen states ( #36356 )
...
* hmm can do yeidl approach
* clean up
* clean up
* flip
* and add paired + prime
* sort and add update params
* try
* all should have branch name
* test
* clean up
* add offroad alert to update screen
2025-10-14 23:56:15 -07:00
David
0c64818f52
Add screenshot for advanced network settings ( #36351 )
...
add screenshot for advanced network settings
2025-10-14 21:36:04 -07:00
David
41fa0cdf82
fix cycle offroad alerts ( #36302 )
...
* fix: use parse_release_notes in cycle_offroad_alerts
* fix: set update available param true
* Update selfdrive/ui/tests/cycle_offroad_alerts.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-10-13 14:07:11 -07:00
David
692f5fdd72
Add screenshot for experimental mode description (raylib UI test) ( #36327 )
...
* feat: add test case to expand experimental mode description
* Update selfdrive/ui/tests/test_ui/raylib_screenshots.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-10-13 13:56:47 -07:00
Shane Smiskol
de0a1e66d8
software download screenshot ( #36326 )
...
* software
* clean up
* Qt ButtonControl has 0 padding
* clean up
* clean up
2025-10-13 13:54:50 -07:00
Shane Smiskol
b3eba70b7a
raylib: flip! ( #36319 )
...
* flip!
* add ui
* ?
* qt is extra
* low node
* add uiDebug
* fix
* fix dat
* bump double increase for tol
* it's ~11ms but double for tol
* fix report
* Update selfdrive/test/test_onroad.py
2025-10-11 07:41:29 -07:00
Shane Smiskol
d6651ccd82
raylib: implement developer panel ( #36292 )
...
* first pass by cursor
* fix
* tell it what's good
* stash
* desc
* clean up junk
* alpha long can't use onroad cycle again due to faults
* lint
* fix kb
2025-10-09 23:09:55 -07:00
Shane Smiskol
bd9888a439
raylib screenshots: add software release notes ( #36259 )
...
add software
2025-10-03 21:29:20 -07:00
Shane Smiskol
844c328625
raylib screenshots: prevent saving black frame
...
raylib screenshots: prevent saving black frame
2025-10-03 17:59:19 -07:00
Shane Smiskol
39b97d4e18
raylib screenshots: use long branch name ( #36254 )
...
* stress test
* everything
2025-10-03 17:50:02 -07:00
Shane Smiskol
45f497e8f6
raylib screenshots: add mouse click helper ( #36253 )
...
* add helper
* rm
* name
* fix
2025-10-03 17:46:39 -07:00
Shane Smiskol
edc5a0412c
rename to setup_settings
2025-10-03 17:35:10 -07:00
Shane Smiskol
9670e3a5eb
raylib: add confirmation dialog ( #36252 )
...
* conf
* update case
* fix
* fix
* rm
* back
* alread setup
* avail
2025-10-03 17:34:53 -07:00
Shane Smiskol
7b2b10bc9e
raylib screenshots: raise ui delay
2025-10-03 17:34:22 -07:00
Shane Smiskol
75e52427d1
raylib: fix when we show offroad alerts and styles ( #36240 )
...
* fix how we show alerts
* test this too
* match border radius
* simplifty
* keep
* back
* fix alert spacing
* fix alert text padding
* cmt
* cmt
2025-10-02 22:53:02 -07:00
Shane Smiskol
21fd3d0320
raylib: use extra text in offroad alerts ( #36241 )
...
* replace properly
* test
2025-10-02 21:21:50 -07:00
Shane Smiskol
ef93981bfa
raylib: ui diff test ( #36213 )
...
* add raylib ui test
* match qt
* exe
* vibing is epic
* this is epic
* format
* add more settings
* fix to actually use raylib
* add kb
* global
* pair
* rm cmts
* show event
* this is so stupid
clean up
* clean up
* rename dir
* clean up
* no more vibe
* rm
* ugh it's always slightly different for no reason
* nvm region is actually broken
* 1l
2025-09-27 02:37:35 -07:00
Adeeb Shihadeh
3e2549f2b8
remove tici-specific code ( #36078 )
...
* remove tici-specific code
* lil more
* update those
2025-08-28 08:19:39 -07:00
Adeeb Shihadeh
4d55671b17
feedbackd: temp disable LKAS button as feedback ( #36017 )
...
* feedbackd: temp disable LKAS button as feedback
* disable that
* mark
2025-08-18 18:57:16 -07:00
Shane Smiskol
5117a8c3a6
ui: test raylib ui ( #35949 )
...
* add raylib ui
* test
* this is better for now
* rm
rm
* finalize it
* need this?
* ?
* shite
shite
* try
* ?
* huh
* simp
* ?
* wtf is going on
* ???????????????
* lock
* stash
* no 2 packages
* Revert "stash"
This reverts commit 9efb0d9bda6a6309e7a567634d1921bf1cd0fb59.
* debug
* noo
* debug
* ?
* and
* yeah yeah
* init one
* 2
* i wonder
* oooh
* make sure
* fix dat
* try this
* see if wifiman
* forgot
* ?
* ???
* fuck this we can rewrite it later
2025-08-08 00:34:53 -07:00