Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

이미지 다운로드 기능 구현 #387

Merged
merged 28 commits into from
Jul 20, 2023
Merged

이미지 다운로드 기능 구현 #387

merged 28 commits into from
Jul 20, 2023

Conversation

sumi-0011
Copy link
Member

🤔 해결하려는 문제가 무엇인가요?

이미지 다운로드 로직, view를 구현해야해요

🎉 변경 사항

  • 임시 디자인에 맞춰 '/result/download' 페이지에 이미지 생성, 다운을 구현했어요
  • 폰트, 사진이 깨지는 문제가 svg -> png 과정동안 있어, png를 만들 때 큰 이미지로 생성해 해결했어요
  • css가 먹지 않는 부분들이 있어서 이리저리 하다보니 css가 좀 복잡합니다.

🌄 스크린샷

dna (6)

oyeon-kwon and others added 19 commits July 8, 2023 14:33
Co-authored-by: 권오연 <ohyeon.kwon@flask.global>
* feat: 나와 잘맞는 DNA 배너

* Update src/components/banner/DnaBanner.tsx

Co-authored-by: hyesung oh <haesungoh414@gmail.com>

---------

Co-authored-by: oyeon-kwon <ohyeon.kwon@flask.global>
Co-authored-by: hyesung oh <haesungoh414@gmail.com>
* feat: useIsMounted 작성 (#71)

* feat: 결과 로직 짜기 - 많이 선택된 성향 찾기

* feat: 결과 로직 카운트 수정

* feat: 결과 그룹 도출

* feat: 결과 그룹 도출 로직 연결

---------

Co-authored-by: Sangjo LEE <cent7425@gmail.com>
* feat: use get user info by survey id

* feat: use get tendency와 로딩 핸들링

* feat: dna 페이지 접근 유저 확인
* feat: 결과 페이지 dna 배너 피드백 없을 때

* feat: 결과 페이지 상단 배너
* feat: useIsMounted 작성 (#71)

* feat: 북마크 아이콘 피드백 컴포넌트에 추가

* fix: isView Props 삭제

---------

Co-authored-by: Sangjo LEE <cent7425@gmail.com>
Co-authored-by: oyeon-kwon <ohyeon.kwon@flask.global>
* feat: 성향 데이터

* feat: 결과 dna 페이지 알고리즘 사용

* feat: dna 페이지 배너 사용 및 결과 렌더링

* feat: 외부자 dna 페이지 대응
* feat: 성향 데이터

* feat: 결과 dna 페이지 알고리즘 사용

* feat: dna 페이지 배너 사용 및 결과 렌더링

* feat: 외부자 dna 페이지 대응

* fix: 타입 선언 충돌 수정

* test: 결과 로직 테스트 코드 작성

* fix: console 제거

* fix: build error type fix

* refactor: 주석 제거

---------

Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* feat: 성향 데이터

* feat: 결과 dna 페이지 알고리즘 사용

* feat: dna 페이지 배너 사용 및 결과 렌더링

* feat: 외부자 dna 페이지 대응

* chore: satori 설치

* feat: image server에서 만들기

* feat: 강제 html 집어넣기

* feat: 일단 귀여운 이미지 배치

* refactor: 안쓰는거 정리

* feat: text 배치

* fix: 안쓰는 모듈 제거

* refactor: prod base url 추가 (될지는 모르겠음)

* feat: create image 정리

* fix: build error fix

---------

Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* feat: 성향 데이터

* feat: 결과 dna 페이지 알고리즘 사용

* feat: dna 페이지 배너 사용 및 결과 렌더링

* feat: 외부자 dna 페이지 대응

* chore: satori 설치

* feat: image server에서 만들기

* feat: 강제 html 집어넣기

* feat: 일단 귀여운 이미지 배치

* refactor: 안쓰는거 정리

* feat: text 배치

* fix: 안쓰는 모듈 제거

* refactor: prod base url 추가 (될지는 모르겠음)

* feat: create image 정리

* fix: build error fix

* chore: resvg 라이브러리 설치

* feat: resvg로 png base encoding

---------

Co-authored-by: hyesungoh <haesungoh414@gmail.com>
@sumi-0011 sumi-0011 self-assigned this Jul 13, 2023
@sumi-0011 sumi-0011 added the feat New feature or request label Jul 13, 2023
@sumi-0011 sumi-0011 linked an issue Jul 13, 2023 that may be closed by this pull request
@github-actions github-actions bot added style Change style or request it test: unit Generate or update unit test labels Jul 13, 2023
@sumi-0011 sumi-0011 changed the title Feat/image download 이미지 다운로드 기능 구현 Jul 13, 2023
@sumi-0011 sumi-0011 changed the base branch from main to feature/result/base July 13, 2023 15:01
@github-actions
Copy link

github-actions bot commented Jul 13, 2023

Bundle Sizes

Compared against none

Route Size (gzipped)
/ 83.25 KB
/404 76.57 KB
/500 76.61 KB
/_app 214.97 KB
/_error 73.53 KB
/dna/[id] 99.65 KB
/feedback 76.54 KB
/feedback/[id] 82.4 KB
/result 105.98 KB
/result/test 73.71 KB
/review/[id] 90.79 KB
/survey 86.26 KB
/survey/create 97.14 KB
/survey/intro 86.26 KB
/survey/join 82.66 KB
/survey/link 80.8 KB

Dynamic import: No significant changes found

Base automatically changed from feature/result/base to main July 14, 2023 11:28
@github-actions github-actions bot removed style Change style or request it test: unit Generate or update unit test labels Jul 15, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jul 15, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (bec73f1) 91.71% compared to head (0876965) 91.71%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #387   +/-   ##
=======================================
  Coverage   91.71%   91.71%           
=======================================
  Files          44       44           
  Lines         326      326           
  Branches       55       55           
=======================================
  Hits          299      299           
  Misses         27       27           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment on lines 63 to 65
<span css={bookmarkIconCss}>
<BookmarkIcon isBookmarked={false} />
</span>
Copy link
Member

Choose a reason for hiding this comment

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

여기 conflict 해결이 잘못된듯합니당 이거 세줄 삭제해야해여

@sumi-0011 sumi-0011 merged commit 97282a7 into main Jul 20, 2023
13 checks passed
@sumi-0011 sumi-0011 deleted the feat/image-download branch July 20, 2023 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

이미지 다운로드 기능 추가
5 participants