GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Show version history in the channel publish side panel by AllanOXDi · Pull Request #5721 · learningequality/studio Conversation
|
| * fetchMore: () => Promise<void>, | ||
| * }} | ||
| */ | ||
| export function useChannelVersionHistory() { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
praise: Clean separation of concerns. The composable encapsulates pagination state, loading states, and error handling well. The reset() function and guard clauses in fetchMore() are good defensive design.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| </div> | ||
| <div class="description-body"> | ||
| {{ version.version_notes }} | ||
| </div> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
nitpick: version.version_notes is rendered safely via text interpolation ({{ }}), which is good. Just noting that if notes can be long, you may want to consider truncation or overflow-wrap: break-word on .description-body to handle edge cases with very long unbroken strings.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Channel version history feature with clean composable + component separation, comprehensive tests, and proper i18n. CI passing.
2 prior finding(s) resolved.
aria-label — see inline commenthasMore logic inconsistency between initial fetch and pagination — see inline comment@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
Compared the current PR state against findings from a prior review:
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Channel version history feature looks solid. Clean composable/component separation, consistent pagination logic, comprehensive tests, and proper i18n throughout.
CI passing. Targets unstable (default branch) — new strings are appropriate.
4 prior finding(s) resolved.
@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
Compared the current PR state against findings from a prior review:
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @AllanOXDi! Great work! I have just made a couple of small changes, one because I had incorrectly defined the ChannelVersionViewset with a pageNumber pagination instead of cursor pagination, and also just aligned the styles a little bit. Will wait until the checks pass, and will proceed to merge. Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Channel version history feature is solid — clean composable/component separation, proper i18n, cursor-based pagination, theme-aware styling, and comprehensive tests.
CI passing. Targets unstable (default branch) — new i18n strings are appropriate.
5 prior finding(s) resolved.
@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
Compared the current PR state against findings from a prior review:
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| * Displays channel version history with pagination | ||
| * | ||
| * Shows a collapsible list of channel versions with their descriptions. | ||
| * Versions are fetched on-demand when expanded and paginated with 10 versions per page. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
nitpick: JSDoc says "10 versions per page" but VERSIONS_PER_PAGE is 5.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Channel version history feature is clean and well-tested. Composable/component separation is solid, cursor-based pagination works correctly, i18n throughout, and theme-aware styling.
CI passing. Targets unstable (default branch) — new i18n strings are appropriate.
5 prior finding(s) resolved.
@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
Compared the current PR state against findings from a prior review:
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| * Displays channel version history with pagination | ||
| * | ||
| * Shows a collapsible list of channel versions with their descriptions. | ||
| * Versions are fetched on-demand when expanded and paginated with 5 versions per page. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
nitpick (prior, unaddressed): JSDoc says "10 versions per page" but VERSIONS_PER_PAGE is 5.
| * Versions are fetched on-demand when expanded and paginated with 5 versions per page. | |
| * Shows a collapsible list of channel versions with their descriptions. | |
| * Versions are fetched on-demand when expanded and paginated with 5 versions per page. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It is now addressed!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Channel version history feature is clean and well-structured. CI still in progress (Python tests running).
5 prior finding(s) resolved.
@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
Compared the current PR state against findings from a prior review:
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Show version history in the channel publish side panel
There was an error while loading. Please reload this page.