Commit Graph

85 Commits

Author SHA1 Message Date
Aj Wazzan
fef7a89891 straing to staging 2025-02-28 16:04:58 -08:00
Aj Wazzan
cf20ee184c Rename project from Mail0 to Zero
- Update package names, imports, and references from @mail0/* to @zero/*
- Modify configuration files to reflect new project name
- Update database connection and schema imports
- Adjust email sender and branding details
- Add react-library tsconfig
- Remove redundant database files in apps/mail
2025-02-24 19:25:30 -08:00
Nizzy
dd34d7d420 monorepo 2025-02-24 21:00:46 -05:00
Ahmet Kilinc
b0296a347a remove unused pacakge 2025-02-24 12:48:03 +00:00
Ahmet Kilinc
8ae56034a3 virtualised scrolling in place
- new elements are not being rendered, needs work
2025-02-23 15:04:38 +00:00
Prashant Varma
e8769464d6 chore: moved animations from framer-motion to motion/react 2025-02-18 19:48:26 +05:30
user12224
337a765908 chore(settings): add app sidebar and enhance UI 2025-02-18 07:24:09 +02:00
Ahmet Kilinc
8e834bc886 WIP: Enhance Gmail thread and message parsing with improved type safety (#205)
* WIP: Enhance Gmail thread and message parsing with improved type safety

* wip

* change to thread display of messages

* refactor: Update thread fetching and type handling in use-threads hook

* threads should work now - needs cleanup and better ui

* added threads view with collapsing messages

* adding back the iframes for mail-display

* emails now loading

* remove @types/color dep

* fixed some colours and stylinf

* fix: non janky iframe height resize

* remove unused import

---------

Co-authored-by: Aj Wazzan <x_1337@outlook.com>
Co-authored-by: BlankParticle <blankparticle@gmail.com>
2025-02-16 18:16:23 -05:00
nizzy
2a01e5b755 animated icons and settings (#196)
* animated icons and settings

* chore(settings): enhance UI (#197)

* quick fix for the other mailboxes (#192)

- forgot to change the layout on the other mailboxes. all fixed now.

* Rename ROADMAP to ROADMAP.md (#194)

* chore(settings): enhance UI

* fix: scrolling behavior

---------

Co-authored-by: Ahmet Kilinc <akx9@icloud.com>
Co-authored-by: grim <75869731+vys69@users.noreply.github.com>

---------

Co-authored-by: n <122770437+user12224@users.noreply.github.com>
Co-authored-by: Ahmet Kilinc <akx9@icloud.com>
Co-authored-by: grim <75869731+vys69@users.noreply.github.com>
2025-02-15 22:33:09 -05:00
Dan
382eea0f08 feat: settings page (#189)
* mass/range email select

* useKeyPressed: reset on window blur to prevent stuck keys

* bring back compact view

* feat: settings page
2025-02-15 15:50:07 -05:00
Nizzy
330754f786 analytics 2025-02-14 23:40:37 -05:00
nizzy
c90d8e530b hero + navbar (#170)
* hero + navbar

* hero done

* add screenshot to homepage

* cleaned up imports and page.tsx

* background fix for form

* homepage

---------

Co-authored-by: Ahmet Kilinc <akx9@icloud.com>
2025-02-14 00:14:36 -05:00
Jacob
f693cf359a change: move db to a shared package 2025-02-14 12:12:07 +10:00
Jacob
d0cacbe07b update: lint-staged to a script 2025-02-14 07:47:40 +10:00
Jacob
45c65daa4a init: move to turborepo and configure workspaces 2025-02-14 07:47:14 +10:00
Rahul Mishra
fbc1e73d65 feat: type safe env (#161) 2025-02-13 11:22:48 -05:00
nizzy
a5a3e2ab04 Multi gmail connection (#148)
* feat: Integrate Google OAuth and SWR for mail threads

* refactor: simplify mail list and navigation UI

* feat: enhance mail parsing and UI with sender details and unread status

* chore: update pnpm lock with new dependencies

* refactor: organize imports in app-sidebar component

* dynamic rendering data

* chore: update .gitignore with IDE-specific exclusions

* refactor(mail): update routing and component structure for mail views

* refactor(mail): remove draft and junk routes; update folder names to proper terms in UI and API

* refactor(mail): clean up imports, adjust API endpoints, and improve mail component structures for better clarity and performance

* automatic search

* YOP!

* KIND OF lint. lmao.

* feat:gmail connection WIP

* feat(mail): add mail count endpoint and dynamic sidebar stats

* feat(mail): add sanitization and dynamic provider support for email rendering

* grim's changes

* feat(mail): implement indexedDB caching for email threads and improve SWR configuration in layout component

* feat(mail): enhance indexedDB operations for email threads caching and update SWR configuration for better data handling

* idk

* fix(mail): adjust email body processing and reverse cached email messages for consistent order

* Fullscreen (#154)

* FULL SCREEN!!! RAH!!!

* Update mail-display.tsx

* auth

* email dispaly

* gmail connection

* env example resend add

* fix: env issues

* refactor: replace nanoid with randomUUID for ID generation in early access and update database schema to unify connection table

* refactor: update API endpoint for email connections and modify driver initialization for async support across mail routes

* feat: enhance Gmail OAuth flow and connection handling

- Update Google OAuth driver with expanded scopes and improved token management
- Modify callback route to handle user info extraction and connection creation more robustly
- Add unique constraint to email in connection table
- Improve error handling and logging in authentication process

* fix: improve error responses and connection handling in Gmail integration

- Enhance error messages when tokens or emails are missing.
- Update handling of Gmail connections in the API and user-related components

* feat: add default connection support and improve connection switching

- Add `defaultConnectionId` to user schema
- Implement PUT endpoint to set default connection for a user
- Update mail API routes to use dynamic provider and connection ID
- Enhance NavUser component with account switching functionality
- Modify hooks and auth logic to support default connection selection

* typo

* feat: integrate thread hook for email data loading in MailDisplay component

- Replace local email data state with useThread hook for improved loading management

* fix: improve mail route authorization with connection validation

- Add explicit check for connectionId in session
- Update database query to filter by both userId and connectionId
- Make connectionId optional in ParsedMessage type to support flexible connection handling

* privacy and tos

* linting

---------

Co-authored-by: Aj Wazzan <x_1337@outlook.com>
Co-authored-by: grim <75869731+vys69@users.noreply.github.com>
Co-authored-by: BlankParticle <blankparticle@gmail.com>
2025-02-12 21:56:07 -05:00
Dominik Koch
30615e04d0 feat(ratelimit): switch to upstash redis and middleware (#117)
Switches to redis (upstash) for ratelimiting, to future-proof the applications ratelimits. It also moves the ratelimit handling to the middleware rather than having it in the route.
2025-02-09 11:09:32 -05:00
Nizzy
ddc32ad450 contributors pahe 2025-02-09 01:41:03 -05:00
Luizdodibre
8880d810f8 fix(ui): Fix compose input (#66) (#76)
* feat(ui): Enhance Command Menu

* Remove unused imports

* fix(ui): Fix compose input (#66)

* fix(ui): Fix for the Text Formatting

* feat(ui): Replace button with ToggleGroup

* Fix merge conflicts

* feat(ui): Add TabIndex to ToggleGroupItems
2025-02-08 18:42:31 -05:00
n
161728f0f5 feat: new mail compose UI (#105)
* feat: enhance mail compose UI

* revert: remove framer-motion

* revert: remove framer-motion

* refactor: reply section

* fix: close button on mobile

* fix: conflicts
2025-02-08 18:35:31 -05:00
nyzs
114ef8ce4c feat: added more advanced filtering (#101)
* feat: added more advanced filtering

* feat: adapted filter to new UI
2025-02-08 17:26:06 -05:00
Yared Yilma
ed3018ae8c feat: finish compose dialog persistence functionality (#95)
* feat: finish compose dialog persistence functionality

* fix: fix merge conflict

* fix: eslint warning and errors
2025-02-08 14:32:27 -05:00
BlankParticle
0925dcebf2 chore: add docker compose to run services like postgres locally 2025-02-07 22:27:48 +05:30
Nizzy
13f3ea4b01 early access page, auth page 2025-02-07 01:25:26 -05:00
Nizzy
cfd4c0f956 posthog 2025-02-06 21:18:46 -05:00
Argenis Cuellar
15a961a8b9 feat: better-auth implementation with drizzle (#17)
* feat: better-auth implementation

* feat: added signout

* feat: added conditional sign in or signout button

* chore: updated sign in description

* feat: added conditional log in rendering

* Update example.env

Co-authored-by: Praash <99237795+Praashh@users.noreply.github.com>

* chore: remove param

* chore: lint and format

* chore: rename env example file

* fixes

---------

Co-authored-by: Praash <99237795+Praashh@users.noreply.github.com>
Co-authored-by: Nizzy <nizabizaher@gmail.com>
2025-02-06 20:39:45 -05:00
Ahmet Kilinc
cd3e3393ae feat: add cmd/ctrl - k action menu 2025-02-06 23:39:45 +00:00
Rahul Mishra
2c00726c00 chore: add prettier, format and add CI (#34) 2025-02-06 14:17:20 -05:00
Rahul Mishra
07307eab99 chore: migrate to pnpm (#33) 2025-02-06 13:53:51 -05:00
Nizzy
c08849a5e7 day picker 2025-02-04 20:20:07 -05:00
Nizzy
2d5ad4be9d deployment fix 2025-02-04 20:17:53 -05:00
Nizzy
7de5f5d457 ui 2025-02-04 20:16:05 -05:00
Prashant Varma
a4e30eb703 feat: added themes 2025-02-05 02:43:03 +05:30
Nizzy
9a240648a0 initial commit 2025-02-02 17:26:24 -05:00