-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tray): performance and UX improvements
* write_video_event; pre_callback/post_callback * add Recording.config; read Screenshot.image from video; asserts if diff_video * add FrameCache * maybe_obfuscate; video_dir_path; event_type_modifier * update .gitignore * replace notifypy with pyqttoast * add video event to perf_q; fix documentation * add build.py main guard * reduce visualize import time * add RedirectOutput.null_stream * add on_ready argument to record; remove Notify * add task description input dialog; replace QTimer with Connection * configure replay strategy * handle argument types in replay dialog; remove replay_instructions where not used * show "No recordings available" * add delete menu * on_ready -> status_pipe; oaThread -> Thread; disable app action; sticky toasts; log_memory arg; view_file false * pass args to strategy class; add Config.ROOT_DIR_PATH; matplotlib use Qt5Agg * remove extensions.thread * Union -> | * fix mouse playback bug; sleep in NaiveReplayStrategy * improve parse_code_snippet; validate ActionEvent properties; fix ActionEvent.from_dict * fix: timestamp int -> float * fix: redundant_mouse_move -> remove_move_before_click * add ActionEvent.reducer_names * add common.MOUSE_CLICK_EVENTS; remove sleep in naive.py; disable remove_move_before_click * fix: num_total -> num_total_ * RECORD_FULL_VIDEO; LOG_MEMORY; num_copies * visualize recording_timestamp * black * flake8 * fix tests: add row2dicts drop_cols * replay status pipe * ignore reducer_names in get_action_prompt_dict
- Loading branch information
Showing
31 changed files
with
1,420 additions
and
538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,4 @@ src | |
|
||
dist/ | ||
build/ | ||
videos/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
openadapt/alembic/versions/8495f5471e23_add_recording_config.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
"""add Recording.config | ||
Revision ID: 8495f5471e23 | ||
Revises: 30a5ba9d6453 | ||
Create Date: 2024-05-02 15:08:30.109181 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = "8495f5471e23" | ||
down_revision = "30a5ba9d6453" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
with op.batch_alter_table("recording", schema=None) as batch_op: | ||
batch_op.add_column(sa.Column("config", sa.JSON(), nullable=True)) | ||
|
||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
with op.batch_alter_table("recording", schema=None) as batch_op: | ||
batch_op.drop_column("config") | ||
|
||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.