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 ui #1257

Merged
merged 9 commits into from
Jun 5, 2023
Merged

ui: add comment ui #1257

merged 9 commits into from
Jun 5, 2023

Conversation

meowcodes
Copy link
Contributor

only UI/DOM code
next PR will be actions/reducers + typing will get cleaned up + moved

Screenshot 2023-05-30 at 8 53 31 PM Screenshot 2023-05-30 at 11 01 20 PM Screenshot 2023-05-30 at 9 37 09 PM

@meowcodes meowcodes requested review from czgu and jczhong84 May 31, 2023 03:08
querybook/webapp/components/DataDoc/DataDocCellControl.tsx Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/AddReactionButton.tsx Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/Comments.scss 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/ui/Comment/Comments.tsx Outdated 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/ui/Comment/Comments.tsx Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/Comments.tsx 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 Show resolved Hide resolved
>
Editing Comment
</StyledText>
<div onClick={() => handleEditComment(null, initialCommentValue)}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

why not have a clear button for both editing comment and new comment use case? it could be a X button in the richtexteditor?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

idk if it really makes sense to have a clear for a regular comment. when would you ever use that? slack doesnt have one. neither does github

querybook/webapp/ui/Comment/Comments.tsx Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/Reactions.tsx Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/Reactions.tsx Outdated Show resolved Hide resolved
querybook/webapp/ui/Comment/Reactions.tsx Show resolved Hide resolved
@meowcodes meowcodes changed the title UI ui: add comment ui Jun 5, 2023
@czgu czgu merged commit 8684dd2 into pinterest:comment Jun 5, 2023
@meowcodes meowcodes deleted the ui branch June 5, 2023 21:46
meowcodes added a commit to meowcodes/querybook that referenced this pull request Jun 23, 2023
* ui: add ui

* update;

* update

* update

* update

* refactor const

* fix

* fix

* update
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