Commit Graph

285 Commits

Author SHA1 Message Date
D. Berge
880891cc2b Add real-time position to map 2020-09-01 11:01:13 +02:00
D. Berge
a9247c691c Handle division by zero 2020-08-29 12:52:29 +02:00
D. Berge
d863f4221d Remove extra space from output 2020-08-29 10:36:04 +02:00
D. Berge
a5fe545885 Update URL with map view parameters.
The hash part encodes the current view so that it
is recreated when sending a link to someone.
2020-08-29 10:30:30 +02:00
D. Berge
fb4d25643e Implement project summary view 2020-08-28 13:49:14 +02:00
D. Berge
162a8878a9 Add help link to footer 2020-08-28 13:48:03 +02:00
D. Berge
e5bc5a0757 Refactor project summaries to use database views 2020-08-26 20:20:53 +02:00
D. Berge
1bf0b67409 Fix Project component name 2020-08-26 20:20:53 +02:00
D. Berge
b165fc2b2a Rely on Vuex for loading state indications 2020-08-26 17:48:55 +02:00
D. Berge
96d8e0df13 Add loading state indicator to Vuex store.
Every time an API call is made via the store's own `api`
interface, a request counter is incremented. It is
decremented whenever a call completes, whether sucessfully
or not.

If the request counter is at zero, no requests are in
progress. This is exposed to the user via the `loading`
getter.

Calls made other than via the store's `api` interface
will not be registered. The user can choose to increment /
decrement the request counter manually via the relevant
store methods.
2020-08-26 17:42:59 +02:00
D. Berge
da3d273c41 Show expanded sequence information 2020-08-25 18:04:42 +02:00
D. Berge
ab23b6e2e6 Reword text field label 2020-08-25 13:02:56 +02:00
D. Berge
98b35d4b89 Implement sequence list view 2020-08-25 13:02:20 +02:00
D. Berge
f366e99c35 Add Vue debounce plugin 2020-08-25 13:01:38 +02:00
D. Berge
2ed52f1a54 Add data manipulation functionality to Log component.
It is now possible to add, edit and delete events.
2020-08-22 20:46:15 +02:00
D. Berge
2ff0dfe1fa Add <dougal-event-edit-dialog/> component.
Used to enter new events.
2020-08-22 20:46:15 +02:00
D. Berge
15d5fb8148 Add <dougal-context-menu/> component 2020-08-22 20:46:15 +02:00
D. Berge
b2fc63dc51 Add defaults to Vuex store api action.
It sends Content-Type: application/json by default
and converts the body to string via JSON.stringify
unless it's a string already.
2020-08-22 20:46:15 +02:00
D. Berge
d33947e11a Handle empty API responses 2020-08-16 10:51:55 +02:00
D. Berge
9197c2c12d Add Aaltronav logo font 2020-08-16 10:02:06 +02:00
D. Berge
63f4b45a42 Add robots.txt 2020-08-14 17:30:45 +02:00
D. Berge
3a1ec467c9 Update client home page.
Still a work in progress. The recently viewed projects
list is meant to show the last three or so projects that
the user has visited on this computer, probably using localStorage.
2020-08-12 18:23:10 +02:00
D. Berge
3dcb55393a Navigate to events log from calendar.
* When clicking on a date, shows events for that date.

* When clicking on a sequence, shows that sequence's events.
2020-08-12 15:18:32 +02:00
D. Berge
4de0684919 Implement event logs component.
It can show:

 - all events (this could get slow);
 - a single sequence;
 - a set of sequences;
 - a single date;
 - a range between two dates.

It does not (yet) do pagination and filtering is local only.
2020-08-12 15:15:44 +02:00
D. Berge
d53105ef7a Fix map loading indicator 2020-08-11 20:57:29 +02:00
D. Berge
656f5a2c6d Remove debugging statements 2020-08-11 20:57:05 +02:00
D. Berge
b2b6a88c19 Autofocus on last calendar event on load 2020-08-11 20:43:13 +02:00
D. Berge
730b06afe1 Add visual loading indicator 2020-08-11 17:16:54 +02:00
D. Berge
efbdb713df Toggle loading property while (re)loading layers 2020-08-11 17:16:20 +02:00
D. Berge
5341db7026 Use proper API calling method 2020-08-11 17:15:23 +02:00
D. Berge
d55197937c Let map cope with non-features being returned by GIS.
Specifically, the raw positioning error vectors
introduced in commit 099cf909c1
2020-08-11 17:13:29 +02:00
D. Berge
ca508980f9 Add kateconfig file to frontend source 2020-08-11 17:09:10 +02:00
D. Berge
b076197122 Add browserslistrc file to frontend source 2020-08-11 17:08:15 +02:00
D. Berge
cae40c976e Show raw sequence info on map 2020-08-11 16:03:37 +02:00
D. Berge
4c5d29494c Initial commit 2020-08-08 23:59:13 +02:00