Skip to content

Improve logic around last seen value of applications in the Console #7304

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

Open
1 task done
ryaplots opened this issue Sep 13, 2024 · 1 comment
Open
1 task done
Assignees
Labels
needs/details This is missing some details

Comments

@ryaplots
Copy link
Contributor

ryaplots commented Sep 13, 2024

Summary

Make this logic behind determining the lastSeen value of an application more performant by doing it in the backend and then return one final value to the frontend.

Current Situation

The logic for determining the last seen value of an application is all done in the frontend reducer.
The lastSeen value of applications in the Console is a combination of the end devices last_seen_at and the latest uplink received. The lastSeen is updated every time one these values is more recent than the other.

Desired Situation

This logic can be done in the backend to make it much more performant.

Code of Conduct

@ryaplots ryaplots added the needs/triage We still need to triage this label Sep 13, 2024
@ryaplots ryaplots self-assigned this Sep 13, 2024
@KrishnaIyer KrishnaIyer added needs/discussion We need to discuss this and removed needs/triage We still need to triage this labels Oct 10, 2024
@KrishnaIyer KrishnaIyer modified the milestone: Backlog Oct 10, 2024
@KrishnaIyer KrishnaIyer added needs/details This is missing some details and removed needs/discussion We need to discuss this labels Jan 22, 2025
@KrishnaIyer
Copy link
Member

@ryaplots: Could you add some details to the issue when you have time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/details This is missing some details
Projects
None yet
Development

No branches or pull requests

2 participants