Commit graph

9 commits

Author SHA1 Message Date
Ahmad
7578b189ef Optimize performance and reduce bundle sizes
## AI Generated code and Descriptions
Improve website performance and efficiency by reducing bundle sizes and implementing caching strategies.

* **next.config.ts**: Add `compression` middleware to enable gzip compression for responses.
* **Lazy Loading**: Implement lazy loading for images in `app/(platform)/(dashboard)/board/[boardId]/_components/board-update-image.tsx` using the `loading="lazy"` attribute. Add `react-lazyload` library for lazy loading components in `app/(platform)/(dashboard)/board/[boardId]/_components/list-item.tsx` and wrap list items with `LazyLoad` component.
* **Database Query Optimization**: Optimize database queries in `actions/copy-card/index.ts`, `actions/copy-list/index.ts`, `actions/create-board/index.ts`, `actions/create-card/index.ts`, `actions/create-list/index.ts`, `actions/delete-board/index.ts`, `actions/delete-card/index.ts`, `actions/delete-list/index.ts`, `actions/stripe-redirect/index.ts`, `actions/update-board/index.ts`, `actions/update-card-order/index.ts`, `actions/update-card/index.ts`, and `actions/update-list/index.ts` by adding appropriate indexes and using `select` to fetch only required fields.
* **Dependencies**: Update `package.json` to include `compression` and `react-lazyload` dependencies.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ahmadk953/tasko?shareId=XXXX-XXXX-XXXX-XXXX).
2024-12-18 21:06:08 -05:00
Ahmad
a89c9a9b02
Upgrade Clerk, Next.js, and React to latest versions + minor code changes 2024-10-23 19:17:45 -04:00
Ahmad
beb661143b
General Updates 2024-09-27 22:53:25 -04:00
Ahmad
e54efdca65
Fixed Build Errors 2024-03-28 20:28:42 -04:00
Ahmad
ad5f4204d4
Aditional Stripe Things 2024-03-28 20:24:00 -04:00
Ahmad
ac5d35a561
Changed Price of Tasko Pro to .99 2024-03-28 19:07:33 -04:00
Ahmad
cc72a29630
Fixed Build Issues 2024-03-22 16:52:51 -04:00
Ahmad
e768d9181f
Formated Files 2024-02-15 20:49:19 -05:00
Ahmad
f3e2f01bd7
Initial Commit 2024-02-14 21:30:10 -05:00