Skip to content

Conversation

@ntgussoni
Copy link
Owner

Adds references to app store

Fixes broken types

Fix missing appId in types

Adds references to app store

Fixes broken types

Fix missing appId in types
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Bug: App Rating Display Shows Raw Values

The app rating display was changed from Number(app.rating).toFixed(1) to app.rating, removing the explicit decimal formatting. This causes raw numeric rating values (e.g., 4.333333333) to be displayed unformatted, instead of being rounded and formatted to one decimal place (e.g., 4.3 or 4.7). The app.rating value is still treated as a number for other calculations (e.g., progress bar), confirming it's not consistently pre-formatted.

src/components/chat/comparison/KeyMetricsTab.tsx#L112-L113

Fix in Cursor


Bug: Migration Fails Due to Missing Defaults

The migration adds NOT NULL platform columns to the AnalysisApp and App tables without providing default values. This will cause the migration to fail on any database with existing data in these tables, as PostgreSQL requires a default value when adding NOT NULL columns to non-empty tables.

prisma/migrations/20250621125546_add_app_store_support/migration.sql#L15-L19

-- AlterTable
ALTER TABLE "AnalysisApp" ADD COLUMN "platform" "Platform" NOT NULL;
-- AlterTable
ALTER TABLE "App" ADD COLUMN "platform" "Platform" NOT NULL;

Fix in Cursor


BugBot free trial expires on July 22, 2025
You have used $0.00 of your $0.00 spend limit so far. Manage your spend limit in the Cursor dashboard.

Was this report helpful? Give feedback by reacting with 👍 or 👎

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.

1 participant