-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 [Frontend] UX: Usage in the last 24h #8034
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the default date range filters from “previous month” to “last 24h” and adds a new “Last 24h” button in the Usage table.
- Default “From”/“Until” inputs now span the last 24h
- Introduce a “Last 24h” quick-select button alongside week/month/year
- Update the TIME_RANGES list and default selection in CreditsSummary
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| services/static-webserver/client/source/class/osparc/desktop/credits/DateFilters.js | Changed default date window and added “Last 24h” button |
| services/static-webserver/client/source/class/osparc/desktop/credits/CreditsSummary.js | Renamed “Today” to “Last 24h” and updated default key |
Comments suppressed due to low confidence (1)
services/static-webserver/client/source/class/osparc/desktop/credits/DateFilters.js:26
- [nitpick] The multi-line comment for setting defaultFrom/readability could be streamlined or combined into a single concise comment to improve readability.
// Range defaults
services/static-webserver/client/source/class/osparc/desktop/credits/DateFilters.js
Outdated
Show resolved
Hide resolved
|
@mergify queue |
🟠 Waiting for conditions to match
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚡ thx!
|
@mergify queue |
🟠 Waiting for conditions to match
|
|
@odeimaiz Hmm, but the filter in the usage overview (in the billing center usage) is more like "today" I don't think it can be used to filter just the last 24 hours. --> Either you filter usage today, or yesterday or yesterday+today, you can not do half day and half day. |
sanderegg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
|
|
@mergify queue |
🟠 Waiting for conditions to match
|



What do these changes do?
Todaywhile we meantLast 24h.Last 24h, which is the default one.Related issue/s
How to test
Dev-ops