Skip to content
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

HOSTSD-189 Add file system endpoints #35

Merged
merged 1 commit into from
Dec 29, 2023
Merged

HOSTSD-189 Add file system endpoints #35

merged 1 commit into from
Dec 29, 2023

Conversation

Fosol
Copy link
Contributor

@Fosol Fosol commented Dec 29, 2023

The filter at the top of the dashboard has basic functionality now for all dropdowns. It however is slow due to the requests back to the API. This can be improved later.

There are some workflow adjustments that need to be applied to improve the user experience. These can be discussed later.

The first All Organization Chart now functions.

Refactored database schema again to improve performance. The Data Sync Service will now calculate the server storage totals so that this doesn't need to be done by the web app later.

Dashboard

image

@Fosol Fosol added the enhancement New feature or request label Dec 29, 2023
@Fosol Fosol self-assigned this Dec 29, 2023

React.useEffect(() => {
if (servers.length) {
const space = servers.map((si) => si.capacity!).reduce((a, b) => (a ?? 0) + (b ?? 0));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I should move all this logic out to a separate function.

@Fosol Fosol merged commit 58bfbe2 into bcgov:main Dec 29, 2023
2 checks passed
@Fosol Fosol deleted the 188 branch December 29, 2023 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant