Skip to content
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

Libraries Tab of Studio Home (v2) #1033

Closed
Tracked by #1163
bradenmacdonald opened this issue May 23, 2024 · 5 comments
Closed
Tracked by #1163

Libraries Tab of Studio Home (v2) #1033

bradenmacdonald opened this issue May 23, 2024 · 5 comments

Comments

@bradenmacdonald
Copy link
Contributor

bradenmacdonald commented May 23, 2024

Requirements

  1. Rename the existing "Libraries" tab of the Course Authoring MFE to "Legacy Libraries"
  2. Create a new "Libraries" tab in the Course Authoring MFE that lists v2 libraries.
  3. Create a configuration flag for the Course Authoring MFE that allows choosing one of these modes:
    a. V2 only (only show the "Libraries" tab with v2 libraries - hide the "Legacy Libraries" tab)
    b. Mixed (show both "Libraries" and "Legacy Libraries" tabs)
    c. V1 only (only show the "Legacy Libraries" tab, and call it just "Libraries")
  4. The default mode for developers should be "Mixed", but the default in production (and in particular for edx.org) should be "v1 only".
  5. Clicking on a v2 library should link to the library authoring MFE (for now, if it's enabled), or to a placeholder page in Course Authoring if that MFE is not enabled.
  6. Clicking on a v1 library should link to the library in the legacy Studio UI.
  7. Creating a new library from Studio Home should:
    a. Create a v2 library (if the mode is "v2 only" or "mixed")
    b. Create a v1 library (if the mode is "v1 only")

Technical Requirements

  1. Use react-query for any new data loading
  2. Use TypeScript .ts, .tsx for any new source files.

Screenshot 2024-05-23 at 2 44 20 PM

Notes

@bradenmacdonald
Copy link
Contributor Author

@cablaa77 We're planning to update the "Libraries" tab in Course Authoring (Studio Home Page), and I want to make sure we don't change anything for edx.org. Is it correct that edx.org just has "v1"/legacy libraries enabled, or have you rolled out v2 to any users?

@bradenmacdonald bradenmacdonald changed the title Libraries List Page Libraries Tab of Studio Home (v2) May 23, 2024
@bradenmacdonald bradenmacdonald added this to the Lib Relaunch 1a: Libraries Tab milestone May 24, 2024
@yusuf-musleh
Copy link
Contributor

yusuf-musleh commented May 29, 2024

@bradenmacdonald

or to a placeholder page in Course Authoring if that MFE is not enabled.

Regarding the placeholder page, should it contain any content related to the library clicked or just a simple one like the one below?

Screenshot 2024-05-29 at 8 13 38 PM

@bradenmacdonald
Copy link
Contributor Author

@yusuf-musleh That's fine for now!

@bradenmacdonald
Copy link
Contributor Author

@yusuf-musleh Though the URL should be /course-authoring/library/lib:the-lib-id

@jmakowski1123
Copy link

Aside from testing the config flags, this looks good!

@bradenmacdonald bradenmacdonald closed this as completed by moving to Done in Libraries Overhaul Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants