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

Sentiment chart #266

Merged
merged 23 commits into from
Sep 4, 2023
Merged

Sentiment chart #266

merged 23 commits into from
Sep 4, 2023

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    6aa36d6 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. 🐛 fix(_types.ts): change value type in ChartTooltipFunction to accept…

    … string or number
    
    🐛 fix(_data.ts): add custom_data property to data object
    🐛 fix(_types.ts): make y property in LineData optional
    🐛 fix(index.stories.tsx): change width of tooltip divs
    🐛 fix(index.tsx): remove unused imports and components
    ✨ feat(index.tsx): add support for isScrollable prop in LineChart component
    marcbon committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    93d2bff View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. 🐛 fix(line/index.tsx): change max value of yScale from 5 to 6

    ✨ feat(line/index.tsx): add curve="monotoneX" prop to Line component
    ✨ feat(line/index.tsx): add markers to Line component
    marcbon committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    cc4640a View commit details
    Browse the repository at this point in the history
  2. 🐛 fix(line/_data.ts): add missing custom_data property to data object

    🐛 fix(line/index.stories.tsx): remove axisBottomLabel prop from LineChart component
    marcbon committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    3dda49a View commit details
    Browse the repository at this point in the history
  3. 🔥 refactor(line/index.tsx): remove unused import statement for 'get' …

    …function from 'http' module
    marcbon committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    5375e3a View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. 🎨 style(globalStyle.ts): add height property to ::-webkit-scrollbar

    🐛 fix(globalStyle.ts): fix typo in ::-webkit-scrollbar height property
    marcbon committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    c48f809 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. 🐛 fix(_data.ts): change data variable to be of type Data

    🐛 fix(_types.ts): change LineData type to be an object instead of an array
    🐛 fix(index.stories.tsx): update component name and add missing imports
    ✨ feat(index.stories.tsx): add title and description to LineChart component
    ✨ feat(index.stories.tsx): add custom tooltip functionality to LineChart component
    ✨ feat(index.stories.tsx): add scrollable LineChart component
    
    🐛 fix(line/index.tsx): import SliceTooltipProps from @nivo/line
    ✨ feat(line/index.tsx): add support for interactive tooltips using SliceTooltipProps
    🔧 chore(line/index.tsx): remove unused axisLeftLabel and axisBottomLabel props
    🎨 style(line/index.tsx): update styling for ScrollingContainer component
    🔧 chore(line/index.tsx): remove useMesh prop from ResponsiveLine component
    ✨ feat(line/index.tsx): enable interactivity and slices in ResponsiveLine component
    marcbon committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    8b3cf62 View commit details
    Browse the repository at this point in the history
  2. 🐛 fix(line/_data.ts): change id value from "sentiment-chart" to "Sent…

    …iment"
    
    🐛 fix(line/index.tsx): fix enableSlices value from "y" to "x"
    marcbon committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    711a0b9 View commit details
    Browse the repository at this point in the history
  3. 🔥 refactor(line/index.tsx): remove unused imports and code

    🔥 refactor(line/index.tsx): remove unused import of MD from typography/typescale
    
    🔥 refactor(line/index.tsx): remove unused import of Tooltip from tooltip
    
    🔥 refactor(line/index.tsx): remove unused code for Point component
    marcbon committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    f50e029 View commit details
    Browse the repository at this point in the history
  4. 🐛 fix(_data.ts): update custom_data values in data array

    ✨ feat(_types.ts): remove isScrollable prop from LineChartProps interface
    ✨ feat(index.stories.tsx): remove unused imports and update styles in Template component
    ✨ feat(index.stories.tsx): update Scrollable story to use Template component
    🐛 fix(index.tsx): update tooltip prop in LineChart component
    marcbon committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    221a0a4 View commit details
    Browse the repository at this point in the history
  5. 🐛 fix(line/_data.ts): fix typo in custom_data value

    🗑️ remove(line/assets/sentiment_0.svg): remove unused SVG file
    
    🎨 style(sentiment_1.svg): update fill color of sentiment icon to #E9979B
    
    🎨 style(sentiment_2.svg): update fill color for sentiment icon
    
    🎨 chore(sentiment_3.svg): update fill color to #FFD7A4
    🎨 chore(sentiment_4.svg): update fill color to #B3E8D9
    
    🆕 feat(sentiment_5.svg): add new SVG file for sentiment value 5
    🔧 chore(index.stories.tsx): update line chart component to include new sentiment SVG
    
    🔨 refactor(line/index.tsx): remove unused sentiment_0.svg import
    ✨ feat(line/index.tsx): add support for sentiment_5.svg
    🔨 refactor(line/index.tsx): change LineContainer to extend ChartContainer
    🔨 refactor(line/index.tsx): remove width and height props from LineContainer
    🔨 refactor(line/index.tsx): remove style prop from LineContainer
    🔨 refactor(line/index.tsx): remove unused imports
    🔨 refactor(line/index.tsx): reformat code for better readability
    🔨 refactor(line/index.tsx): reorganize props for ResponsiveLine component
    🔨 refactor(line/index.tsx): reorganize markers array
    🔨 refactor(line/index.tsx): remove unused props from ResponsiveLine component
    marcbon committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    e42631e View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. 🐛 fix(line/_types.ts): rename LineData type to SentimentData

    ✨ feat(line/index.stories.tsx): rename LineChart to SentimentChart and update imports and types
    🐛 fix(line/index.tsx): rename LineChart to SentimentChart and update imports and types
    marcbon committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    099aeaf View commit details
    Browse the repository at this point in the history
  2. 🐛 fix(line): remove unused colors prop in index.stories.tsx

    🐛 fix(line): use theme palette grey[600] for colors in index.tsx
    marcbon committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    4e35dc4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9dc41a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9918a76 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6fab9a3 View commit details
    Browse the repository at this point in the history
  6. 🔀 refactor(sentiment/_types.ts): remove unused props and update prop …

    …types in SentimentChartProps
    marcbon committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    145cff4 View commit details
    Browse the repository at this point in the history
  7. 🐛 fix(index.stories.tsx): remove duplicate code and pass width, heigh…

    …t, and margin props to SentimentChart component
    
    ✨ feat(index.stories.tsx): add support for custom tooltip in SentimentChart component
    marcbon committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    69b2fa6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7edd9c6 View commit details
    Browse the repository at this point in the history
  9. 🔀 refactor(_types.ts): remove unused import of LegendType

    ✨ feat(_types.ts): add i18n property to SentimentChartProps interface
    marcbon committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    9cb64de View commit details
    Browse the repository at this point in the history
  10. 🐛 fix(sentiment/index.tsx): add i18n prop to formatSentiment function

    ✨ feat(sentiment/index.tsx): add i18n prop to formatPoint function
    ✨ feat(sentiment/index.tsx): add i18n prop to tooltip function
    marcbon committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    c5f879b View commit details
    Browse the repository at this point in the history
  11. 🔨 refactor(index.stories.tsx): remove unused imports and formatPoint …

    …function
    
    ✨ feat(index.stories.tsx): extract common arguments into a constant and use it in Default and WithCustomTooltip stories
    marcbon committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    39a8e46 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #265 from AppQuality/sentiment-chart

    Sentiment chart
    cannarocks authored Sep 1, 2023
    Configuration menu
    Copy the full SHA
    8ea3a79 View commit details
    Browse the repository at this point in the history