bluewave-labs / verifywise

Open source AI governance platform
https://verifywise.ai
GNU Affero General Public License v3.0
3 stars 4 forks source link

Adding Uptime Monitor Components #6

Closed MuhammadKhalilzadeh closed 6 days ago

MuhammadKhalilzadeh commented 6 days ago

All of the Uptime Monitor Components are added to VerifyWise project except for a couple of them, Tab Panels, that had authentication logics added to them.

In Clean Architecture, the authentication logic belongs to the Application Layer, but right now we're in the Presentation Layer. which is purely about UI. So, as we move further, we'll add those components and move the authentication and other logics to the Application Layer too.

Summary by CodeRabbit

Release Notes

coderabbitai[bot] commented 6 days ago

Walkthrough

The pull request introduces significant updates to the React frontend of the application, including the addition of various dependencies for Material UI and Redux, enhancements to the UI components, and the establishment of a structured routing system. New components such as Alert, ProgressStepper, and Sidebar are introduced, alongside updates to existing files for improved styling and functionality. Additionally, a Redux store is set up for state management, and new themes are defined to support light and dark modes.

Changes

File Path Change Summary
Clients/Frontend-Reactjs/package.json Updated dependencies for Material UI and Redux; added new libraries for UI and state management.
Clients/Frontend-Reactjs/src/App.css Added CSS rule to set body margin to 0 for consistent layout.
Clients/Frontend-Reactjs/src/App.tsx Implemented routing with a ThemeProvider and added CssBaseline for consistent styling.
Clients/Frontend-Reactjs/src/application/store.ts Created Redux store with persistence capabilities; combined reducers for UI state management.
Clients/Frontend-Reactjs/src/main.tsx Integrated Redux and React Router; added Provider and PersistGate for state management.
Clients/Frontend-Reactjs/src/presentation/components/Alert/index.css Defined styles for alert component.
Clients/Frontend-Reactjs/src/presentation/components/Alert/index.tsx Introduced customizable Alert component with various variants.
Clients/Frontend-Reactjs/src/presentation/components/Animated/index.tsx Added PulseDot component for animated UI elements.
Clients/Frontend-Reactjs/src/presentation/components/Avatar/index.tsx Created Avatar component for user avatars with customizable styles.
Clients/Frontend-Reactjs/src/presentation/components/Breadcrumbs/index.css Styled breadcrumb component for improved navigation.
Clients/Frontend-Reactjs/src/presentation/components/Breadcrumbs/index.tsx Introduced Breadcrumbs component for navigation.
Clients/Frontend-Reactjs/src/presentation/components/Charts/BarChart/index.tsx Added BarChart component to visualize check data.
Clients/Frontend-Reactjs/src/presentation/components/Checks/index.tsx Created Check component for displaying status icons.
Clients/Frontend-Reactjs/src/presentation/components/Fallback/index.css Defined styles for fallback components.
Clients/Frontend-Reactjs/src/presentation/components/Fallback/index.tsx Introduced Fallback component for displaying fallback UI.
Clients/Frontend-Reactjs/src/presentation/components/Inputs/Autocomplete/index.tsx Added AutoCompleteField for customizable autocomplete input.
Clients/Frontend-Reactjs/src/presentation/components/Inputs/Checkbox/index.tsx Created Checkbox component with customizable options.
Clients/Frontend-Reactjs/src/presentation/components/Inputs/Field/index.tsx Introduced Field component for various input types.
Clients/Frontend-Reactjs/src/presentation/components/Inputs/Image/index.tsx Added ImageField component for image uploads.
Clients/Frontend-Reactjs/src/presentation/components/Inputs/Radio/index.tsx Created Radio component for radio button selection.
Clients/Frontend-Reactjs/src/presentation/components/Inputs/Select/index.tsx Introduced Select component for dropdown selections.
Clients/Frontend-Reactjs/src/presentation/components/Label/BaseLabel/index.tsx Created BaseLabel component for customizable labels.
Clients/Frontend-Reactjs/src/presentation/components/Label/ColoredLabel/index.tsx Added ColoredLabel component for dynamic color labels.
Clients/Frontend-Reactjs/src/presentation/components/Label/StatusLabel/index.tsx Introduced StatusLabel component for status representation.
Clients/Frontend-Reactjs/src/presentation/components/Link/index.tsx Added Link component for styled navigation links.
Clients/Frontend-Reactjs/src/presentation/components/ProgressBar/index.tsx Created ProgressUpload component for upload progress indication.
Clients/Frontend-Reactjs/src/presentation/components/ProtectedRoute/index.tsx Implemented ProtectedRoute for route protection based on authentication.
Clients/Frontend-Reactjs/src/presentation/components/Search/index.tsx Introduced Search component for team member selection.
Clients/Frontend-Reactjs/src/presentation/components/Sidebar/index.css Styled sidebar for improved navigation.
Clients/Frontend-Reactjs/src/presentation/components/Sidebar/index.tsx Created Sidebar component for navigation interface.
Clients/Frontend-Reactjs/src/presentation/components/Steps/ProgressStepper/index.tsx Introduced ProgressStepper component for step navigation.
Clients/Frontend-Reactjs/src/presentation/components/Table/index.css Enhanced table styling for improved usability.
Clients/Frontend-Reactjs/src/presentation/components/Table/index.tsx Created BasicTable component for rendering tabular data.
Clients/Frontend-Reactjs/src/presentation/components/TablePagination/index.tsx Added TablePaginationActions for pagination controls.
Clients/Frontend-Reactjs/src/presentation/configs/declarations.d.ts Defined module for handling SVG files as React components.
Clients/Frontend-Reactjs/src/presentation/configs/webpack.config.js Updated Webpack configuration to handle SVG files with @svgr/webpack.
Clients/Frontend-Reactjs/src/presentation/containers/Dashboard/index.css Styled dashboard layout for responsive design.
Clients/Frontend-Reactjs/src/presentation/containers/Dashboard/index.tsx Created Dashboard component for the main application layout.
Clients/Frontend-Reactjs/src/presentation/pages/Assessment/index.tsx Introduced Assessment component as a placeholder.
Clients/Frontend-Reactjs/src/presentation/pages/ComplianceTracker/index.tsx Added ComplianceTracker component as a placeholder.
Clients/Frontend-Reactjs/src/presentation/pages/Home/index.tsx Created Home component as a placeholder.
Clients/Frontend-Reactjs/src/presentation/pages/Setting/index.tsx Introduced Setting component as a placeholder.
Clients/Frontend-Reactjs/src/presentation/pages/Team/index.tsx Added Team component as a placeholder.
Clients/Frontend-Reactjs/src/presentation/pages/Vendors/index.tsx Created Vendors component as a placeholder.
Clients/Frontend-Reactjs/src/presentation/themes/dark.ts Defined dark theme configuration for the application.
Clients/Frontend-Reactjs/src/presentation/themes/light.ts Defined light theme configuration for the application.
Clients/Frontend-Reactjs/src/presentation/themes/theme.d.ts Enhanced TypeScript declarations for theme customization.
Clients/Frontend-Reactjs/src/presentation/tools/uiSlice.ts Implemented Redux slice for managing UI state, including sidebar and mode toggling.
Clients/Frontend-Reactjs/vite.config.ts Added svgr plugin to Vite configuration for SVG support.

Possibly related PRs

🐰 In a world of code and style, New components make us smile. With themes of dark and light, Our UI shines so bright! From buttons to charts, we leap, In this rabbit hole, we dig deep! 🐇✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)
Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: -- `I pushed a fix in commit , please review it.` -- `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: -- `@coderabbitai generate unit testing code for this file.` -- `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: -- `@coderabbitai generate interesting stats about this repository and render them as a table.` -- `@coderabbitai read src/utils.ts and generate unit testing code.` -- `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` -- `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (Invoked using PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. ### Other keywords and placeholders - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. - Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description. - Add `@coderabbitai` anywhere in the PR title to generate the title automatically. ### CodeRabbit Configuration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.