-
Notifications
You must be signed in to change notification settings - Fork 713
fix: landing page / Home page revamp #6729
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR implements a comprehensive redesign of the OpenObserve home page with new data visualization features and improved UI/UX.
- Added new alert status pie chart and pipeline status bar chart in
/web/src/views/HomeView.vuefor better data visualization - Implemented responsive tile layout with dynamic sizing using Tailwind CSS classes (min-width: 240px, flex-grow: 1)
- Added loading state handling with hourglass spinner and user feedback notifications
- Enhanced theme support with dedicated dark/light mode styles and corresponding icon assets
- Improved data metrics display with new tiles showing compressed size, ingested data, index size, doc count and streams
1 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile
web/src/views/HomeView.vue
Outdated
| :key="panelDataKey" | ||
| :data="panelData2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: Both charts are using the same panelDataKey, which could cause rendering issues if one chart needs to update independently
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
considered this
web/src/views/HomeView.vue
Outdated
| }, | ||
| axisLabel: { | ||
| fontSize: 12, | ||
| color: store.state.theme === 'dark' ? '#B7B7B&' : '#72777B' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
syntax: Typo in color value '#B7B7B&' should be '#B7B7B7'
| color: store.state.theme === 'dark' ? '#B7B7B&' : '#72777B' | |
| color: store.state.theme === 'dark' ? '#B7B7B7' : '#72777B' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes nice catch , updated the comit
acd2528 to
5fb1421
Compare
5fb1421 to
8d5f9c6
Compare
2a96a6c to
699f979
Compare
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Greptile Summary
This PR completely redesigns the HomeView component, transforming it from a simple card-based statistics display into a modern dashboard-style interface with enhanced visual elements and interactivity. The changes include:
Layout Overhaul: The existing card layout has been replaced with a responsive tile-based design featuring stream statistics with descriptive icons and improved visual hierarchy using Tailwind CSS classes alongside Quasar components.
Chart Integration: Two new interactive charts have been added using the CustomChartRenderer component - a pie chart displaying alert status distribution (healthy vs failed alerts) and a bar chart showing pipeline status over time. These charts are configured through comprehensive computed properties that define chart schemas, themes, and data transformations.
Enhanced State Management: The component now handles additional summary data fields including failed_pipelines, healthy_pipelines, failed_alerts, and healthy_alerts to power the new chart visualizations. The data fetching logic has been updated to accommodate these new fields.
Theming Improvements: Comprehensive dark/light theme support has been implemented throughout the redesign, with proper color schemes for both the tiles and charts that adapt to the current theme setting.
Responsive Design: The new layout includes responsive breakpoints and flexible grid systems that adapt to different screen sizes, improving the user experience across devices.
This change represents a significant UI/UX enhancement aimed at providing operations teams with better visual insights into system health through actionable charts rather than just raw numerical statistics.
Confidence score: 3/5
- This PR introduces significant UI changes with potential issues around chart data handling and notification types that could affect functionality
- Score reflects concerns about chart key management, error notification changes, and complex computed property logic that may need testing
- Pay close attention to the chart configuration logic in computed properties and data key handling for the CustomChartRenderer components
1 file reviewed, no comments
4aab89d to
76642f8
Compare
first draft done with landing page made landing page responsive fix: dark mode home view added added view button functionality fix: made bottom section responsive container width made responsive bottom section made it responsive made chart renderer responsive made title to center fix streams icon fix: height also made resposinve fix: made dark and light mode icons reduced min height to fit for smaller screens min height still reduced to 200 added dynamic data to the chart config dashboard and fn icon changed hide performace text as not supported from BE
70e0923 to
b7ac6c5
Compare
Signed-off-by: Yashodhan Joshi <[email protected]>
Signed-off-by: Yashodhan Joshi <[email protected]>
User description
PR Type
Enhancement
Description
Redesigned Home page layout and tiles
Added alerts and pipelines charts
Implemented theme-aware icons and styles
Added loading state for summary fetch
Diagram Walkthrough
File Walkthrough
HomeView.vue
Home page redesign with charts and theme-aware UIweb/src/views/HomeView.vue
icons.