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

Show object attributes when hovering or tapping timeline bounding box #6879

Merged
merged 11 commits into from Jun 30, 2023

Conversation

NickM-27
Copy link
Sponsor Collaborator

Here is an example:

Screen Shot 2023-06-21 at 16 20 54 PM

@netlify
Copy link

netlify bot commented Jun 21, 2023

Deploy Preview for frigate-docs canceled.

Name Link
🔨 Latest commit e92916e
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/649c2e3b739ab900086bf807

Comment on lines 60 to 61
<div>{`Object Area: ${getObjectArea()} px`}</div>
<div>{`Object Ratio: ${getObjectRatio()}`}</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

<div className="font-bold text-xl">{event.label} attributes:</div>
{event.label == 'person' && event.sub_label && (<div>Name: {event.sub_label}</div>)}
<div>{`Object Area: ${getObjectArea()} px`}</div>

web/src/components/TimelineEventOverlay.jsx Outdated Show resolved Hide resolved
web/src/components/TimelineEventOverlay.jsx Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
@blakeblackshear blakeblackshear merged commit bd17e7d into dev Jun 30, 2023
11 checks passed
@blakeblackshear blakeblackshear deleted the timeline-hover branch June 30, 2023 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants