Skip to content

chore: clean up unused apps#2765

Merged
chronark merged 1 commit intomainfrom
remove-planetfall
Dec 18, 2024
Merged

chore: clean up unused apps#2765
chronark merged 1 commit intomainfrom
remove-planetfall

Conversation

@chronark
Copy link
Collaborator

@chronark chronark commented Dec 18, 2024

Summary by CodeRabbit

  • Chores
    • Removed several configuration and documentation files, including .gitignore, CHANGELOG.md, README.md, package.json, postcss.config.js, tailwind.config.ts, tsconfig.json, and next.config.mjs.
    • Deleted multiple API route files related to different regions, eliminating associated constants and methods.
    • Removed global styles and layout files, impacting overall application styling and structure.
    • Eliminated schema validation logic for API requests and responses.
    • Removed the main page component, affecting the initial user interface.

@vercel
Copy link

vercel bot commented Dec 18, 2024

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

Name Status Preview Comments Updated (UTC)
dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 2:46pm
engineering ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 2:46pm
play ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 2:46pm
www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 2:46pm

@changeset-bot
Copy link

changeset-bot bot commented Dec 18, 2024

⚠️ No Changeset found

Latest commit: c68b05c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 18, 2024

📝 Walkthrough

Walkthrough

This pull request involves the comprehensive deletion of the entire apps/planetfall directory, which appears to be a Next.js application. The removal encompasses configuration files, source code, API route handlers, and styling resources. The deletion suggests a potential project restructuring, deprecation, or complete removal of the Planetfall application from the repository.

Changes

File/Path Change Summary
apps/planetfall/ Complete removal of entire Next.js application directory
Configuration Files Deleted: .gitignore, next.config.mjs, postcss.config.js, tailwind.config.ts, tsconfig.json, package.json
Documentation Removed: README.md, CHANGELOG.md
Source Code Deleted: app/layout.tsx, app/page.tsx, app/globals.css, app/lib/schema.ts
API Routes Removed multiple route files for different regions (e.g., arn, bom, cdg, etc.) and check.ts

Possibly related PRs

Suggested Reviewers

  • perkinsjr

Tip

CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command @coderabbitai generate docstrings to have CodeRabbit automatically generate docstrings for your pull request. We would love to hear your feedback on Discord.


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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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 generate docstrings to generate docstrings for this PR. (Beta)
  • @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 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 for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@chronark chronark enabled auto-merge December 18, 2024 14:43
@github-actions
Copy link
Contributor

github-actions bot commented Dec 18, 2024

Thank you for following the naming conventions for pull request titles! 🙏

@vercel vercel bot temporarily deployed to Preview – engineering December 18, 2024 14:43 Inactive
@vercel vercel bot temporarily deployed to Preview – play December 18, 2024 14:44 Inactive
@vercel vercel bot temporarily deployed to Preview – www December 18, 2024 14:45 Inactive
@vercel vercel bot temporarily deployed to Preview – dashboard December 18, 2024 14:46 Inactive
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
packages/api/src/openapi.d.ts (1)

Line range hint 1351-1383: Minor spelling mismatch in the JSDoc for 'async'?
Currently, the doc block references “Asnyc ratelimiting,” consider correcting to “Async.” Everything else looks fine.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d208a3a and c68b05c.

⛔ Files ignored due to path filters (4)
  • apps/planetfall/app/favicon.ico is excluded by !**/*.ico
  • apps/planetfall/public/next.svg is excluded by !**/*.svg
  • apps/planetfall/public/vercel.svg is excluded by !**/*.svg
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (36)
  • apps/planetfall/.gitignore (0 hunks)
  • apps/planetfall/CHANGELOG.md (0 hunks)
  • apps/planetfall/README.md (0 hunks)
  • apps/planetfall/app/api/check/arn/route.ts (0 hunks)
  • apps/planetfall/app/api/check/bom/route.ts (0 hunks)
  • apps/planetfall/app/api/check/cdg/route.ts (0 hunks)
  • apps/planetfall/app/api/check/check.ts (0 hunks)
  • apps/planetfall/app/api/check/cle/route.ts (0 hunks)
  • apps/planetfall/app/api/check/cpt/route.ts (0 hunks)
  • apps/planetfall/app/api/check/dub/route.ts (0 hunks)
  • apps/planetfall/app/api/check/fra/route.ts (0 hunks)
  • apps/planetfall/app/api/check/gru/route.ts (0 hunks)
  • apps/planetfall/app/api/check/hkg/route.ts (0 hunks)
  • apps/planetfall/app/api/check/hnd/route.ts (0 hunks)
  • apps/planetfall/app/api/check/iad/route.ts (0 hunks)
  • apps/planetfall/app/api/check/icn/route.ts (0 hunks)
  • apps/planetfall/app/api/check/kix/route.ts (0 hunks)
  • apps/planetfall/app/api/check/lhr/route.ts (0 hunks)
  • apps/planetfall/app/api/check/pdx/route.ts (0 hunks)
  • apps/planetfall/app/api/check/sfo/route.ts (0 hunks)
  • apps/planetfall/app/api/check/sin/route.ts (0 hunks)
  • apps/planetfall/app/api/check/syd/route.ts (0 hunks)
  • apps/planetfall/app/globals.css (0 hunks)
  • apps/planetfall/app/layout.tsx (0 hunks)
  • apps/planetfall/app/lib/schema.ts (0 hunks)
  • apps/planetfall/app/page.tsx (0 hunks)
  • apps/planetfall/next.config.mjs (0 hunks)
  • apps/planetfall/package.json (0 hunks)
  • apps/planetfall/postcss.config.js (0 hunks)
  • apps/planetfall/tailwind.config.ts (0 hunks)
  • apps/planetfall/tsconfig.json (0 hunks)
  • packages/api/package.json (1 hunks)
  • packages/api/src/openapi.d.ts (35 hunks)
  • packages/hono/package.json (1 hunks)
  • packages/nextjs/package.json (1 hunks)
  • packages/ratelimit/package.json (1 hunks)
💤 Files with no reviewable changes (31)
  • apps/planetfall/postcss.config.js
  • apps/planetfall/package.json
  • apps/planetfall/CHANGELOG.md
  • apps/planetfall/app/globals.css
  • apps/planetfall/tsconfig.json
  • apps/planetfall/.gitignore
  • apps/planetfall/app/layout.tsx
  • apps/planetfall/README.md
  • apps/planetfall/app/api/check/arn/route.ts
  • apps/planetfall/app/api/check/cpt/route.ts
  • apps/planetfall/app/api/check/gru/route.ts
  • apps/planetfall/app/api/check/sfo/route.ts
  • apps/planetfall/app/api/check/pdx/route.ts
  • apps/planetfall/app/lib/schema.ts
  • apps/planetfall/app/api/check/hkg/route.ts
  • apps/planetfall/app/page.tsx
  • apps/planetfall/app/api/check/sin/route.ts
  • apps/planetfall/app/api/check/check.ts
  • apps/planetfall/app/api/check/iad/route.ts
  • apps/planetfall/app/api/check/icn/route.ts
  • apps/planetfall/app/api/check/kix/route.ts
  • apps/planetfall/app/api/check/cle/route.ts
  • apps/planetfall/app/api/check/dub/route.ts
  • apps/planetfall/app/api/check/cdg/route.ts
  • apps/planetfall/next.config.mjs
  • apps/planetfall/app/api/check/fra/route.ts
  • apps/planetfall/tailwind.config.ts
  • apps/planetfall/app/api/check/bom/route.ts
  • apps/planetfall/app/api/check/lhr/route.ts
  • apps/planetfall/app/api/check/hnd/route.ts
  • apps/planetfall/app/api/check/syd/route.ts
✅ Files skipped from review due to trivial changes (4)
  • packages/nextjs/package.json
  • packages/hono/package.json
  • packages/api/package.json
  • packages/ratelimit/package.json
🔇 Additional comments (27)
packages/api/src/openapi.d.ts (27)

8-8: XOR Type definition is valid and commonly used.
Your approach leverages a typical TypeScript pattern for mutually exclusive object properties.


9-13: Recursive OneOf type looks correct.
This utility type elegantly handles multiple type possibilities and is a well-established approach.


548-557: Extended enum values appear consistent with usage.
The expanded set of code variants is clearly defined, no errors identified.


583-594: PermissionQuery type is well-structured.
It correctly captures the logical expressions (string, AND, OR, null).


652-666: ratelimits array interface is coherent.
It accurately documents optional overrides (cost, limit, duration) for each ratelimit.


Line range hint 1396-1406: Refill object is robust and consistent.
No issues found regarding its structure or default values.


1429-1438: Roles definition for updateKey is straightforward.
The create parameter is documented properly, and type usage is correct.


1456-1465: Permissions definition for updateKey is clear.
Similar structure to roles, no issues detected.


1615-1635: getVerifications block is logically sound.
The shape of the returned usage data is self-explanatory.


1691-1700: addPermissions request object is well-defined.
No apparent issues, the create flag is clearly documented.


1709-1719: addPermissions response structure is clear.
ID and name of permissions are properly exposed.


1784-1788: removePermissions request object reads nicely.
IDs and names are mutually inclusive, no duplication found.


1866-1875: setPermissions request is consistent with add/remove.
It follows the same pattern of providing IDs or names with a create flag.


1884-1894: setPermissions response contains the updated permissions.
No issues with fields or naming.


1964-1973: addRoles request structure mirrors permissions logic well.
The create property is documented for convenience.


1982-1992: addRoles response is properly typed.
ID and name are sufficient for identifying newly added roles.


2057-2061: removeRoles request is consistent with removePermissions.
No issues identified.


2139-2148: setRoles request follows the same pattern as setPermissions.
Correctly overwrites all existing roles.


2157-2167: setRoles response enumerates updated roles cleanly.
LGTM.


2616-2635: Resources object for the limit request is descriptive.
Metadata property is flexible; no correctness issues spotted.


2818-2824: Namespace override listing is straightforward.
Properties are typed consistently.


3020-3230: v1.migrations.createKeys bulk creation is comprehensive.
Provided fields (plaintext, hash, prefix, etc.) are thoroughly documented.


Line range hint 3231-3386: v1.migrations.enqueueKeys request parameters align.
Mirrors the createKeys structure for clarity.


4026-4041: Attaching ratelimits on identity creation.
Notation is consistent with the rest of the file.


4317-4332: Updating identity ratelimits.
Allows an array of ratelimits to replace existing ones, no issues noticed.


4361-4376: Identity update response shape is correct.
No concerns with typed properties.


4738-4746: Expanded code field for deprecated.verifyKey is consistent.
The additional states are well-documented.

Copy link
Member

@perkinsjr perkinsjr left a comment

Choose a reason for hiding this comment

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

Trying to bump your contributions up end of the year?

@chronark chronark added this pull request to the merge queue Dec 18, 2024
Merged via the queue into main with commit 15f65a9 Dec 18, 2024
@chronark chronark deleted the remove-planetfall branch December 18, 2024 15:38
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