irceline / opendataviewer

A light weight viewer for displaying air quality data throughout Belgium, customisable via URL-parameters
Apache License 2.0
3 stars 1 forks source link

Navigate in time using keyboard #7

Closed amotl closed 4 years ago

amotl commented 4 years ago

Dear @opeeters, @d-roet and @stevenvdbosch.

Introduction

In order to familiarize ourselves with the code base, we tried to implement a specific feature based on #6. Again, some refactoring happened with respect to the time navigation API introduced previously. The new API functions are called navigateTimeBackwards() and navigateTimeForward().

About

The update improves usability when exploring the data through the time domain. The user is now able to navigate forward and backwards in time by using the arrow left/right keys.

Details

While the default is to navigate by a single amount of the selected resolution (changeUnit), holding down the shift and alt key or both expands that delta.

Evaluation

By stepping back and forth in fixed intervals, the user can easily compare air quality situations between subsequent days, weeks and months on the same hour. Exploring the data through this lens is really convenient and way more efficient than any visual timepicker will permit.

With kind regards, Andreas.

cc @wetterfrosch

amotl commented 4 years ago

That was quick. Thanks!