Repository navigation
User Quota Dashboard - #2193
Merged
Merged
User Quota Dashboard#2193
Conversation
shengquan-ni
approved these changes
Oct 27, 2023
shengquan-ni
added a commit
that referenced
this pull request
Oct 29, 2023
This PR contains the frontend code for Quota Dashboard. For detailed description, see #2193 --------- Co-authored-by: MiuMiuMiue <[email protected]> Co-authored-by: Zhe Yuan <[email protected]> Co-authored-by: Shengquan Ni <[email protected]>
Xiao-zhen-Liu
pushed a commit
that referenced
this pull request
Jan 16, 2024
### Introduction --- This PR introduces Quota Dashboard for both users and administrators to visualize storage usage in Texera. This dashboard allows the users to: - View their quota (# of created workflows, # of uploaded files, ...) - View the storage size of the operator cache in their workflows. - View the Top Five Files that they have uploaded, sorted by the size of each file. - Delete Operator Cache. - Delete and download the files. The users can only see their own quota dasboard, whereas the administrators are able to see the quota dashboards of all users. ### Solution --- The main goal of this dashboard is to have the users to visualize their storage usage, and organize their storage. There are three tabs in the dashboard, which are Quota Table, Operator Cache, and Top 5 Files. Each tab has different strucutre and shows different information. - `Quota Table`: Displaying boxes with different information in each box - `Files Uploaded`: Displaying the number of the files the user uploaded. - `Workflows Created`: Displaying the number of workflows the user created. - `Files with Access`: Displaying the number of files the user has access to. - `Workflows with Access`: Displaying the number of workflows the user has access to. - `Total Size of the Files`: Displaying the total size of the uploaded files. - `Total Operator Cache Size`: Displaying the total size of the operator cache in MongoDB. - `Operator Cache`: DIsplaying in a hierarchical structure: each workflow has a table of executions - `Collection Name`: Name of the collection (operator cache) in MongoDB. - `Execution ID`: Different ID for each executions of a workflow. - `Cache Size`: The corresponding size of each collection in MongoDB. - `Action`: Give the user option to delete collection from MongoDB. - `Top 5 Files`: Displaying a table consisting 5 largest files. - `File Name`: Displaying the name of each file. - `Size`: Displaying the size of each file. - `Uploaded Time`: The date and time the file uploaded by the user. - `File Description`: Displaying the description of the files. Displaying message "No Available Description" when no descriptions provided. - `Action`: Provide the user options to either delete or download the file. When user clicks the deletion or download button, there will be a pop up confirmation window. In addition to the Quota Dashboard Intergace, this PR also modified the backend clean up code. After starting new execution, the older executions' results would not be deleted. The clean up of the old results in mongodb are left to the periodic clean up. Current PR contains the backend codes, and the frontend codes are in this PR #2194 ### Demo --- https://github.com/Texera/texera/assets/86388854/eb61acf8-16ad-4a29-880f-2b6575ca17c8 --------- Co-authored-by: MiuMiuMiue <[email protected]>
Xiao-zhen-Liu
pushed a commit
that referenced
this pull request
Jan 16, 2024
This PR contains the frontend code for Quota Dashboard. For detailed description, see #2193 --------- Co-authored-by: MiuMiuMiue <[email protected]> Co-authored-by: Zhe Yuan <[email protected]> Co-authored-by: Shengquan Ni <[email protected]>
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
### Introduction --- This PR introduces Quota Dashboard for both users and administrators to visualize storage usage in Texera. This dashboard allows the users to: - View their quota (# of created workflows, # of uploaded files, ...) - View the storage size of the operator cache in their workflows. - View the Top Five Files that they have uploaded, sorted by the size of each file. - Delete Operator Cache. - Delete and download the files. The users can only see their own quota dasboard, whereas the administrators are able to see the quota dashboards of all users. ### Solution --- The main goal of this dashboard is to have the users to visualize their storage usage, and organize their storage. There are three tabs in the dashboard, which are Quota Table, Operator Cache, and Top 5 Files. Each tab has different strucutre and shows different information. - `Quota Table`: Displaying boxes with different information in each box - `Files Uploaded`: Displaying the number of the files the user uploaded. - `Workflows Created`: Displaying the number of workflows the user created. - `Files with Access`: Displaying the number of files the user has access to. - `Workflows with Access`: Displaying the number of workflows the user has access to. - `Total Size of the Files`: Displaying the total size of the uploaded files. - `Total Operator Cache Size`: Displaying the total size of the operator cache in MongoDB. - `Operator Cache`: DIsplaying in a hierarchical structure: each workflow has a table of executions - `Collection Name`: Name of the collection (operator cache) in MongoDB. - `Execution ID`: Different ID for each executions of a workflow. - `Cache Size`: The corresponding size of each collection in MongoDB. - `Action`: Give the user option to delete collection from MongoDB. - `Top 5 Files`: Displaying a table consisting 5 largest files. - `File Name`: Displaying the name of each file. - `Size`: Displaying the size of each file. - `Uploaded Time`: The date and time the file uploaded by the user. - `File Description`: Displaying the description of the files. Displaying message "No Available Description" when no descriptions provided. - `Action`: Provide the user options to either delete or download the file. When user clicks the deletion or download button, there will be a pop up confirmation window. In addition to the Quota Dashboard Intergace, this PR also modified the backend clean up code. After starting new execution, the older executions' results would not be deleted. The clean up of the old results in mongodb are left to the periodic clean up. Current PR contains the backend codes, and the frontend codes are in this PR apache#2194 ### Demo --- https://github.com/Texera/texera/assets/86388854/eb61acf8-16ad-4a29-880f-2b6575ca17c8 --------- Co-authored-by: MiuMiuMiue <[email protected]>
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
This PR contains the frontend code for Quota Dashboard. For detailed description, see apache#2193 --------- Co-authored-by: MiuMiuMiue <[email protected]> Co-authored-by: Zhe Yuan <[email protected]> Co-authored-by: Shengquan Ni <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Introduction
This PR introduces Quota Dashboard for both users and administrators to visualize storage usage in Texera. This dashboard allows the users to:
The users can only see their own quota dasboard, whereas the administrators are able to see the quota dashboards of all users.
Solution
The main goal of this dashboard is to have the users to visualize their storage usage, and organize their storage. There are three tabs in the dashboard, which are Quota Table, Operator Cache, and Top 5 Files. Each tab has different strucutre and shows different information.
Quota Table: Displaying boxes with different information in each boxFiles Uploaded: Displaying the number of the files the user uploaded.Workflows Created: Displaying the number of workflows the user created.Files with Access: Displaying the number of files the user has access to.Workflows with Access: Displaying the number of workflows the user has access to.Total Size of the Files: Displaying the total size of the uploaded files.Total Operator Cache Size: Displaying the total size of the operator cache in MongoDB.Operator Cache: DIsplaying in a hierarchical structure: each workflow has a table of executionsCollection Name: Name of the collection (operator cache) in MongoDB.Execution ID: Different ID for each executions of a workflow.Cache Size: The corresponding size of each collection in MongoDB.Action: Give the user option to delete collection from MongoDB.Top 5 Files: Displaying a table consisting 5 largest files.File Name: Displaying the name of each file.Size: Displaying the size of each file.Uploaded Time: The date and time the file uploaded by the user.File Description: Displaying the description of the files. Displaying message "No Available Description" when no descriptions provided.Action: Provide the user options to either delete or download the file.When user clicks the deletion or download button, there will be a pop up confirmation window.
In addition to the Quota Dashboard Intergace, this PR also modified the backend clean up code. After starting new execution, the older executions' results would not be deleted. The clean up of the old results in mongodb are left to the periodic clean up.
Current PR contains the backend codes, and the frontend codes are in this PR #2194
Demo
quota_dashboard_demo.mp4