codestates / codestates/aneun-dongne

[Dev-Log] 1208 / 류준열

Open
#97 0 comments 0 reactions 0 assignees View on GitHub
Dev Log
Dominant language
JavaScript
Stars
6
Forks
7
PR merge metrics
No merged PRs in 30d

Description

> ### 오늘은 어떻게 프로젝트에 기여했나요?
> 이미지업로드용 S3 구축, 마이페이지 프로필창 css, get,put 구축
> ### 오늘의 프로젝트에서 힘든 점은 무엇인가요?
> * 항목별로 적어주세요.
> - css는 뭔가 이제 시스템을 알것같다.
> - get, put 을 어찌어찌 했다. DB에서는 정보변경이 완벽하게 이루어지는데, 문제는 클라이언트에 바뀐 프사를 보여주는것이다.
> - css 인라인스타일이 리플로우를 발생한단걸 알고있지만 당장 방도가 없어 아래 처럼 인라인스타일로 했다.
스크린샷 2021-12-09 오전 12 57 50
> 문제는 저 `url('${URL.createObjectURL(img)}')`이 formData형식만 받는다는것이다. 저것때문에 프사가 바뀔때마다 바뀌는 사진을 렌더링할수가 없다.

--> 해결 : `url.createobject()`를 공부하다가 `url.createobject()`이 blob을 url로 바꿔주는 함수란걸 알았다. 콘솔에 파일(blob)을 찍어보니 `object` 였다. url이 object일때와 string일때를 3항연산자로 구분하니 해결되었다
>
>
>
> ### 내일은 프로젝트에 기여하기 위해 무엇을 해야 하나요?
> * [ ] 댓글CSS, 마이페이지 프로필창, visited창

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue is a development log about S3 image uploads and the profile page's GET/PUT behavior, but it names no files, tests, or remaining actionable change. No completion criterion is provided; clarify the intended task and identify the relevant frontend entry point before work begins.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
cloud, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.