Skip to content

created button for library export#250

Closed
wgu-edwin wants to merge 7 commits intodevelopfrom
feature/download-library-button
Closed

created button for library export#250
wgu-edwin wants to merge 7 commits intodevelopfrom
feature/download-library-button

Conversation

@wgu-edwin
Copy link
Contributor

button checks auth roles to make sure only users with access can export

Copy link
Contributor

@JohnKallies JohnKallies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good start. It needs a route and a server call still

@JohnKallies JohnKallies added the enhancement New feature or request label Nov 9, 2022
@JohnKallies JohnKallies marked this pull request as draft November 9, 2022 15:25
removed all params as per new updated api route spec

added route in the rich-skill-service file
route will be /api/export/library. Created the component that will
call the route and return it and download it to users folder.

Button is now hidden when not authorized and visible when
user with proper role has access to it.
Added the path to routerLink so it just stays in the same page when clicked on

created button for library export
button checks auth roles to make sure only users with access can export
@wgu-edwin wgu-edwin force-pushed the feature/download-library-button branch from 3009be6 to b8d2567 Compare November 10, 2022 17:50
it tests the onDownloadLibrary function and makes sure it's called correctly
removed unnecessary whitespace and removed unused variables.
fixed the async issue that could have been a problem later on
@wgu-edwin wgu-edwin marked this pull request as ready for review November 18, 2022 00:25
Copy link
Contributor

@JohnKallies JohnKallies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tracking the details. To me, this matters.

@JohnKallies
Copy link
Contributor

I see this UI work as complete, nicely done. We will merge this after the API code for export.

@JohnKallies
Copy link
Contributor

Completed in #265

@Corpratespaz Corpratespaz deleted the feature/download-library-button branch May 24, 2023 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

3 participants

Comments