V16/history#840
Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request adds uSync History functionality to version 16 of the uSync solution. The implementation migrates from the legacy AngularJS-based dashboard to a modern Lit-based web component architecture, updates API endpoints to use the new Umbraco management API structure, and integrates the history tracking functionality with the v16 async notification handlers.
Key changes:
- Migration from AngularJS to Lit-based web components for the history dashboard
- Replacement of legacy PluginController with modern versioned API controllers
- Update from synchronous to asynchronous notification handlers and file operations
- Removal of legacy manifest filtering in favor of new package manifest reader pattern
Reviewed Changes
Copilot reviewed 39 out of 46 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| uSync/uSync.csproj | Adds project reference to uSync.History |
| uSync/packages.lock.json | Updates package dependencies for uSync.History integration |
| uSync.sln | Adds uSync.History project to solution |
| uSync.History/wwwroot/uSyncHistory/*.html | Removes legacy AngularJS HTML templates |
| uSync.History/wwwroot/uSyncHistory/*.js | Removes legacy AngularJS controllers |
| uSync.History/wwwroot/uSyncHistory/Lang/en-us.xml | Removes legacy XML localization file |
| uSync.History/wwwroot/App_Plugins/uSync.History/*.js | Adds generated Lit-based web component bundles |
| uSync.History/uSyncHistoryNotificationHandler.cs | Updates to async notification handlers and uses interface for file service |
| uSync.History/uSyncHistoryManifestFilter.cs | Removes legacy manifest filter |
| uSync.History/uSyncHistoryComposer.cs | Updates to modern package manifest reader and Swagger configuration |
| uSync.History/uSync.History.csproj | Updates static web asset base path and adds Management API reference |
| uSync.History/packages.lock.json | Updates NuGet package dependencies to v16 versions |
| uSync.History/history-client/vite.config.ts | Adds Vite build configuration for client-side TypeScript |
| uSync.History/history-client/tsconfig.json | Adds TypeScript compiler configuration |
| uSync.History/history-client/src/views/*.ts | Adds Lit-based history view components |
| uSync.History/history-client/src/lang/*.ts | Adds TypeScript-based localization |
| uSync.History/history-client/src/index.ts | Adds entry point for history extension |
| uSync.History/history-client/src/dialogs/*.ts | Adds modal dialog components |
| uSync.History/history-client/src/api/*.ts | Adds generated OpenAPI client code |
| uSync.History/HistoryInfo.cs | Updates to use uSyncActionView instead of uSyncAction |
| uSync.History/Controllers/uSyncHistoryController.cs | Migrates to modern API controller with async methods |
| uSync.Backoffice.Management.Client/usync-assets/src/components/usync-results-view.ts | Adds properties to control visibility of result bar and actions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 33 out of 39 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* added history to v16 * added modal for viewing changes in history (finally) * Update uSync.History/history-client/vite.config.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update uSync.History/history-client/src/views/history-view.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update uSync.History/history-client/src/index.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update uSync.History/history-client/src/views/history-view.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update uSync.History/history-client/src/views/history-view.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * remove wwwroot files * remove files * Update uSync.History/uSyncHistoryComposer.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Kevin Jump <kevin@thejumps.co.uk>
* V16/history (#840) * added history to v16 * added modal for viewing changes in history (finally) * Update uSync.History/history-client/vite.config.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update uSync.History/history-client/src/views/history-view.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update uSync.History/history-client/src/index.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update uSync.History/history-client/src/views/history-view.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update uSync.History/history-client/src/views/history-view.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * remove wwwroot files * remove files * Update uSync.History/uSyncHistoryComposer.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Kevin Jump <kevin@thejumps.co.uk> * remove some rouge history build files. * some post merge tidy. * history - lock update * merging history into uSync v17 --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Kevin Jump <kevin@thejumps.co.uk>
add uSyncHistory to v16