---
# System prepended metadata

title: lopo next steps

---

# lopo next steps

## Prerequisites

### Some projects facts:

- General facts (https://lokalportal.de/nienburg-stadt/aktuelles)
  - localized social media platform (reactions, comments, notifications, groups, 1:1 messenger...)
  - logged out and logged in state (public content, registered only content, content in groups)
  - different user types with slightly different roles / abilities (private, press/public, admin...)
  - content formats: posts & events
  - REST-API (ruby on rails backend, well tested, pretty solid)
- Web:
  - react + redux
  - grown project, but still well organized and ordered, not much documentation
  - Apps (iOS + Android):
  - react native + redux
  - not much documentation
  - Frontend Shared repository
     - language file
     - some api layer stuff

We want to whitelable the platform. For the backend we already have a nice working implementation. For the apps we started with a pretty simple config file, that shows/hides features + colors + namings... This is also working nicely for our needs. We want to extend with some features, but that's prio 2. The web frontend is not touched regarding whitelabling yet. The changes are a bit deeper, since we want to remove the map (but the newsfeed depends from the map), change the grid size, change the registration...

## Next steps
### staging system + credentials
https://staging.outerrim.lokalportal.de/nienburg-stadt/aktuelles
E-Mail: crap@makiuu.de
PW: 12345678

### dev setup
Everything is dockerized. Setup is done in a wink.

1. feature toggles
All the following features and adjustments are supposed to be working as a toggle in build time. Check for reference https://gitlab.com/lokalportal/apps/-/blob/develop/app/app.json

2. remove location based functionality

The system and almost any data model relays on a location. We don't want to remove it from the backend for now, but we want to hide those features from the frontend and use hard coded values to fullfill requirements of api calls.

  - map desktop
    - remove the map
    - change to a 2 column grid with centered content
  - map mobile
    - remove the map toggle on the top right
  - remove map component in posts/events
![](https://i.imgur.com/Uk5F68v.png)
  - remove address picker in post/event creation
![](https://i.imgur.com/I7UM3Fr.png)
  - remove address picker in registration and profile creation (https://staging.outerrim.lokalportal.de/create-profile/profile)
  - remove the address in the event feed
![](https://i.imgur.com/m0N3B1L.png)
  - remove the city name in a profile view (Redaktion aus Nienburg -> Redaktion) (https://staging.outerrim.lokalportal.de/profiles/press/lokalsport) 
![](https://i.imgur.com/bQ6GsDX.png)

2. Variables for all static links. Comparison to the apps

```
  "StaticPages": {
    "websiteString": "lokalportal.de",
    "enableBlog": true,
    "enableAboutUs": true,
    "enableFaq": true,
    "urls": {
      "AboutUs": "https://start.lokalportal.de",
      "Blog": "https://start.lokalportal.de/blog/",
      "Faq": "https://start.lokalportal.de/haeufige-fragen/",
      "Homepage": "https://lokalportal.de",
      "Legal": "https://lokalportal.de/static/impressum.html",
      "PrivacyPolicy": "https://lokalportal.de/static/datenschutz.html",
      "ReleaseNotes": "https://lkpt.de/versionshinweise-app",
      "TermsAndConditions": "https://lokalportal.de/static/agb.html"
```

3. Toggles for main navigation

```
  "tabs": {
    "showNewsFeed": true,
    "showEventFeed": true,
    "showGroups": true,
    "showUserDirectory": true,
    "showNotifications": true
  },
```

4. Configuration file for all meta tags (react helmet)

5. replace location component in the header with a logo

remove the "Aktuelles für Nienburg" and add a logo

![](https://i.imgur.com/4NILN8l.png)
