Skip to content
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

'최근 투표만' 설정값 localStorage에 저장 #495

Closed
2 tasks done
injoonH opened this issue May 25, 2024 · 0 comments · Fixed by #500
Closed
2 tasks done

'최근 투표만' 설정값 localStorage에 저장 #495

injoonH opened this issue May 25, 2024 · 0 comments · Fixed by #500
Assignees
Labels
Agenda enhancement New feature or request FE Tasks for the front-end part

Comments

@injoonH
Copy link
Member

injoonH commented May 25, 2024

제안 내용 *

'최근 투표만' 토글을 켜고 새로고침을 하면 원래 상태로 돌아갑니다.
마지막으로 설정한 값을 localStorage에 저장하고 사용함으로써 UX를 개선합니다.

관련 Task *

  • handleRecentOnly 실행 시 localStorage에 저장된 값 업데이트
  • showRecentAgendasOnly를 정의하는 useState()에 콜백 함수를 넣어 localStorage에 저장된 값을 initial value로 사용
@injoonH injoonH added enhancement New feature or request FE Tasks for the front-end part Agenda labels May 25, 2024
@yumincho yumincho self-assigned this May 30, 2024
@yumincho yumincho linked a pull request May 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agenda enhancement New feature or request FE Tasks for the front-end part
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants