Skip to content

Conversation

@devmanta
Copy link
Collaborator

@devmanta devmanta commented Nov 30, 2024

πŸ“Œ Related Issue

close #123

πŸ“ Description

  • 할일 생성,μˆ˜μ •,μ‚­μ œ μ‹œ κ΄€λ ¨ λ‚΄μš© 리패칭 μ§„ν–‰

dashboard: Dashboard | null;
setDashboard: (dashboard: number | null) => void;

color: string;
Copy link
Collaborator Author

@devmanta devmanta Nov 30, 2024

Choose a reason for hiding this comment

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

@21ow
μ§€μœ€λ‹˜ μš”κ±° dashboard에 μžˆλŠ” 값이라 μ—†μ• κ³  λŒ€μ‹œλ³΄λ“œκΊΌ κ°€μ Έλ‹€μ“°λŠ”μͺ½μœΌλ‘œ λ°”κΏ”λ΄€μŠ΅λ‹ˆλ‹€

const card = useCardStore((state) => state.card);

useEffect(() => {
useCardStore.getState().setCard(item);
Copy link
Collaborator Author

@devmanta devmanta Nov 30, 2024

Choose a reason for hiding this comment

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

μΉ΄λ“œλ„ 전역값이 μžˆλ”λΌκ³ μš”? κ·Έλž˜μ„œ μ–˜λ₯Ό μš°μ„ μ μœΌλ‘œ κ°€μ Έλ‹€ μΌμŠ΅λ‹ˆλ‹€ 감사링

Comment on lines +3 to +12
interface TriggerStore {
trigger: {
dashboard: boolean;
card: boolean;
};
updateTrigger: {
dashboard: () => void;
card: () => void;
};
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

μ•„.. 이거 λ³΄λ‹ˆκΉ μ΄λ ‡κ²Œν•˜λŠ”κ±°λ³΄λ‹€
card {trigger, updateTrigger}
board {trigger, updateTrigger}
μ΄λŸ°κ΅¬μ‘°κ°€ 더 λ‚˜μ€κ²ƒκ°™λ„€μš”
ν•˜μ§€λ§Œ 패슀... πŸ˜‡

@devmanta devmanta self-assigned this Nov 30, 2024
@devmanta devmanta added the πŸ”¨Refactor Code refactoring tasks to improve code structure and maintainability without changing functionality label Nov 30, 2024
Copy link
Owner

@najitwo najitwo left a comment

Choose a reason for hiding this comment

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

πŸ‘πŸ‘πŸ‘ κ³ μƒν•˜μ…¨μŠ΅λ‹ˆλ‹€

@devmanta devmanta merged commit 405a35b into develop Nov 30, 2024
1 check passed
ghost pushed a commit that referenced this pull request Dec 1, 2024
* [feat] implement toast message (#117)

* ✨ feat: implement toast message

* πŸ› fix: resolve lint error

* ✨ feat: apply toast notifications

* ⚑️ refactor: improve toast

* 🏷️ chore: update type

* [feat] add modal for adding columns (#119)

* ✨ feat: add create column modal

* ✨ feat: add create column modal

* :chore: fix styling and type

* ✨ feat: add delete and update column modal

* πŸ› fix: resolve lint error

* πŸ› fix: resolve lint error

* ♻️ refactor: reflect to review

* πŸ› fix: resolve build error

* [feat] dashboard restore  (#122)

* πŸ› fix: null check for assignee

* πŸ’„ style: check assignee exist

* ✨ feat: set dashboard to null if deleted

* ✨ feat: add toast message after update or delete

* ♻️ refactor: refetch dashboards if data is changed and add toast msg

* ⚰️ remove: remove dead code

* πŸ’„ style: skeleton linear effect

* πŸ’„ style: add no wrap for card column label

* πŸ’„ style: remove button outline

* πŸ’„ style: add z-index on header dropdown menu

* πŸ’„ style: responsivce css

* πŸ’„ style: modal height

* ♻️ refactor: remove header my menu if ouside clicked

* [refactor] refetch card data once card is created, deleted, updated (#124)

* ♻️ refactor: trigger store add card

* ♻️ refactor: refetch card data once create,update,delete

* ✨ feat: redirect to mydashboard if token is existed

* [feat] add login and signup modal (#118)

* πŸ”₯ remove: styled components

✨ feat: add authlayout component and implement responsive
design

♻️ refactor: rename layout file update login page structure and modify package-lock.json

* ✨ feat: add signup page and css

* πŸ› fix: type error

* ♻️ refactor: signup page css and move api folder

* ❇️ feat: add login signup modal

* πŸ› fix: install js-cookie

* Revert "πŸ› fix: install js-cookie"

This reverts commit bcc9109.

* ♻️ refactor: css structure and finalize styles

* [fix] manage multiple cards in card store (#126)

* πŸ› fix: manage multiple cards in card store

* πŸ› fix: prevent duplicate cards and clear cards on dashboard navigation

* πŸ› fix: push to index after logout (#128)

* [style] improve dashboard uiux (#129)

* πŸ’„ style: add min height to create column button

* πŸ’„ style: improve UI/UX

* πŸ› fix build error

* πŸ› fix build error

* πŸ› fix build error

* πŸ’© style: update min-width for responsive design

* πŸ’© style: update for responsive design

* [fix] redirection for non token (#130)

* πŸ› fix: redirection for non token

* πŸ› fix: get total count on header members

* ✏️ fix: typo

* πŸ”‡ remove: console

* πŸ› fix: logout router replace

* πŸ› fix: resolve delete column error (#132)

---------

Co-authored-by: naji <[email protected]>
Co-authored-by: κΉ€μ§€μœ€ <[email protected]>
Co-authored-by: λ‚˜μŠΉμ—½ <[email protected]>
@devmanta devmanta deleted the 123-refetch branch December 2, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

πŸ”¨Refactor Code refactoring tasks to improve code structure and maintainability without changing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[refactor] refetch data

3 participants