-
Notifications
You must be signed in to change notification settings - Fork 1
Sentiments and fixes #644
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
Sentiments and fixes #644
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…endency to version "3.1.47-sentiment-beta"
🔀 refactor(Sentiment.tsx): change secondRowHeight from '465px' to '550px' 🔀 refactor(Sentiment.tsx): rename SentimentChart component to Chart in FlipCard component
🔥 refactor(SentimentList/index.tsx): simplify conditional rendering of loading and no data messages 🔥 refactor(SentimentList/index.tsx): remove unnecessary Row and Col components 🔥 refactor(SentimentList/index.tsx): simplify List component structure
…entiments The useSentiments hook is added to fetch campaign sentiments based on the provided cid and isPreview flag. It uses the useGetCampaignsByCidUxQuery from the api feature to make the API call. If the data is still loading or fetching, the hook returns an object with empty sentiments, isLoading set to true, and isError set to false. If there is no data or sentiment in the response or if there is an error, the hook returns an object with empty sentiments, isLoading set to false, and isError set to true. Otherwise, the hook maps the sentiment data to an array of objects with title, sentiment, and note properties and returns it along with isLoading set to false and isError set to false.
🐛 fix(SentimentChart.tsx): fix missing import and unused variables ✨ feat(SentimentChart.tsx): add support for displaying sentiment chart and tooltips 🔧 chore(SentimentChart.tsx): update styles and layout of SentimentChart component
…o string or number
Sentiment-chart
Fix newline finding
Add overview widgets section
New Crowdin updates
Fix-insight-link
🐛 fix(FlipCardContext.tsx): fix breakpoint value to use lg instead of md
🔥 refactor(Overview/index.tsx): remove unused import
…entimentItem ✨ feat(Chart.tsx): add support for loading state and error handling in Chart component 🔧 chore(Chart.tsx): refactor Chart component to improve readability and organization
Co-authored-by: Marco <minucci9292@gmail.com>
✨ feat(Chart.tsx): adjust width of chart based on number of sentiments ✨ feat(Chart.tsx): add legend card to display sentiment information
Sentiment chart
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.