-
Notifications
You must be signed in to change notification settings - Fork 4
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
Rework timeline view #120
Rework timeline view #120
Conversation
At this early stage, video output is not integrated yet. I must ensure all the basic functionality is working properly new-timeline-view.mp4 |
… same device have conflicting time spans;
UnityTab.eventsPlayback.index, | ||
].contains(tab)) { | ||
/// On device grid, use landscape | ||
if ([UnityTab.deviceGrid.index].contains(tab)) { |
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.
Events Screen is portrait-mode only.
@@ -27,13 +27,43 @@ import 'package:flutter/material.dart'; | |||
import 'package:flutter_gen/gen_l10n/app_localizations.dart'; | |||
import 'package:provider/provider.dart'; | |||
|
|||
Future<Device?> showDeviceSelectorScreen( |
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.
This needs to have some rework to match the overall app design and behavior. It works as it is tho
const SubHeader('Time filter', height: 24.0), | ||
ListTile( | ||
title: Text(SettingsProvider.instance.dateFormat | ||
.format(widget.timeline.currentDate)), | ||
onTap: () async { | ||
final date = await showDatePicker( | ||
context: context, | ||
initialDate: widget.timeline.currentDate, | ||
firstDate: DateTime(DateTime.now().year), | ||
lastDate: DateTime.now(), | ||
initialEntryMode: DatePickerEntryMode.calendarOnly, | ||
currentDate: widget.timeline.currentDate, | ||
); | ||
debugPrint('date: $date'); | ||
}, | ||
), |
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.
The time filter doesn't do nothing by now. The backend service doesn't provide a way to fetch events based on the date. Leave it here for future usage
The timeline view displays the events in a timeline of when they happened in the day.
Play/pause with the
SPACE
keyForward/Backward with the arrow keys (15 seconds)
Mute/unmute with the
M
keyReload with the
F5
orR
keys