Skip to content

implement dashboard stats and filters#101

Closed
AmerMesanovic wants to merge 1 commit intosecomind:mainfrom
AmerMesanovic:feature/dashboard-stats
Closed

implement dashboard stats and filters#101
AmerMesanovic wants to merge 1 commit intosecomind:mainfrom
AmerMesanovic:feature/dashboard-stats

Conversation

@AmerMesanovic
Copy link
Copy Markdown
Collaborator

Added aggregation logic for Astarte data, i18n support, and Bootstrap UI components.

screens:

image image

Comment thread oobe-apps/industrial-app/package.json Outdated
"qs": "^6.14.1",
"react": "^19.2.0",
"react-bootstrap": "^2.10.10",
"react-bootstrap-icons": "^1.11.6",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I suggest using a smaller package for icons. Take a look at Font Awesome icons.

Comment thread oobe-apps/industrial-app/src/App.tsx Outdated
Comment on lines +39 to +40
const ids = await astarteClient.getLineIds(deviceId);
setLineIds(ids);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Move setting line ids inside a .then() on the promise that astarteClient.getLineIds() returns.

import { FilterType } from "../App";

interface DashboardFiltersProps {
activeId: string; // Ovo je sada selectedSection iz App.tsx
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Remove comment

Added aggregation logic for Astarte data, i18n support, and Bootstrap UI components.
@ackermannW
Copy link
Copy Markdown
Collaborator

I am closing this PR as the changes that it needs to do are implemented in #111

@ackermannW ackermannW closed this Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants