From 7808f9ec64abaf3d2c8f4fd0cc3c6f567d8b2f92 Mon Sep 17 00:00:00 2001 From: DE BAERDEMAEKER Mathieu Date: Tue, 12 Jan 2021 16:45:42 +0100 Subject: [PATCH] feat(reviewers): adding reviewing data --- src/components/Pullrequest/Pullrequest.svelte | 19 ++++++- src/mappers/Mapper.ts | 2 +- src/mappers/Review.mapper.ts | 56 +++++++++++++++++++ src/mappers/index.ts | 2 + src/models/api/ReviewsApiType.ts | 6 +- src/models/api/index.ts | 3 + src/models/skizzle/ReviewType.ts | 6 +- src/services/OAuthAzureDevOps.service.ts | 9 +-- src/services/OAuthGithub.service.ts | 9 +-- src/services/Service.ts | 4 +- 10 files changed, 95 insertions(+), 21 deletions(-) create mode 100644 src/mappers/Review.mapper.ts diff --git a/src/components/Pullrequest/Pullrequest.svelte b/src/components/Pullrequest/Pullrequest.svelte index fb10612..8bed120 100644 --- a/src/components/Pullrequest/Pullrequest.svelte +++ b/src/components/Pullrequest/Pullrequest.svelte @@ -105,8 +105,23 @@ border: none; background-color: transparent; } + + .counter { + display: inline-block; + width: 1.5rem; + height: 1.5rem; + border-radius: 50%; + text-align: center; + line-height: 1.5rem; + color: #fff; + font-size: 0.75rem; + vertical-align: middle; + font-weight: bold; + background-color: #20aa20; + } +