Skip to content

unknown-area

A screen whose area is not one of the names listed under areas in starboard.yaml.

Areas group the screens: the screen catalog and the app map are organised by them, in the order areas lists them, and the formatter sorts screens.yaml by that order. A screen in an unlisted area falls outside that order. It is usually a typo or a plural (trips for trip). This is a correctness rule: it is always an error.

Correct the area to one that is listed, or add the new area to areas in starboard.yaml, in the place it belongs in the app.

The project’s areas are trip and activity:

version: 1
platforms:
ios:
formFactors: [phone]
areas: [trip, activity]
screens:
trip.timeline:
title: Timeline
area: trips
presentation: tab
screens:
trip.timeline:
title: Timeline
area: trip
presentation: tab