-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate Baw Client Routes #780
Conversation
This comment has been minimized.
This comment has been minimized.
Size Change: +4.22 kB (0%) Total Size: 1.17 MB
ℹ️ View Unchanged
|
fd41bf3
to
b5a99a4
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say a lot of these non-CRUD pages don't fit well into the list/details nomenclature we've used for CRUD pages. Listen, visualise are more composite pages that tie more than one basic resource together. Not important enough to change now, might be worth considering later.
There are several places with TODOs for malformed URLs (good). Just add issue link to each so they're findable using the same pattern.
Great work, minor changes suggested
src/app/services/baw-api/audio-recording/audio-recordings.service.ts
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Create all of the routing required to handle displaying the baw client pages. This makes use of the `BawClientComponent` created in #727.
Build baw client in github actions, this allows the unit tests to validate that the baw client has been correctly integrated into the project.
* Cleanup app styling to create full height components - Cleanup CSS styling for the app component so that the default router outlet component will have access to the full height of the page - Created basic audio analysis page * Working example Couple bugs to fix - AngularJS links are not reloading the parent page - IFrame does not resize to content which causes the scrollbar to be in the wrong location * Created new audio analysis page * Cleanup iframe module - Disabled broken tests - Renamed IFrameComponent to BawClientComponent - Isolated BawClientComponent into a module - Created placeholder unit tests - Updated interceptor to include cookies in requests * Implemented BawClientComponent unit tests * Fixed broken tests and rebase conflicts * Fixed broken unit tests Discovered bug in how secondary menu unit tests were saving/restoring the defaultMenu global variable (converted Lists to arrays, but not back) * Fix site/region details tag links * Working login request * Update security service tests * Cleanup interceptor tests * Fix rebase issues * Cleanup api request responseType's This should make things a lot more clear for when the interceptor should set accept/content-type headers to requests * Cleanup review comments
60175a3
to
dc77961
Compare
Create all of the routing required to handle displaying the baw client pages. This makes use of the `BawClientComponent` created in #727.
Migration of Baw Client Routes
Create all of the routing required to handle displaying the baw client pages. This makes use of the
BawClientComponent
created in the parent PR.Changes
/listen
) (Recent Audio Recordings #206)/listen/:audioRecordingId
) (Listen #207)/library
) (Library #208)/library/:audioRecordingId/audio_events/:audioEventId
) (Library Item #209)/visualize
) (Visualize #210)/audio_analysis
) (Analysis Jobs #211)/audio_analysis/new
) (New Analysis Job #212)/audio_analysis/:analysisJobId
) (Analysis Job #213)/audio_analysis/:analysisJobId/results
) (Analysis Job Result #214)Problems
viewUrl
s #772)workbench-client/src/app/components/shared/baw-client/baw-client.component.spec.ts
Lines 133 to 142 in f6cb05d
Still haven't dealt with Emphasis Disabled Menu Links #779Closed in Restyling Disabled Menu Item Links #807Add step in CI to download and build baw-client. This will allow for unit tests on whether the migration is working in the current buildClosed in Build baw client #839Visual Changes
Listen Page (
/listen
)Play Page (
/listen/:audioRecordingId
)Library Page (
/library
)Annotation Page (
/library/:audioRecordingId/audio_events/:audioEventId
)Visualize Page (
/visualize
)Audio Analysis
List Page (
/audio_analysis
)New Page (
/audio_analysis/new
)Details Page (
/audio_analysis/:analysisJobId
)Results Page (
/audio_analysis/:analysisJobId/results
)Final Checklist
npm run lint
)npm run test:all
)