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

ui: add comment redux #1263

Merged
merged 16 commits into from
Jun 20, 2023
Merged

ui: add comment redux #1263

merged 16 commits into from
Jun 20, 2023

Conversation

meowcodes
Copy link
Contributor

@meowcodes meowcodes commented Jun 6, 2023

adding redux actions

Screenshot 2023-06-12 at 10 46 13 PM

@meowcodes meowcodes requested review from czgu and jczhong84 June 6, 2023 05:10
querybook/webapp/redux/comment/action.ts Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/action.ts Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/action.ts Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/action.ts Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/reducer.ts Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/reducer.ts Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/reducer.ts Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/AddReactionButton.tsx Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/Comments.tsx Outdated Show resolved Hide resolved
querybook/server/logic/comment.py Outdated Show resolved Hide resolved
querybook/server/logic/comment.py Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/action.ts Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/action.ts Show resolved Hide resolved
querybook/webapp/ui/Comment/AddReactionButton.tsx Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/Comments.tsx Show resolved Hide resolved
querybook/webapp/ui/Comment/Comments.tsx Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/Comments.tsx Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/reducer.ts Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/reducer.ts Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/reducer.ts Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/AddReactionButton.tsx Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/Comments.tsx Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/Reactions.tsx Outdated Show resolved Hide resolved
querybook/server/logic/comment.py Outdated Show resolved Hide resolved
querybook/webapp/redux/comment/reducer.ts Outdated Show resolved Hide resolved
querybook/webapp/const/comment.ts Outdated Show resolved Hide resolved
<>
{loading
? loadingCommentDOM
: childCommentIds?.map((commentId) =>
Copy link
Collaborator

@jczhong84 jczhong84 Jun 20, 2023

Choose a reason for hiding this comment

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

childCommentIds is of type childCommentIds: number[];, it's unnecessary to have the optional chaining ? here, as it's not optional or nullable.

@meowcodes meowcodes merged commit fb6d679 into pinterest:comment Jun 20, 2023
meowcodes added a commit to meowcodes/querybook that referenced this pull request Jun 23, 2023
@meowcodes meowcodes deleted the redux branch June 23, 2023 22:00
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.

3 participants