Skip to content

Space layout with statistics#283

Merged
lmarini merged 3 commits into
199-show-space-bytesfrom
space-layout-with-statistics
Oct 4, 2021
Merged

Space layout with statistics#283
lmarini merged 3 commits into
199-show-space-bytesfrom
space-layout-with-statistics

Conversation

@robkooper
Copy link
Copy Markdown
Member

@robkooper robkooper commented Oct 1, 2021

Description

This makes the space layout more in line with the files/datasets

NEW Layout
image

OLD Layout
image

Review Time Estimate

  • Immediately
  • Within one week
  • When possible

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the CHANGELOG.md.
  • I have signed the CLA
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@robkooper robkooper changed the base branch from develop to 199-show-space-bytes October 1, 2021 23:25
robkooper and others added 2 commits October 1, 2021 18:34
- undo removal
- add comment + link to issue for space stats
- comment about new layout
@lmarini lmarini merged commit 56e2dab into 199-show-space-bytes Oct 4, 2021
@lmarini lmarini deleted the space-layout-with-statistics branch October 4, 2021 20:13
lmarini added a commit that referenced this pull request Oct 4, 2021
* adding parameter spaceBytes inside getSpace

* add method getBytesPerSpace
changing html

* adding to space statistics

need cleanup

* statistics changed - replaced with more data modeled on the index page

We now see Collections, Datasets, Files, Bytes per space and Users in right column

* changelog

* adding spaceBytes parameter, does not work yet

* new method, get bytes for dataset

* methods need to match

* adding and removing datasets from space will increment spaceBytes.

* increment bytes when file added to dataset

* decrement space bytes on remove file

* remove commented out code

* use cached value of bytes per space not method call

* adding update space bytes method

* added space bytes update

* fixig test

* fix few issues with migration

- no datasets in space would result in not writing out count
- very large databsae would have cursor timeout
- simplified logic to count bytes

* Space layout with statistics (#283)

* make space layout more like datasets/files

* update changelog

- undo removal
- add comment + link to issue for space stats
- comment about new layout

* Lowered margin from 20px to 15px for button links.

Co-authored-by: Luigi Marini <lmarini@illinois.edu>

Co-authored-by: Luigi Marini <lmarini@users.noreply.github.com>
Co-authored-by: Max Burnette <mburnet88@gmail.com>
Co-authored-by: Rob Kooper <kooper@illinois.edu>
Co-authored-by: Luigi Marini <lmarini@illinois.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants