This PR adds a new configuration flag that shows/hides tabs in studio home along with some new functionality around to V1 and V2 Libraries. When the new LIBRARY_MODE flag is set to "mixed" (default in dev) it will show "Libraries" and "Legacy Libraries" tabs that correspond to v1 and v2 tabs respectively. When the new LIBRARY_MODE flag is set to "v1 only" (default in production) or "v2 only", only one tab "Libraries" is shown and only the respective libraries are fetched when the tab is clicked. In addition to the above changes, the URL/route now updates when clicking on the tabs, and navigating to it directly would open up that tab as well as a new placeholder page that you will be redirected to when clicking on a v2 library if the library authoring MFE is not enabled.
47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
NODE_ENV='production'
|
|
ACCESS_TOKEN_COOKIE_NAME=''
|
|
BASE_URL=''
|
|
CREDENTIALS_BASE_URL=''
|
|
CSRF_TOKEN_API_PATH=''
|
|
DISCOVERY_API_BASE_URL=''
|
|
ECOMMERCE_BASE_URL=''
|
|
EXAMS_BASE_URL=''
|
|
FAVICON_URL=''
|
|
LANGUAGE_PREFERENCE_COOKIE_NAME=''
|
|
LMS_BASE_URL=''
|
|
LEARNING_BASE_URL=''
|
|
LOGIN_URL=''
|
|
LOGO_TRADEMARK_URL=''
|
|
LOGO_URL=''
|
|
LOGO_WHITE_URL=''
|
|
LOGOUT_URL=null
|
|
MARKETING_SITE_BASE_URL=''
|
|
TERMS_OF_SERVICE_URL=''
|
|
PRIVACY_POLICY_URL=''
|
|
ORDER_HISTORY_URL=''
|
|
PUBLISHER_BASE_URL=''
|
|
REFRESH_ACCESS_TOKEN_ENDPOINT=''
|
|
SEGMENT_KEY=''
|
|
SITE_NAME=''
|
|
STUDIO_SHORT_NAME='Studio'
|
|
SUPPORT_EMAIL=''
|
|
SUPPORT_URL=''
|
|
USER_INFO_COOKIE_NAME=''
|
|
ENABLE_ACCESSIBILITY_PAGE=false
|
|
ENABLE_PROGRESS_GRAPH_SETTINGS=false
|
|
ENABLE_TEAM_TYPE_SETTING=false
|
|
ENABLE_UNIT_PAGE=false
|
|
ENABLE_ASSETS_PAGE=false
|
|
ENABLE_VIDEO_UPLOAD_PAGE_LINK_IN_CONTENT_DROPDOWN=false
|
|
ENABLE_TAGGING_TAXONOMY_PAGES=true
|
|
BBB_LEARN_MORE_URL=''
|
|
HOTJAR_APP_ID=''
|
|
HOTJAR_VERSION=6
|
|
HOTJAR_DEBUG=false
|
|
INVITE_STUDENTS_EMAIL_TO=''
|
|
AI_TRANSLATIONS_BASE_URL=''
|
|
ENABLE_HOME_PAGE_COURSE_API_V2=false
|
|
ENABLE_CHECKLIST_QUALITY=''
|
|
ENABLE_GRADING_METHOD_IN_PROBLEMS=false
|
|
LIBRARY_MODE="v1 only"
|