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
서버에서 SVG DNA 이미지 만들기 #381
Merged
Merged
서버에서 SVG DNA 이미지 만들기 #381
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sumi-0011
requested review from
hyesungoh,
oyeon-kwon and
sjoleee
as code owners
July 11, 2023 06:25
sjoleee
approved these changes
Jul 11, 2023
Base automatically changed from
feature/dna/result-render
to
feature/result/base
July 11, 2023 12:10
Closed
hyesungoh
added a commit
that referenced
this pull request
Jul 14, 2023
* 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>
sumi-0011
added a commit
that referenced
this pull request
Jul 20, 2023
* result DNA 페이지 작업 중 (#357) Co-authored-by: 권오연 <ohyeon.kwon@flask.global> * feat: 나와 잘맞는 DNA 배너 (#366) * 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> * 결과 로직 알고리즘 짜기 (#371) * feat: useIsMounted 작성 (#71) * feat: 결과 로직 짜기 - 많이 선택된 성향 찾기 * feat: 결과 로직 카운트 수정 * feat: 결과 그룹 도출 * feat: 결과 그룹 도출 로직 연결 --------- Co-authored-by: Sangjo LEE <cent7425@gmail.com> * DNA 페이지 API 관련 로직 (#365) * feat: use get user info by survey id * feat: use get tendency와 로딩 핸들링 * feat: dna 페이지 접근 유저 확인 * 결과 페이지 상단 DNA 배너 (#370) * feat: 결과 페이지 dna 배너 피드백 없을 때 * feat: 결과 페이지 상단 배너 * feat: 북마크 아이콘 피드백 컴포넌트에 추가 (#369) * feat: useIsMounted 작성 (#71) * feat: 북마크 아이콘 피드백 컴포넌트에 추가 * fix: isView Props 삭제 --------- Co-authored-by: Sangjo LEE <cent7425@gmail.com> Co-authored-by: oyeon-kwon <ohyeon.kwon@flask.global> * dna 페이지 퍼블리싱 및 로직 추가 (#372) * feat: 성향 데이터 * feat: 결과 dna 페이지 알고리즘 사용 * feat: dna 페이지 배너 사용 및 결과 렌더링 * feat: 외부자 dna 페이지 대응 * DNA 결과 로직 테스트 코드 작성 (#373) * feat: 성향 데이터 * feat: 결과 dna 페이지 알고리즘 사용 * feat: dna 페이지 배너 사용 및 결과 렌더링 * feat: 외부자 dna 페이지 대응 * fix: 타입 선언 충돌 수정 * test: 결과 로직 테스트 코드 작성 * fix: console 제거 * fix: build error type fix * refactor: 주석 제거 --------- Co-authored-by: hyesungoh <haesungoh414@gmail.com> * 서버에서 SVG DNA 이미지 만들기 (#381) * 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> * satori로 만든 svg를 png로 변환 (#382) * 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> * refactor: 페이지 경로 변경 * feat: 이미지 다운로드 기능 추가 * feat: 모바일 감지해서 토스트 메시지 띄우기 * feat: mock data 추가 * feat: 폰트 적용 * feat: 화질 깨지는 문제 수정 * feat: 포지션 집어넣기 * feat: 배너 완성 * fix: minor style fix * feat: 이미지 변경 * feat: 포지션 추가 * refactor: 이미지 로직 분리 * feat: pc 다운 * feat: 다운로드 추가 * fix: 충돌 에러 수정 * feat: image 경로 변경 * refactor: 사용하지 않는 파일 삭제 --------- Co-authored-by: 권오연 <61301574+oyeon-kwon@users.noreply.github.com> Co-authored-by: 권오연 <ohyeon.kwon@flask.global> Co-authored-by: hyesung oh <haesungoh414@gmail.com> Co-authored-by: Sangjo LEE <cent7425@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤔 해결하려는 문제가 무엇인가요?
DNA 이미지 다운로드를 위해, 먼저 이미지를 만들어야해요
🎉 변경 사항
satori
라이브러리를 이용해서 서버에서 이미지를 만들고, 클라이언트로 만든 svg string을 보내주었어요🙏 여기는 꼭 봐주세요!
Resvg
라이브러리 등을 이용해 svg를 이미지로 만들고, 다운로드 할 수 있는 기능을 추가하려고 합니다.사용 방법
🌄 스크린샷
📚 참고