Code Monkey home page Code Monkey logo

swpp2019-team1's People

Contributors

bgchun avatar dependabot[bot] avatar eodmsabc avatar haese0ng avatar helloing0119 avatar uyw4687 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swpp2019-team1's Issues

프로젝트 경로에 공백이 포함된 경우 쉘 스크립트 실행문제

Describe the bug
A clear and concise description of what the bug is.
프로젝트 경로에 공백이 포함된 경우
쉘 스크립트 test.sh 파일이 정상적으로 실행되지 않음.

To Reproduce
Steps to reproduce the behavior:

  1. 공백이 포함된 경로로 project clone
  2. 필요한 패키지 설치 후 ./test.sh -a등으로 테스트 실행
  3. argument 인식에서 에러 발생

Expected behavior
경로에 공백이 있어도 정상적으로 작동해야 함

CreateNow 클릭시 오류

로그인을 하지 않은 상태에서 Make Your Own Match에 글을 쓴 다음에 CreateNow 를 누르면

HTTP403: FORBIDDEN - 서버에서 요청을 이해했지만 수행을 거부하고 있습니다. (XHR)POST - http://t1matchmaker.ml/api/match/nlp

가 뜹니다.

Test shell script

swpp2019-team1/test.sh 추가함
사용법은 파일 내에 있는 것과 마찬가지로 ./test.sh -al 과 같은 방식으로 실행

옵션:

-a: frontend, backend 모두 테스트
-f: frontend 테스트
-b: backend 테스트
-l: lint 체크 (-afb 없이 실행한다면 실행한 위치에 따라 lint 체크)

옵션 없이 실행한다면 실행한 위치에 따라 자동으로 테스트 + lint 체크

root: -al
front: -fl
back: -bl

(PR #30, COMMIT 25fd5e3)

Jeehoon's Found Bugs

  1. 싸인업이 안돼요ㅜㅜ 이메일 계속 듀플리케잇이라고 뜨네요

  2. 로그인 안 한 채로 랜딩 페이지의 Search 누르면 그냥 하얀 빈칸 3개 나오는데 어떻게 사용하는지 모르겟네요.

  3. 랜딩 페이지의 Create Now 눌러도 아무것도 안 일어나요... 콘솔 보면 에러 뜨네요.
    POST http://t1matchmaker.ml/api/match/nlp/ 403 (Forbidden)

Can't quit from match

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to specific match ' e.g) http://t1matchmaker.ml/match/1
  2. Click on 'Quit'
  3. See error
    Always alert 'ERROR!' message. Cannot go back to main page
    Expected behavior
    A clear and concise description of what you expected to happen.
    Go back to main page

SWPP Bug report - can't sign up

Describe the bug
I tried to sign up with various kinds of emails, but the system always says 'the email is duplicated'

To Reproduce
Steps to reproduce the behavior:

  1. Go to sign up page
  2. Type in all the information
  3. Whenever i click sign up, it says 'email is duplicated'

썸네일 업로드 추가 구현

POST를 통해 새로운 매치가 생성되는 경우 post를 사용하도록 변경될 예정

  1. PUT을 통한 match edit에서도 이미지를 포함한 multipart/form-data형식으로 변경되어야 함
  2. User profile에 대해서도 같은 방법으로 구현되어야 함

Bug on match join

Describe the bug
A clear and concise description of what the bug is.
Join 된 상태에서 한번 더 join 요청을 보냈을 때 participation DB에 같은 join 내역이 중복되서 추가됨.

To Reproduce
Match Detail 페이지에서 Join 요청 중복 전송

Expected behavior
Participation 추가하기 전 Backend에서 이미 있는 participation 내역인지 확인 필요

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome

Frontend UI signup redirection

현재 문서 상 Signup을 완료하면 Home으로 redirect되는걸로 나타나 있지만
Sign In 으로 redirect하도록 문서 수정해야 함

sign up이 되지 않은 상태에서의 behavior

Describe the bug
sign-up이 되지 않았을 때 search 창과 create now 버튼이 clickable 하지만 실제로 뭐가 동작하지는 않습니다.

To Reproduce
Steps to reproduce the behavior:
sign-up과 로그인이 되지 않았다고 가정했을 때
1-1. 서치 창에 뭔가를 입력하거나
1-2. create match 버튼을 눌렀을 때

Expected behavior
A clear and concise description of what you expected to happen.
clickable 하니까 뭔가 동작이 발생하기를 기대하게 되는데 아무것도 발생하지 않습니다.
처음에 의도한 바가 search 바랑 create match 버튼이 로그인/sign-up이 안된 상태에서도 활성화되는 거였나요?

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2019-12-05 at 6 42 49 PM
Screen Shot 2019-12-05 at 6 42 25 PM

Desktop (please complete the following information):

  • OS: Mac
  • Browser: chrome

Design Pattern Issue - Mini Profile Duplication

Problem
In match detail page, user can move on to host's profile page by clicking host's profile picture.
But this feature can be used in Navigation bar and chatroom also.
image

Solution
Make a separate component 'MiniProfile' which contains profile picture and username with button which will redirect user to profile page.

SWPP feature request - Footer position

Is your feature request related to a problem? Please describe.
소소한 디자인적 요소이지만...! Footer position이 화면 아래쪽에 fix되어 있으면 좋겠습니다!

Additional context
Screen Shot 2019-12-05 at 6 41 29 PM

sonarcloud

To Reproduce
Steps to reproduce the behavior:

  1. Go to travis report

Screenshots
image

YARN 명령어 워크스페이스 전역에 추가

yarn 명령어

인스톨 관련

installa: 프론트엔드+백엔드 인스톨
installf: 프론트엔드 인스톨
installb: 백엔드 인스톨
saveb: 백엔드 requirements.txt 저장

테스트

testf: 프론트엔드 테스트
testb: 백엔드 테스트
testa: 프론트+백 테스트

테스트+린트체크

testfl: 프론트엔드 테스트+린트체크
testbl: 백엔드 테스트+린트체크
testal: 프론트+백 테스트+린트체크

린트체크만

lintf: 프론트엔드 린트체크
lintb: 백엔드 린트체크
linta: 프론트+백 린트체크

구동

start: 프론트엔드 구동
back: 백엔드 구동
dev: 프론트엔드 백엔드 동시 구동

React file structure

비슷한 종류의 컴포넌트끼리 폴더로 묶어서 관리하면 좋을 것 같아요

예시) containers

  • Header
  • User
    • Auth
      • Sign In
      • Sign Up
    • Profile
      • Profile Edit
  • Homepage
  • Search
  • Match
    • Create
    • Detail
      • Edit
    • Chatroom
  • Footer

backend match db 에서 num_participation 필드 삭제

Participation 테이블에서 참여자 수를 가져올 수 있기 때문에 중복된 정보를 표시하는 필드입니다.

해당 필드 삭제하고, 참여자 수가 필요한 함수는 subquery사용해서 해결하는게 바람직해 보입니다.

VScode 세팅

vscode 루트 디렉토리로 워크스페이스 열 경우 linter나 intellisense 오류나던 문제 해결

(PR #30 , COMMIT ed33482)

swpp2019-team1/.vscode/settings.json 을 다음 코드로 생성하면 됨

{
  "eslint.workingDirectories": [
    { "directory": "./front", "changeProcessCWD": true }
  ],
  "python.envFile": "/Users/HaeseongMac/Workspace/swpp/swpp2019-team1/back/.env",
  "python.pythonPath": "/Users/HaeseongMac/anaconda3/envs/swpp/bin/python",
  "python.linting.pylintEnabled": true,
  "python.linting.enabled": true,
  "python.linting.pylintArgs": ["--rcfile", "./back/.pylintrc"]
}

400 error on creating 'matches'

Describe the bug
썸네일 업로드 창에서 이미지 파일이 아닌 다른 어떤 파일도 업로드가 되도록 되어 잇는데, 이런 파일을 업로드할시
400 error가 뜨며 다음 창으로 넘어가지 않습니다.

To Reproduce
Steps to reproduce the behavior:

  1. 로그인하고 create match 화면으로 갑니다.
  2. 이미지가 아닌 파일을 썸네일로 올립니다.
  3. create 버튼을 누르면 400 error가 뜹니다.

Sonarcloud report

Describe the bug
Front와 Back중 하나의 결과만 sonarcloud에 등록되는 문제

.travis.yml을 수정하거나 report를 합쳐서 전송해야함

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.