Streaming Tests#640
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f094e95129
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
f094e95 to
4712a8b
Compare
4712a8b to
827127b
Compare
827127b to
04cd7a6
Compare
This at least organizes/hides some of the craziness
…React Much better performance, a lot less fuckery
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9a84dd4846
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
d310bd2 to
1a8dcd1
Compare
* Better support flattened changes * Refactor API to use .diff (but maintain .patch compat) * Add diff stats * Rework fetching into an improve system * Rename GHViewer to ReviewUI * Fix diffIndicators triggering UI updates on change in CodeView That's what i get for not testing all my features, :kek: * Added a new proper export type for DiffIndicators * Updated areas in the codebase that used the inline stuff * Refactored virtualization logic a bit for setOptions and how it it can manage updates * Hopefully more future proof and cleaner code to reason about * Add support for setting diffIndicators in diffshub * tweak styles for folders * Improve error and fetching states * Revamp stats and monitor * new home faq for examples * Smol mb tweak to diff stats? * Streaming Tests (#640) * Improve React/VanillaJS APIs for streaming scenarios * First version of streaming diff system... it's really sorta slopped in terms of how code is organized and used, a lot of inline shit and a lot to wrap my head around. The real fix would be a sort of class based imperative system for managing state, that can expose apis and stuff for more performant mutations. * Refactor streaming system into usePatchLoader This at least organizes/hides some of the craziness * Implement new imperative APIs for CodeView, and make it an option in React Much better performance, a lot less fuckery * Remove old max line check (it no longer matters) * PR feedback that wasn't real, despite AI really wanted to `well actually` me * Update docs for new imperative APIs for CodeView * Add support for githubusercontent.com * improve url examples * Rewrite url to more reflect new API * Fix potential bug with trailing slashes * Fix WorkerPool rendering race condition Don't allow the diffs to render if the worker pool is not initialized * Fix staggered loading * Fix loading state bug with new workerPool status * Harden managing worker pool state --------- Co-authored-by: Mark Otto <markdotto@gmail.com>
* Improve React/VanillaJS APIs for streaming scenarios * First version of streaming diff system... it's really sorta slopped in terms of how code is organized and used, a lot of inline shit and a lot to wrap my head around. The real fix would be a sort of class based imperative system for managing state, that can expose apis and stuff for more performant mutations. * Refactor streaming system into usePatchLoader This at least organizes/hides some of the craziness * Implement new imperative APIs for CodeView, and make it an option in React Much better performance, a lot less fuckery * Remove old max line check (it no longer matters) * PR feedback that wasn't real, despite AI really wanted to `well actually` me * Update docs for new imperative APIs for CodeView
* Better support flattened changes * Refactor API to use .diff (but maintain .patch compat) * Add diff stats * Rework fetching into an improve system * Rename GHViewer to ReviewUI * Fix diffIndicators triggering UI updates on change in CodeView That's what i get for not testing all my features, :kek: * Added a new proper export type for DiffIndicators * Updated areas in the codebase that used the inline stuff * Refactored virtualization logic a bit for setOptions and how it it can manage updates * Hopefully more future proof and cleaner code to reason about * Add support for setting diffIndicators in diffshub * tweak styles for folders * Improve error and fetching states * Revamp stats and monitor * new home faq for examples * Smol mb tweak to diff stats? * Streaming Tests (#640) * Improve React/VanillaJS APIs for streaming scenarios * First version of streaming diff system... it's really sorta slopped in terms of how code is organized and used, a lot of inline shit and a lot to wrap my head around. The real fix would be a sort of class based imperative system for managing state, that can expose apis and stuff for more performant mutations. * Refactor streaming system into usePatchLoader This at least organizes/hides some of the craziness * Implement new imperative APIs for CodeView, and make it an option in React Much better performance, a lot less fuckery * Remove old max line check (it no longer matters) * PR feedback that wasn't real, despite AI really wanted to `well actually` me * Update docs for new imperative APIs for CodeView * Add support for githubusercontent.com * improve url examples * Rewrite url to more reflect new API * Fix potential bug with trailing slashes * Fix WorkerPool rendering race condition Don't allow the diffs to render if the worker pool is not initialized * Fix staggered loading * Fix loading state bug with new workerPool status * Harden managing worker pool state --------- Co-authored-by: Mark Otto <markdotto@gmail.com>
* Better support flattened changes * Refactor API to use .diff (but maintain .patch compat) * Add diff stats * Rework fetching into an improve system * Rename GHViewer to ReviewUI * Fix diffIndicators triggering UI updates on change in CodeView That's what i get for not testing all my features, :kek: * Added a new proper export type for DiffIndicators * Updated areas in the codebase that used the inline stuff * Refactored virtualization logic a bit for setOptions and how it it can manage updates * Hopefully more future proof and cleaner code to reason about * Add support for setting diffIndicators in diffshub * tweak styles for folders * Improve error and fetching states * Revamp stats and monitor * new home faq for examples * Smol mb tweak to diff stats? * Streaming Tests (#640) * Improve React/VanillaJS APIs for streaming scenarios * First version of streaming diff system... it's really sorta slopped in terms of how code is organized and used, a lot of inline shit and a lot to wrap my head around. The real fix would be a sort of class based imperative system for managing state, that can expose apis and stuff for more performant mutations. * Refactor streaming system into usePatchLoader This at least organizes/hides some of the craziness * Implement new imperative APIs for CodeView, and make it an option in React Much better performance, a lot less fuckery * Remove old max line check (it no longer matters) * PR feedback that wasn't real, despite AI really wanted to `well actually` me * Update docs for new imperative APIs for CodeView * Add support for githubusercontent.com * improve url examples * Rewrite url to more reflect new API * Fix potential bug with trailing slashes * Fix WorkerPool rendering race condition Don't allow the diffs to render if the worker pool is not initialized * Fix staggered loading * Fix loading state bug with new workerPool status * Harden managing worker pool state --------- Co-authored-by: Mark Otto <markdotto@gmail.com>
* Better support flattened changes * Refactor API to use .diff (but maintain .patch compat) * Add diff stats * Rework fetching into an improve system * Rename GHViewer to ReviewUI * Fix diffIndicators triggering UI updates on change in CodeView That's what i get for not testing all my features, :kek: * Added a new proper export type for DiffIndicators * Updated areas in the codebase that used the inline stuff * Refactored virtualization logic a bit for setOptions and how it it can manage updates * Hopefully more future proof and cleaner code to reason about * Add support for setting diffIndicators in diffshub * tweak styles for folders * Improve error and fetching states * Revamp stats and monitor * new home faq for examples * Smol mb tweak to diff stats? * Streaming Tests (#640) * Improve React/VanillaJS APIs for streaming scenarios * First version of streaming diff system... it's really sorta slopped in terms of how code is organized and used, a lot of inline shit and a lot to wrap my head around. The real fix would be a sort of class based imperative system for managing state, that can expose apis and stuff for more performant mutations. * Refactor streaming system into usePatchLoader This at least organizes/hides some of the craziness * Implement new imperative APIs for CodeView, and make it an option in React Much better performance, a lot less fuckery * Remove old max line check (it no longer matters) * PR feedback that wasn't real, despite AI really wanted to `well actually` me * Update docs for new imperative APIs for CodeView * Add support for githubusercontent.com * improve url examples * Rewrite url to more reflect new API * Fix potential bug with trailing slashes * Fix WorkerPool rendering race condition Don't allow the diffs to render if the worker pool is not initialized * Fix staggered loading * Fix loading state bug with new workerPool status * Harden managing worker pool state --------- Co-authored-by: Mark Otto <markdotto@gmail.com>
* Better support flattened changes * Refactor API to use .diff (but maintain .patch compat) * Add diff stats * Rework fetching into an improve system * Rename GHViewer to ReviewUI * Fix diffIndicators triggering UI updates on change in CodeView That's what i get for not testing all my features, :kek: * Added a new proper export type for DiffIndicators * Updated areas in the codebase that used the inline stuff * Refactored virtualization logic a bit for setOptions and how it it can manage updates * Hopefully more future proof and cleaner code to reason about * Add support for setting diffIndicators in diffshub * tweak styles for folders * Improve error and fetching states * Revamp stats and monitor * new home faq for examples * Smol mb tweak to diff stats? * Streaming Tests (#640) * Improve React/VanillaJS APIs for streaming scenarios * First version of streaming diff system... it's really sorta slopped in terms of how code is organized and used, a lot of inline shit and a lot to wrap my head around. The real fix would be a sort of class based imperative system for managing state, that can expose apis and stuff for more performant mutations. * Refactor streaming system into usePatchLoader This at least organizes/hides some of the craziness * Implement new imperative APIs for CodeView, and make it an option in React Much better performance, a lot less fuckery * Remove old max line check (it no longer matters) * PR feedback that wasn't real, despite AI really wanted to `well actually` me * Update docs for new imperative APIs for CodeView * Add support for githubusercontent.com * improve url examples * Rewrite url to more reflect new API * Fix potential bug with trailing slashes * Fix WorkerPool rendering race condition Don't allow the diffs to render if the worker pool is not initialized * Fix staggered loading * Fix loading state bug with new workerPool status * Harden managing worker pool state --------- Co-authored-by: Mark Otto <markdotto@gmail.com>
* Better support flattened changes * Refactor API to use .diff (but maintain .patch compat) * Add diff stats * Rework fetching into an improve system * Rename GHViewer to ReviewUI * Fix diffIndicators triggering UI updates on change in CodeView That's what i get for not testing all my features, :kek: * Added a new proper export type for DiffIndicators * Updated areas in the codebase that used the inline stuff * Refactored virtualization logic a bit for setOptions and how it it can manage updates * Hopefully more future proof and cleaner code to reason about * Add support for setting diffIndicators in diffshub * tweak styles for folders * Improve error and fetching states * Revamp stats and monitor * new home faq for examples * Smol mb tweak to diff stats? * Streaming Tests (#640) * Improve React/VanillaJS APIs for streaming scenarios * First version of streaming diff system... it's really sorta slopped in terms of how code is organized and used, a lot of inline shit and a lot to wrap my head around. The real fix would be a sort of class based imperative system for managing state, that can expose apis and stuff for more performant mutations. * Refactor streaming system into usePatchLoader This at least organizes/hides some of the craziness * Implement new imperative APIs for CodeView, and make it an option in React Much better performance, a lot less fuckery * Remove old max line check (it no longer matters) * PR feedback that wasn't real, despite AI really wanted to `well actually` me * Update docs for new imperative APIs for CodeView * Add support for githubusercontent.com * improve url examples * Rewrite url to more reflect new API * Fix potential bug with trailing slashes * Fix WorkerPool rendering race condition Don't allow the diffs to render if the worker pool is not initialized * Fix staggered loading * Fix loading state bug with new workerPool status * Harden managing worker pool state --------- Co-authored-by: Mark Otto <markdotto@gmail.com>
* Better support flattened changes * Refactor API to use .diff (but maintain .patch compat) * Add diff stats * Rework fetching into an improve system * Rename GHViewer to ReviewUI * Fix diffIndicators triggering UI updates on change in CodeView That's what i get for not testing all my features, :kek: * Added a new proper export type for DiffIndicators * Updated areas in the codebase that used the inline stuff * Refactored virtualization logic a bit for setOptions and how it it can manage updates * Hopefully more future proof and cleaner code to reason about * Add support for setting diffIndicators in diffshub * tweak styles for folders * Improve error and fetching states * Revamp stats and monitor * new home faq for examples * Smol mb tweak to diff stats? * Streaming Tests (#640) * Improve React/VanillaJS APIs for streaming scenarios * First version of streaming diff system... it's really sorta slopped in terms of how code is organized and used, a lot of inline shit and a lot to wrap my head around. The real fix would be a sort of class based imperative system for managing state, that can expose apis and stuff for more performant mutations. * Refactor streaming system into usePatchLoader This at least organizes/hides some of the craziness * Implement new imperative APIs for CodeView, and make it an option in React Much better performance, a lot less fuckery * Remove old max line check (it no longer matters) * PR feedback that wasn't real, despite AI really wanted to `well actually` me * Update docs for new imperative APIs for CodeView * Add support for githubusercontent.com * improve url examples * Rewrite url to more reflect new API * Fix potential bug with trailing slashes * Fix WorkerPool rendering race condition Don't allow the diffs to render if the worker pool is not initialized * Fix staggered loading * Fix loading state bug with new workerPool status * Harden managing worker pool state --------- Co-authored-by: Mark Otto <markdotto@gmail.com>
* Better support flattened changes * Refactor API to use .diff (but maintain .patch compat) * Add diff stats * Rework fetching into an improve system * Rename GHViewer to ReviewUI * Fix diffIndicators triggering UI updates on change in CodeView That's what i get for not testing all my features, :kek: * Added a new proper export type for DiffIndicators * Updated areas in the codebase that used the inline stuff * Refactored virtualization logic a bit for setOptions and how it it can manage updates * Hopefully more future proof and cleaner code to reason about * Add support for setting diffIndicators in diffshub * tweak styles for folders * Improve error and fetching states * Revamp stats and monitor * new home faq for examples * Smol mb tweak to diff stats? * Streaming Tests (#640) * Improve React/VanillaJS APIs for streaming scenarios * First version of streaming diff system... it's really sorta slopped in terms of how code is organized and used, a lot of inline shit and a lot to wrap my head around. The real fix would be a sort of class based imperative system for managing state, that can expose apis and stuff for more performant mutations. * Refactor streaming system into usePatchLoader This at least organizes/hides some of the craziness * Implement new imperative APIs for CodeView, and make it an option in React Much better performance, a lot less fuckery * Remove old max line check (it no longer matters) * PR feedback that wasn't real, despite AI really wanted to `well actually` me * Update docs for new imperative APIs for CodeView * Add support for githubusercontent.com * improve url examples * Rewrite url to more reflect new API * Fix potential bug with trailing slashes * Fix WorkerPool rendering race condition Don't allow the diffs to render if the worker pool is not initialized * Fix staggered loading * Fix loading state bug with new workerPool status * Harden managing worker pool state --------- Co-authored-by: Mark Otto <markdotto@gmail.com>
Testing out streaming data...