Skip to content

Display Dataset Size for Improved Usability - #2927

Merged
kunwp1 merged 22 commits into
masterfrom
chris-dataset-size
Oct 14, 2024
Merged

kunwp1 merged 22 commits into
masterfrom
chris-dataset-size

Conversation

@kunwp1

@kunwp1 kunwp1 commented Oct 12, 2024 •

Copy link
Copy Markdown
Contributor

This PR enhances the usability of the dataset feature by introducing size information across the dashboard and dataset explorer.

Main Changes:

  1. Dashboard Update:
  • The dashboard entry now displays the size of the latest version of each dataset.
Screenshot 2024-10-12 at 3 42 36 AM
  1. Dataset Explorer Enhancements:
  • Each dataset version is now visible within the explorer.
  • When a file is selected from the tree, its size will be displayed on the right-hand side.
Screenshot 2024-10-13 at 9 38 13 AM
  1. API Fix for Dataset Size Calculation:
  • The previous logic included hidden directories (e.g., .git) and system-generated files (e.g., .DS_Store on macOS) in the size calculation.
  • This PR refines the size calculation to only sum the sizes of version-controlled files, ensuring accurate and relevant measurements.

@kunwp1 kunwp1 added feature frontend Changes related to the frontend GUI webserver labels Oct 12, 2024
@kunwp1
kunwp1 requested a review from bobbai00 October 12, 2024 10:45
@kunwp1 kunwp1 self-assigned this Oct 12, 2024
@kunwp1 kunwp1 linked an issue Oct 12, 2024 that may be closed by this pull request

@bobbai00 bobbai00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left few comments

@bobbai00 bobbai00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

left some comments.

@kunwp1

kunwp1 commented Oct 13, 2024

Copy link
Copy Markdown
Contributor Author

I have addressed the comments. Please take a look!

@bobbai00 bobbai00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@kunwp1
kunwp1 merged commit 4ea9521 into master Oct 14, 2024
@kunwp1
kunwp1 deleted the chris-dataset-size branch October 14, 2024 15:30
PurelyBlank pushed a commit that referenced this pull request Dec 4, 2024
This PR enhances the usability of the dataset feature by introducing
size information across the dashboard and dataset explorer.

### Main Changes:
1. Dashboard Update:
- The dashboard entry now displays the size of the latest version of
each dataset.

<img width="1509" alt="Screenshot 2024-10-12 at 3 42 36 AM"
src="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/user-attachments/assets/e3d1112e-a23a-4bb4-a9a8-c3e65e82b07e">

2. Dataset Explorer Enhancements:
- Each dataset version is now visible within the explorer.
- When a file is selected from the tree, its size will be displayed on
the right-hand side.
<img width="1515" alt="Screenshot 2024-10-13 at 9 38 13 AM"
src="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/user-attachments/assets/f712d0bd-bb95-4e2a-9d90-a801e30a5338">


3. API Fix for Dataset Size Calculation:
- The previous logic included hidden directories (e.g., .git) and
system-generated files (e.g., .DS_Store on macOS) in the size
calculation.
- This PR refines the size calculation to only sum the sizes of
version-controlled files, ensuring accurate and relevant measurements.

---------

Co-authored-by: Kunwoo Park <kunwoopark@dhcp-v049-168.mobile.uci.edu>
Co-authored-by: Kunwoo Park <kunwoopark@dhcp-172-31-184-236.mobile.uci.edu>
Co-authored-by: Kunwoo Park <kunwoopark@Kunwoos-MacBook-Pro.local>
SarahAsad23 pushed a commit to madisonmlin/texera that referenced this pull request May 20, 2026
This PR enhances the usability of the dataset feature by introducing
size information across the dashboard and dataset explorer.

### Main Changes:
1. Dashboard Update:
- The dashboard entry now displays the size of the latest version of
each dataset.

<img width="1509" alt="Screenshot 2024-10-12 at 3 42 36 AM"
src="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/user-attachments/assets/e3d1112e-a23a-4bb4-a9a8-c3e65e82b07e">

2. Dataset Explorer Enhancements:
- Each dataset version is now visible within the explorer.
- When a file is selected from the tree, its size will be displayed on
the right-hand side.
<img width="1515" alt="Screenshot 2024-10-13 at 9 38 13 AM"
src="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/user-attachments/assets/f712d0bd-bb95-4e2a-9d90-a801e30a5338">


3. API Fix for Dataset Size Calculation:
- The previous logic included hidden directories (e.g., .git) and
system-generated files (e.g., .DS_Store on macOS) in the size
calculation.
- This PR refines the size calculation to only sum the sizes of
version-controlled files, ensuring accurate and relevant measurements.

---------

Co-authored-by: Kunwoo Park <kunwoopark@dhcp-v049-168.mobile.uci.edu>
Co-authored-by: Kunwoo Park <kunwoopark@dhcp-172-31-184-236.mobile.uci.edu>
Co-authored-by: Kunwoo Park <kunwoopark@Kunwoos-MacBook-Pro.local>
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
This PR enhances the usability of the dataset feature by introducing
size information across the dashboard and dataset explorer.

### Main Changes:
1. Dashboard Update:
- The dashboard entry now displays the size of the latest version of
each dataset.

<img width="1509" alt="Screenshot 2024-10-12 at 3 42 36 AM"
src="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/user-attachments/assets/e3d1112e-a23a-4bb4-a9a8-c3e65e82b07e">

2. Dataset Explorer Enhancements:
- Each dataset version is now visible within the explorer.
- When a file is selected from the tree, its size will be displayed on
the right-hand side.
<img width="1515" alt="Screenshot 2024-10-13 at 9 38 13 AM"
src="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/user-attachments/assets/f712d0bd-bb95-4e2a-9d90-a801e30a5338">


3. API Fix for Dataset Size Calculation:
- The previous logic included hidden directories (e.g., .git) and
system-generated files (e.g., .DS_Store on macOS) in the size
calculation.
- This PR refines the size calculation to only sum the sizes of
version-controlled files, ensuring accurate and relevant measurements.

---------

Co-authored-by: Kunwoo Park <kunwoopark@dhcp-v049-168.mobile.uci.edu>
Co-authored-by: Kunwoo Park <kunwoopark@dhcp-172-31-184-236.mobile.uci.edu>
Co-authored-by: Kunwoo Park <kunwoopark@Kunwoos-MacBook-Pro.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Dataset and File Size Display to Dataset Feature

2 participants