Giter VIP home page Giter VIP logo

sitrep's Introduction

Sitrep

Lage Lage2 Overview Editor Feed Triage

Demo-Environment

The current develop version is automatically deployed to: https://demo.sitrep.ch Login is possible with your Github account or sign-up for a new account at Auth0.

Local Development Environment

A simple local development environment can be created using docker compose and the frontend can be run using yarn.

  1. Install docker / docker compose and yarn / node 16+

  2. Create a .env.local file setting these variables:

Oauth2_PROXY clients can be created using Auth0....

OAUTH2_PROXY_CLIENT_ID=sitrep
OAUTH2_PROXY_CLIENT_SECRET=ds8LCRW4jhB58nWdMgZHeVISqx3O3e1o3g0LEr9H8tM=   # generate with: openssl rand -base64 32 | tr -- '+/' '-_'
OAUTH2_PROXY_COOKIE_SECRET=kvicWov5Y_w10r2vmnxJTUTugMUtBp6_R4loxuANMtg= # generate with: openssl rand -base64 32 | tr -- '+/' '-_'
HASURA_GRAPHQL_ADMIN_SECRET=388HMfQ00gEyg636O63S1jxRODTSoAiu_XHa0fXhtRo=  # generate with: openssl rand -base64 32 | tr -- '+/' '-_'
POSTGRES_PASSWORD=postgrespassword

OAUTH2_PROXY_REDIRECT_URL=http://localhost:3000/oauth2/callback # port for yarn dev server%
  1. Run docker compose environment:
docker compose --env-file .env.local up -d
  1. Run yarn
cd ui && yarn start
  1. Open localhost:3000. This will automatically proxy to the OAUTH2 proxy which will then proxy requests towards the graphql-engine with its /v1/graphql. Authentication will be handled by the local dex IDP with it's mock provider. Just click on Log in with Example.

Translations

To correct or add translations we invite you to help us out on Transifex. We currently support the following languages:

  • German (de)
  • English (en)
  • Italian (it)
  • French (fr)

sitrep's People

Contributors

nimdanitro avatar dependabot[bot] avatar snyk-bot avatar lukastresch avatar weblate avatar

Stargazers

LazuLite avatar Fabian Schweizer avatar Andrés Baumeler avatar Markus Mächler avatar jhuesser avatar  avatar  avatar ddm93 avatar Huu-Ân Cao avatar Thomas Bürli avatar Jonas Mosimann avatar Raphael Seebacher avatar

Watchers

 avatar

Forkers

weblate

sitrep's Issues

Link entries/symbols

It would be benefitial to be able to link journal entries to icons on maps or ressources, as well as ressources to icons on maps, etc.

When selecting a icon on the map, a direct link to the journal entry or ressource is show (hyperlink for example) - and vice versa
Linking those elements could be done either/and by having a button in the elements to create another element (e.g. journal to journal, journal to map, map to ressource, etc.) or/and by simply having a link field (e.g. Meldungsnummer: ffebd35a-0665-42e6-9f33-eeff60a59bbf)
The issue #344 could also implemented in the same manner.

Add a Clock in the Journal Feed

Als Stabmitglied oder Führungsunterstützer in einem Führungsraum ohne Uhr möchte ich die aktuelle Zeit direkt auf dem Journal-Feed sehen als Digital Uhr mit Sekunden genauigkeit.

Offene Frage:

  • Soll dies auch im Journal-Editor zu sehen sein?

DoD:

  • Erstellung einer (reusable) Uhrkomponente mittels React useEffect. Uhrzeit soll in LocalTime und Localformat gerendert werden.
  • Uhr-Komponente wird in Journal-Feed verwended und richtig gestyled.

Create initial Version for Tasks

Aufteilung der Tasks in folgende Bereiche:

  • Pendenzen / Aufträge
  • Bedürfnisse / Anträge
  • Sofortmassnahmen

Layout der Tabellen kann analog zum Fibs erstellt werden.

Ereignis-Dashboard mit Basis-Informationen

Ein Ereignis soll ein Dashboard haben, welches die wichtigsten Angaben zu einem Ereignis darstellt.

  • Personenübersicht
  • Karte
  • Letzte Schlüsselmeldungen
  • Aktuelle Zeit

Evaluate Feature Flag Service

  • Definition der Evaluationskriterien (Evaluation / Scorecard)
  • Shortlist der Tools bestimmen
  • Aufsetzen eines Test-Env für die Shortlist-Kandidaten

Journal-Nachrichten mit Attachments

Journal-Nachrichten sollen Anhänge erlauben, wie z.b. PDFs oder Bilder.

Attachments sollen in den Feeds als Thumbnails dargestellt werden, Bilder minimiert in einer zu definierenden Grösse.
In der Druckansicht, sollen Anhänge aufgelistet werden in Text-Form.

Scenario-Importer for events with fixed setups (e.g. Planereignisse KaPo)

Als C Lage will ich Planereignisse vorbereiten können als Karten-Layer-Szenario, welche ich im Ereignisfall direkt auf ein Kartenlayer importieren kann.

Dazu brauche ich:

  • Ein Szenario-Editor, welcher losgelöst von einem Ereignis ist. Dort kann ich Szenarien Zeichen und abspeichern
  • Eine Möglichkeit ein gespeichertes Szenario auf ein Kartenlayer eines Ereignis zu importieren (und dann gegebenfalls auch anzupassen. Die Zeichnungen sollen sich dann nicht mehr von normalen Ereignis-Zeichnungen unterscheiden, und keine Auswirkungen auf das gespeicherte Szenario haben)

Create a running image

It would be beneficial to provide a running image or docker compose for faster deployment of new installations

Add option for multiple drawing layers

What we want:

  • have multiple feature layers displayed
  • it's only possible to select a single layer for active modification
  • toggle visibility of the shown feature layers
  • have the possibility to add WMS data layers and toggle their visibility in the same way as feature layers
    • for first iteration, ignore authenticated layers and WMS autodiscovery, users have to provide complete wms url of layer

Prepare Demo Environment

We want to improve our Demo / Showcase environment so that we can get a better experience to folks interested in Sitrep.

We want to achieve the following:

  • Separation of development preview environment and demo environment
  • Demo environment should be following the stable release
  • Development preview should be based on develop branch (tag develop)
  • deployment via flux (see flux-gitops repo)
  • document environments here and retire sitrep-dev.zso-uri.ch

Questions to answer:

  • Should the demo environment contain fixtures and a periodic reset of the database to the fixtures? (i.e. nightly?)

Improve Line Drawings for Map

We want to improve the line-drawings for e.g. blocked/closed streets where we have to have an starting and ending icon.

Due to mapbox/mapbox-gl-js#9937 we can currently only add either a start or an end icon.

One option would be that for each corresponding line object, we dynamically decorate a corresponding icon object (on a separate layer?)

Persist and synchronize Map drawing events

For the Map feature, we want to synchronize and properly persist the geojson features.

Currently, we persist drawings in the clients browser local storage, therefore we want to create graphql mutations and queries to properly save and retrieve the drawing events and adjust the mapbox hooks to retrieve the the events with Apollo (check feasibility of opportunistic loading here and subscriptions).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.