Skip to content

Refactor: board integrate #382

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

Merged
merged 14 commits into from
May 26, 2023
Merged

Refactor: board integrate #382

merged 14 commits into from
May 26, 2023

Conversation

KoYejune0302
Copy link
Contributor

잡담 게시판(Q&A, 자유게시판, 익명) -> 자유게시판으로 통합

@KoYejune0302 KoYejune0302 requested a review from 000wan May 18, 2023 10:16
<option
v-if="boardId"
value=""
:selected="categoryId = ''"
Copy link
Member

Choose a reason for hiding this comment

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

이거 왜 고장났지 했는데 = 1개 써서 그런것 같아요

:selected="categoryId === ''"

로 바꾸면 작동은 합니다만 board 바꿀때 '말머리 없음'이 아니라 공백이 보입니다.
그래서 이 줄 그냥 삭제하고, 204번째 줄 watch 속성에

watch: {
    boardId () {
      if (this.categoryList.length) {
        this.categoryId = '$not-set'
      } else {
        this.categoryId = ''
      }
    }
  },

boardId 바뀔 때마다 categoryId=$not-set으로 해주는데 이거를

boardId () {
    this.categoryId = ''
}

로 바꾸면 제대로 작동하는 듯 합니다.

@@ -287,14 +313,15 @@ export default {
changeLocale,
...mapActions(['toggleDarkMode']),
click (boardName) {
if (this.boardGroup[boardName]) {
this.boardGroup[boardName] = false
console.log(this.boardList)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
console.log(this.boardList)

console.log 삭제해주세요

:key="groupName"
class="navbar-item has-dropdown is-hoverable boardlist"
v-for="group in boardGroup"
:key="group.name"
Copy link
Member

Choose a reason for hiding this comment

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

여기서 div 박스들 class가 좀 꼬여서 상단 아이템 hover 했을 때 밑에 빨간 바가 안나옵니다. (전체보기는 나옴)
git diff가 너무 길어서 일단 이 PR에 해당 버그 수정해서 커밋했어요. 작업 하던거 있으면 git pull --rebase 받고 해주세요!

KoYejune0302 and others added 13 commits May 26, 2023 15:53
integrate talk board
add anonymous button to postwrite
fix typo
change the order of boards in navbar
change groupId
navbar 하드코딩 제거
delete console.log
change default category to 'no-category'

change order of buttons
Copy link
Member

@000wan 000wan left a comment

Choose a reason for hiding this comment

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

백엔드 자유게시판 통합도 완료 필요

@000wan 000wan merged commit be656c9 into dev May 26, 2023
@000wan 000wan deleted the refactor/board branch May 26, 2023 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants