Commit Graph

251 Commits

Author SHA1 Message Date
D. Berge
8411eea29d Stop race condition between multiple WebSockets.
Only one websocket should be active or initialising
at any one time.
2020-09-06 18:09:04 +02:00
D. Berge
513e6d6bc5 Fix Webpack development proxy configuration 2020-09-06 14:54:03 +02:00
D. Berge
9c20c4295f Make sequence, line, point getters return numbers if possible 2020-09-04 01:33:18 +02:00
D. Berge
8793f99648 Add lineStatus getter 2020-09-04 01:33:18 +02:00
D. Berge
5b21f57587 Adapt log for online shot input 2020-09-04 01:33:18 +02:00
D. Berge
45885c0081 Add gun info to map position 2020-09-04 01:33:18 +02:00
D. Berge
1a851fefdf Fix issue with protocol detection 2020-09-04 01:33:18 +02:00
D. Berge
a167d4954c Use server notifications on map.
The real-time position is pushed via a websocket rather
than pulled at regular intervals.
2020-09-04 01:33:18 +02:00
D. Berge
34dfb4f862 Add websocket client to receive event notifications.
These are saved in the Vuex store and can be retrieved
via the `serverEvent` getter. There are also some
convenience getters for retrieving line status.
2020-09-04 01:33:18 +02:00
D. Berge
78aaacb8b3 Improve sequence list search 2020-09-02 11:09:04 +02:00
D. Berge
e9f62a420a Only fetch real-time positions when layers are visible 2020-09-01 12:37:59 +02:00
D. Berge
7dbfb3ab6a Change real-time position marker 2020-09-01 12:37:39 +02:00
D. Berge
bf896f71dc Show also NTBP and in progress sequence statuses 2020-09-01 12:36:00 +02:00
D. Berge
297829f343 Do not list raw/final files if there aren't any 2020-09-01 12:35:30 +02:00
D. Berge
4291b83817 Show raw and final remarks in expanded row 2020-09-01 12:34:58 +02:00
D. Berge
276af8fcd6 Filter sequence list locally (fetch all sequences).
Even in the event that we have thousands of sequences
this should be acceptable and gives us more flexibility
at lower effort than paginating on the server.
2020-09-01 12:33:01 +02:00
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