storj/web/multinode
Clement Sam 7ac2031cac web/multinode: fix wrong free disk space in allocation on dashboard
There are many case where the keywords `free` and `available`
are confused in their usage.

For most cases, `free` space is the amount of free space left
on the whole disk, and not just in allocation while
`available` space is the amount of free space left in the
allocated disk space.

What the user/sno wants to see is not the free space but the
available space. To the SNO, free space is the free space
left in the allocated disk space.

Because of this confusion, the multinode dashboard displays
the `free` disk space instead of the free space in the
allocated disk space https://github.com/storj/storj/issues/5248
While the storagenode dashboard shows the correct free space
in the allocation.

This change fixes the wrong free disk space. I also added a
few comments to make a distinction between the `free`
and `available` fields in the `DiskSpace*` structs.

Change-Id: I11b372ca53a5ac05dc3f79834c18f85ebec11855
2023-07-05 11:24:24 +00:00
..
dist multinode,web/multinode: use go:embed for assets 2022-03-11 11:10:37 +02:00
public multinode,web/multinode: use go:embed for assets 2022-03-11 11:10:37 +02:00
src web/multinode: fix wrong free disk space in allocation on dashboard 2023-07-05 11:24:24 +00:00
static web/multinode: wallets page markup 2021-06-08 18:47:43 +03:00
tests/unit {storagenode,web/multinode}: fix storage usage db/cache retrieval queries 2022-12-09 11:07:33 +00:00
.eslintignore web/multinode: fixed linter 2022-11-04 19:06:21 +00:00
.eslintrc.js web: remove sanitizing dependency and restrict v-html 2023-03-06 19:58:27 +00:00
.gitignore web/{multinode,satellite,storagenode}: revert go.mod 2022-07-08 19:51:51 +03:00
.stylelintignore web/: add custom linter for requiring @vue/component 2021-09-01 13:56:37 +00:00
.stylelintrc.js web/multinode: fixed linter 2022-11-04 19:06:21 +00:00
assets_noembed.go satellite/admin/ui,web/{multinode,storagenode}: build without embedding 2022-03-29 13:18:04 +03:00
assets.go satellite/admin/ui,web/{multinode,storagenode}: build without embedding 2022-03-29 13:18:04 +03:00
build-if-changed.sh build: fix conditional run of web builds 2022-08-11 14:34:44 +00:00
build.sh web: create valid go.mod stubs 2022-09-26 17:11:10 +03:00
index.html web/multinode: favicon added 2021-03-22 12:50:53 +00:00
jest.config.js web/multinode: fixed linter 2022-11-04 19:06:21 +00:00
jest.setup.ts web/multinode: update dependencies 2022-04-06 14:48:21 +00:00
package-lock.json web/multinode: fixed linter 2022-11-04 19:06:21 +00:00
package.json web/multinode: fixed linter 2022-11-04 19:06:21 +00:00
tsconfig.json web/multinode: update dependencies 2022-04-06 14:48:21 +00:00
vue.config.js web/multinode: fixed linter 2022-11-04 19:06:21 +00:00