Commit 708f8da
Feat: Log Search Frontend, Part I (#2830)
* feat: initial work on new logs component
* feat: improve autocomplete, refactor a bit
* refactor: remove some unused stuff
* refactor: more cleanup
* fix: on click handler
* refactor: remove duped data, do some cleanup
* chore: simplify a bunch
* fix: pass level through
* chore: cleanup
* fix: tsc
* chore: remove a bunch more stuff
* chore: comments
* fix: revert existing log component, add new filterable one
* refactor: create use logs hook, simplify step-run-logs.tsx
* chore: rename
* chore: rename
* chore: fix tsc
* feat: add a flag to enable the new experience
* chore: lint
* feat: provider
* chore: lint
* fix: cursor jumping
* feat: try to use ghostty-web for rendering log lines instead of ansiToHtml (#2831)
* feat: try to use ghostty-web for rendering log lines instead of ansiToHtml
* feat: light theme and a bunch of perf improvements
* integrate log viewer with terminal viewer
* fix: lint
* pr review comments
* fix: start getting the log viewer scrolling properly again
* fix: more scroll improvements
* feat: replace ghostty
* chore: cleanup
* fix: dynamic height and width
* chore: lint
* chore: format css
* chore: remove unused ref and styles
* chore: cleanup
* fix: terminal styling
* fix: scroll behavior / polling behavior while tasks are running still
* fix: jump to top on search change
* fix: improve loading / empty states
* chore: lint
* fix: status
* fix: enter to submit search
* fix: remove color var to fix ansi highlighting
* feat: expand / collapse on click
* chore: rm unused code
* Add edge detection for scroll callbacks to prevent repeated API calls (#2844)
* Initial plan
* Add edge detection for scroll callbacks to prevent spam
Co-authored-by: mrkaye97 <[email protected]>
* Add clarifying comments about region state reset behavior
Co-authored-by: mrkaye97 <[email protected]>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: mrkaye97 <[email protected]>
* Fix polling loop to prevent overlapping requests in log search (#2845)
* Initial plan
* Fix polling loop to prevent overlapping requests using setTimeout chaining and in-flight guard
Co-authored-by: mrkaye97 <[email protected]>
* Use useRef hooks for polling state and timeout to persist across renders
Co-authored-by: mrkaye97 <[email protected]>
* Add proper cleanup to clear timeout and reset polling state
Co-authored-by: mrkaye97 <[email protected]>
* Add clarifying comment about polling state cleanup
Co-authored-by: mrkaye97 <[email protected]>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: mrkaye97 <[email protected]>
* chore: lint
* fix: dedupe log lines
* fix: remove duped component
* fix: pass order by direction
---------
Co-authored-by: abelanger5 <[email protected]>
Co-authored-by: Copilot <[email protected]>1 parent e6bfb09 commit 708f8da
File tree
17 files changed
+1185
-561
lines changed- frontend/app
- src
- components/v1/cloud/logging
- components
- log-search
- pages/main/v1
- managed-workers/$managed-worker/components
- workflow-runs-v1/$run/v2components/step-run-detail
17 files changed
+1185
-561
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 117 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
Lines changed: 85 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
0 commit comments