input-output-hk / dapps-certification-web

Certification as a service for the Cardano dApps platform
Apache License 2.0
5 stars 0 forks source link

[PLT-4502] dapp-certification doesn't work with node v19.5.0 #43

Closed amnambiar closed 8 months ago

amnambiar commented 8 months ago

Issue is resolved after https://github.com/input-output-hk/dapps-certification-web/pull/35

Verified build in both v19.5.0 and --lts(latest v20.9.0)

Summary by CodeRabbit

Refactor:

Style:

Chores:

Please note that these changes may affect the visual layout and performance of the application.

coderabbitai[bot] commented 8 months ago

Walkthrough

The changes primarily revolve around code optimization and refactoring. This includes alterations in CSS styles for better maintainability, removal of unused imports, and modifications in React hooks. Additionally, there are changes in the conditions of some functions and the addition of eslint-disable-next-line comments to ignore specific linting rules.

Changes

File(s) Summary
.../LogsView/LogsView.css, src/index.css, .../landing/index.css CSS styles have been modified for better maintainability and positioning of elements.
.../ColViz/ColViz.tsx, .../timeline.helper.tsx, .../AuditorRunTestForm/AuditorRunTestForm.tsx, .../TimelineView/TimelineView.tsx, .../AppBar.tsx, .../repositoryAccess.slice.ts Unused imports have been removed from the code.
src/hooks/useLogs.ts, .../AuditorRunTestForm/AuditorRunTestForm.tsx, .../RegisterSection.tsx, .../SubscriptionSection.tsx, .../landing/index.tsx, .../testingHistory/index.tsx, .../session/index.tsx Modifications in React hooks, primarily involving the addition of eslint-disable-next-line comments to ignore specific linting rules.
.../fullReportTable.helper.tsx, .../reportUpload.slice.ts Changes in the conditions of some functions, affecting their execution flow.
src/pages/session/index.tsx The functional component default is renamed to Session, and the component now renders based on the hasAnActiveSubscription value.

🐇🍂 "As the leaves fall, so do old ways, Unused code, in the past it stays. With each lint rule we choose to ignore, Our code's efficiency, we restore. As the season changes, so does our code, Optimizing the load, lightening the load. So here's to the fall, and to changes small, Making our codebase, the best of all!" 🍂🐇


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai help` to get help. - `@coderabbitai resolve` to resolve all the CodeRabbit review comments. Note: For conversation with the bot, please use the review comments on code diffs or files. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.json). - 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/coderabbit-overrides.json`