Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add location to agents table #502

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pedro-avalos
Copy link
Contributor

@pedro-avalos pedro-avalos commented Mar 7, 2025

Description

  • Add agent.location to the agents table (used in the agents and queue detail pages).
    • If no location is defined, the field defaults to unknown
    • This field is sortable

Resolved issues

Documentation

Screenshots

image

Web service API changes

Tests

@pedro-avalos pedro-avalos requested a review from val500 March 7, 2025 22:33
@@ -47,6 +48,7 @@
<td>
<a href="{{ url_for('testflinger.agent_detail', agent_id=agent.name) }}">{{ agent.name }}</a>
</td>
<td>{{ agent.location or "unknown" }}</td>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not that it matters for the main deployment of Testflinger (since we do define location everywhere), but should this default to unknown or just be blank?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant