---
# System prepended metadata

title: 'C+ filters, pipeline - Mon 28th September, 2020'
tags: [C+, filters, gocd, programmingjournal, 2fa, '2020', sectionlist, fastlane]

---

# C+ filters, pipeline - Mon 28th September, 2020

I did a new "alpha" release of C+. The pipelines I built using [GoCD](https://www.gocd.org/) and [Fastlane](https://fastlane.tools/) still did their job well. I had a problem with Android hanging on the Detox e2e test stage, due to it not logging into the app properly on staging.

Another small issue was the 2FA I had setup for App Store Connect had expired. I had to add an env variable to GoCD, [FASTLANE_SESSION](https://github.com/fastlane/fastlane/tree/master/spaceship#web-sessions), to prevent this in the future.

I also got started with the filters page in C+. Due to the way the filters payload is structured, it is a bit troublesome to normalise the filter structure for use in a `SectionList`:

```typescript=
const groupFilters: readonly SectionListData<SrwFilters_FilterOption>[] = (data?.srwFilters.filters ?? []).map(
        (filterSection) => ({
            title: filterSection.title,
            data: filterSection.options,
            renderItem: ({ item }) => <P>{item.optionName}</P>,
            keyExtractor: (item) => String(item.segmentId),
        })
    )
```

###### tags: `programmingjournal` `2020` `C+` `gocd` `fastlane` `2fa` `sectionlist` `filters`