hyunsanghan / meetingtime Goto Github PK
View Code? Open in Web Editor NEWProject for meeting matching service with Django and React
Project for meeting matching service with Django and React
필드는 chattingroom_url(URL필드), is_assigned(Boolean필드) 정도면 될 것 같고, Matching모델과 연결이 되어있으면 나중에 쓸모가 있을 듯 하네요.
어차피 matching에 chattingroom_url을 넣어줘야 하니, 여기서 연결하면 될 듯합니다.
matching에 현재 개발되어있는 것처럼 url을 그대로 넣는 게 아니라 ForeignKey로 ChattingRoom을 참조하여 is_assigned = False인 첫번째 chattingroom을 찾아서 그것을 current_matching API PATCH방식의 시리얼라이저 data에 넣는 식으로 구현하면 될 것 같은데 다들 어떻게 생각하시나요?
정회원 여부(?)도 Profile모델에 추가해야될듯. 이메일 인증을 거친 사용자인지에 대해 판별하기 위함
프로필수정 때 닉네임(team_name)을 수정하면 User모델의 username이 수정되게 되는데요.
이는 unique해야하므로 validation이 필요합니다.
username = request.data["team_name"]
위와 같이, request안에 team_name이라는 이름의 닉네임을 담은 request가 온다는 것을 감안하여 /profile API의 PATCH메소드에서 닉네임 중복 validation 로직을 추가해주세요.
frontend쪽은 camelCase로 통일하는 작업을 해야 할 것 같습니다.
그러고보니 PATCH방식 하나 추가해야겠네요.
용도는 cutline이라는 필드를 채워주는 것이고, Join가능한 시간이 마감되어 cutline(남녀 중 적은 쪽 인원수)이 확정되었을 때 그 값을 PATCH를 통해 current_meeting에다가 넣어주면 될 듯합니다.
오늘 발견된 promise이슈 일괄 해결합시다.
커트라인이 생성되기 전에는 별 문제가 없는데,
에 대해 논의가 이루어져야 할 것 같습니다.
@choiyeonseok @HyunSangHan 여기에 필요한 State들 댓글로 요청합시다.
예컨대 구글이라고 회사명이 등록되어있는 회원이 네이버로 회사명을 바꾸고 이메일 인증 버튼을 누르면, 회사명이 다시 구글로 바뀌어버립니다.
이 작업은 dev브랜치로 merge된 후에 시작해주시면 되겠습니다.
ref: #10
CurrentMeeting API (PATCH) - Meeting모델에 cutline 넣기
Join API (POST) - JoinedUser모델에 rank 넣기
코너케이스에 대한 대응을 위해 로직 개선 필요
비로그인케이스의 경우 initpage로 리다이렉트 필요
componentWillReceiveProps
이 deprecated됨에 따라 이에 미리 대응을 해두는 게 좋겠음
버튼은 그대로 두되, 얼럿만 추가(Link는 제외)
불필요한 dependency들을 확인하여 uninstall한다.
(PC버전 기준) 좌측상단구역에 들어갈 컴포넌트 구현.
user-img클래스가 모바일크기에서 정의되어있지 않아 해결 필요함
1. 로그인기능 방향성
2. 알아둬야 할 것
3. 구현해야 할 것
시간 부족할 시에 해커톤 당일에 구현
prevTab에서 추가한 preview 이미지가 newTab으로 전환했을 때에도 보여지는 버그
SDK통해서 이미 제작된 버튼을 쓰고 있는데, 우리 서비스에 맞게 커스터마이징 필요
(참고로, 이 경우 SDK사용이 불가하게 될 수도 있음)
#14 의 CurrentMatching API 관련하여 코드 오류 발견
Profile
, TeamProfileBody
컴포넌트 성능 향상을 위해 Throttling 적용 검토
last_result_time필드 추가 필요(third_shuffle_time과 meeting_time 사이의 시간 gap때문에, 그 시작시간을 의미하는 시각 정의가 필요함)
채팅방URL이 나오는 화면(최종 성공 시) / 안타깝게도 이번에는 매칭에 실패했다는 문구의 화면(최종 실패 시) 구현 필요
(PC버전 기준으로) 좌측하단구역에 들어갈 컴포넌트 구현.
리팩토링하면서 위치에 변화가 있었음. 수정필요
현재 PR의 타이틀을 보면, 관리가 제대로 되지 않고 있습니다.
아마 다들 바쁘기도 하고 해커톤 기한이 타이트해서 신경쓰기 어려웠던 부분이었을 텐데요.
기존 타이틀 중 브랜치명 그대로 PR 타이틀을 달아둔 사례를,
히스토리 관리 차원에서라도 PR 내용에 맞게 제목을 수정했으면 합니다.
각자 작성한 PR에 대해 타이틀 수정해주시고, 완료했다면 이 이슈에 댓글 달아주세요.
뒤로가기 했을 때 발견되는 이슈임
index.js:1437 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in CountDown (at ControlTool.js:91)
in div (at ControlTool.js:115)
in div (at ControlTool.js:101)
in div (at ControlTool.js:100)
in ControlTool (created by ConnectFunction)
in ConnectFunction (at Main.js:189)
in div (at Main.js:175)
in Main (created by ConnectFunction)
in ConnectFunction (created by Context.Consumer)
일단 AWS의 SNS 서비스 사용
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.