Closed AmoabaKelvin closed 8 months ago
Update on GitHub Workflows Parts of the 'lint' workflow that had previously been disabled are now active again.
Renaming and Modification of Config File
The configuration file next.config.js
has been changed to next.config.mjs
and is now being exported as an ES module (a particular type of JavaScript module).
Dependencies Updated
Updates have been made on @t3-oss/env-core
and zod
dependencies, which are used to provide essential functionality to our app.
New Field in Prisma Schema
A new field publicStats
was added to the Link
model in our Prisma schema which will allow us to save link-specific public statistics in database.
New Environment Variables Management
A new environment variable management system is implemented in several files (e.g. src/actions/api-keys.ts
, src/app/api/webhook/clerk/route.ts
, src/app/dashboard/settings/page.tsx
, etc.). This allows better access and management of environment variables in our application.
New Actions for Public Stats Visibility
New functionality for toggling the visibility of the statistics for a link has been added in various parts of the app (src/actions/link-actions.ts
,src/components/dashboard/link-overview/link-actions.tsx
, src/components/dashboard/link-overview/link-showcase.tsx
, etc.).
New component and route for displaying public analytics
A new component (src/app/analytics/[alias]/page.tsx
) and routing logic (src/middleware.ts
) have been added in order to showcase public link analytics.
General code updates
Minor changes and updates have been made throughout the app including renaming, commenting, and code-cleanup, improving the overall readability, structure, and cohesiveness of the codebase. A new src/env.mjs
file was added for storing environment variables schemas and runtime values.
In summary, this PR is increasing the functionality of our app by enabling admin-users to control visibility of their link-related statistics, improving management of environmental variables and the readability of our codebase.
The latest updates on your projects. Learn more about Vercel for Git ↗︎