Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Refactor: Use DemoKit #124

Merged
merged 23 commits into from
Sep 5, 2023
Merged

Refactor: Use DemoKit #124

merged 23 commits into from
Sep 5, 2023

Conversation

bstien
Copy link
Member

@bstien bstien commented Jul 27, 2023

Why?

As mentioned in this sibling PR in FinniversKit we have a new library for demo/snapshotting named DemoKit.

I've added one new thing to DemoKit after that PR: ViewControllerAccessor. One of the demos need to be able to present a BottomSheet in order to select sorting, so this protocol will give access to the wrapping viewController for a Demoable.

To keep things tidy, since I saw that the FinniversKit PR got overwhelming, I've only included changes needed for the demo in this PR. I'll create a separate one for snapshots. This means this PR will fail badly on CircleCI.

What?

  • Remove all old code related to demo presentation.
  • Use DemoKit.

Version Change

Patch. No API changes to FinnUI.

UI Changes

See the gif in the FinniversKit PR: finn-no/FinniversKit#1237

@bstien bstien requested review from a team, AndreyMomot and robinsalehjan and removed request for a team July 27, 2023 16:39
Copy link
Contributor

@BjornRuud BjornRuud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So nice to have this unified. 🤩

@bstien bstien mentioned this pull request Jul 28, 2023
@bstien bstien merged commit 33cefb3 into master Sep 5, 2023
@bstien bstien deleted the use-demokit branch September 5, 2023 08:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants