generated from meshery/meshery
-
Notifications
You must be signed in to change notification settings - Fork 72
feat: Add Schema Descriptions for Academy UI #409
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
Open
zihanKuang
wants to merge
12
commits into
meshery:master
Choose a base branch
from
zihanKuang:add-description-for-console
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
df40b91
add-description-for-console
zihanKuang d3b05ca
fix-wrong-ref
zihanKuang 90ab0a4
update
zihanKuang 7a98244
update
zihanKuang 364cf9b
update
zihanKuang 7957998
Merge branch 'master' into add-description-for-console
zihanKuang 9b6b3e7
update
zihanKuang b2a55d9
Update schemas/constructs/v1beta1/academy/openapi.yml
aabidsofi19 3c16ba7
Update schemas/constructs/v1beta1/academy/openapi.yml
zihanKuang 79a26b1
Update schemas/constructs/v1beta1/academy/openapi.yml
zihanKuang 1f1831d
Merge branch 'master' into add-description-for-console
zihanKuang 1407094
small-fix
zihanKuang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -342,7 +342,7 @@ paths: | |
| content: | ||
| application/json: | ||
| schema: | ||
| type: object | ||
| $ref: '#/components/schemas/AcademyAdminSummary' | ||
| '400': | ||
| description: Invalid request parameters | ||
| '500': | ||
|
|
@@ -431,6 +431,7 @@ paths: | |
| '500': | ||
| description: Server error | ||
|
|
||
|
|
||
| components: | ||
| schemas: | ||
|
|
||
|
|
@@ -1411,6 +1412,8 @@ components: | |
|
|
||
| CurriculaRegistrationsResponse: | ||
| type: object | ||
| description: "This report provides a detailed view of every content registration across your academy. Use it to track individual progress, analyze enrollment patterns, and manage your learner base. You can filter and customize the view using the icons on the top-right." | ||
|
|
||
| required: | ||
| - data | ||
| - total_count | ||
|
|
@@ -1429,3 +1432,80 @@ components: | |
| type: integer | ||
| page: | ||
| type: integer | ||
|
|
||
| AcademyAdminSummary: | ||
| type: object | ||
| description: "Core statistics data for displaying on the academy management dashboard." | ||
| properties: | ||
| total_learners: | ||
| type: integer | ||
| description: "This is the cumulative count of all unique learners who have ever enrolled in any of your academy content. A steady growth in this number indicates an expanding reach for your academy." | ||
| active_learners: | ||
| type: integer | ||
| description: "This metric counts all course registrations currently in the 'Registered' (in-progress) status. It's a key indicator of current student engagement and is used for billing purposes on Enterprise plans." | ||
| total_tests_taken: | ||
| type: integer | ||
| description: "This is the total number of all test attempts, including retakes by the same user. High numbers may suggest challenging content, while low numbers could indicate less engagement with assessments." | ||
| content_details: | ||
| type: object | ||
| description: "Overall statistics for academy content." | ||
| properties: | ||
| content_version: | ||
| type: string | ||
| description: "This version reflects your latest live academy content. Updates from your Git repository become visible here only after both a GitHub Release is created and the subsequent Layer5 Cloud deployment is complete." | ||
| learning_paths_count: | ||
| type: integer | ||
| description: "Total number of available learning paths." | ||
| certifications_count: | ||
| type: integer | ||
| description: "Total number of available certifications." | ||
| challenges_count: | ||
| type: integer | ||
| description: "Total number of available challenges." | ||
| learner_registration: | ||
| type: object | ||
| description: "This data shows the distribution of learners by their current status. A high ratio of non-completed statuses (i.e., Registered, Failed, and Withdrawn) relative to the 'Completed' status may indicate that your content is challenging or has engagement issues." | ||
| properties: | ||
| registered: | ||
| type: integer | ||
| description: "Learners who are 'in-progress' and have not yet finished the content." | ||
| completed: | ||
| type: integer | ||
| description: "Learners who have successfully finished the content." | ||
| withdrawn: | ||
| type: integer | ||
| description: "Learners who have unenrolled from the content." | ||
| failed: | ||
| type: integer | ||
| description: "Learners who have attempted to complete the content but did not meet the passing criteria." | ||
| content_metrics: | ||
| type: array | ||
| description: "This list ranks your academy content by the total number of registrations. Use this data to quickly identify your most engaging content." | ||
zihanKuang marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| items: | ||
| type: object | ||
zihanKuang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| test_stats: | ||
| type: object | ||
| description: "This panel provides a high-level summary of all test activities across your academy." | ||
|
||
| properties: | ||
| pass_fail_summary: | ||
| type: object | ||
| description: "This data shows a comparison of the total number of passed vs. failed attempts across all tests. This counts all attempts, including retakes by the same user." | ||
| properties: | ||
| passed_count: | ||
| type: integer | ||
| failed_count: | ||
| type: integer | ||
zihanKuang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| most_difficult_test: | ||
| type: object | ||
| description: "This is the test with the lowest pass-to-fail ratio, helping you quickly identify the most challenging content for your learners." | ||
| easiest_test: | ||
| type: object | ||
| description: "This is the test with the highest pass-to-fail ratio, showing which content your learners are mastering most easily." | ||
| most_attempted_test: | ||
| type: object | ||
| description: "This is the test that learners have attempted the most times, regardless of the outcome. High attempts could indicate either popularity or significant difficulty." | ||
zihanKuang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| test_metrics: | ||
| type: array | ||
| description: "This list provides a detailed performance breakdown for each individual test. Each test title is a clickable link that navigates directly to that assessment." | ||
| items: | ||
| type: object | ||
zihanKuang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.