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

Bg Changer Project #1143

Closed
wants to merge 1 commit into from
Closed

Bg Changer Project #1143

wants to merge 1 commit into from

Conversation

SHIVANK1503
Copy link

@SHIVANK1503 SHIVANK1503 commented Oct 4, 2024

A bg changer project made using react js and css

Please describe the changes this PR makes and why it should be merged:

Status

  • Code changes have been tested against prettier, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

  • This PR changes the codebase
    • This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
    • This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)
  • This PR only includes non-code changes, like changes to documentation, README, etc.

A bg changer project made using react js and css
Copy link

vercel bot commented Oct 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
million-kitchen-sink ❌ Failed (Inspect) Oct 4, 2024 10:37am
sink ❌ Failed (Inspect) Oct 4, 2024 10:37am

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! A maintainer will review it soon.

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This pull request introduces a basic React background changer project to the Million.js website repository, which is inconsistent with the repository's purpose and structure.

  • Completely replaces the existing Next.js-based website with a Vite-based React project in /website/package.json
  • Removes custom Tailwind configurations, including animations and dark mode support, in /website/tailwind.config.js
  • Introduces a new ESLint configuration in /website/.eslintrc.cjs that disables security-related rules
  • Adds new files (index.html, vite.config.js) for a React project structure that doesn't align with the existing Million.js website
  • Lacks proper documentation and explanation for these sweeping changes, which could potentially break existing functionality

7 file(s) reviewed, 6 comment(s)
Edit PR Review Bot Settings

settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react/jsx-no-target-blank': 'off',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Disabling 'react/jsx-no-target-blank' rule may introduce security vulnerabilities. Consider keeping this rule enabled.

@@ -0,0 +1,8 @@
# background Changer using React
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Consider capitalizing 'Background' for consistency

Comment on lines +5 to +8
Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: This information about Vite plugins seems unrelated to the background changer project. Consider removing or replacing with project-specific details

Comment on lines +13 to +14
"react": "^18.3.1",
"react-dom": "^18.3.1"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: React version 18.3.1 does not exist. Use a valid version

@@ -1,54 +1,11 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
export default {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Switching from CommonJS to ES modules may cause issues if the project isn't set up for ES modules

plugins: [require('@tailwindcss/line-clamp')],
darkMode: 'class',
};
plugins: [],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Removal of '@tailwindcss/line-clamp' plugin might break existing layouts

@SHIVANK1503 SHIVANK1503 closed this by deleting the head repository Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants