Commit Graph

26 Commits

Author SHA1 Message Date
Fynn Bauer
4af9d179a9 fix(docs): update locale file path (#1675) 2025-07-11 13:11:56 -07:00
Adam
277f476575 cleanup on isle zero (#1699)
Ran oxc (https://oxc.rs/docs/guide/usage/linter.html#vscode-extension) and fixed all the issues that came up, set it up to run as a PR check and added steps to the README.md asking users to use it.

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

* **New Features**
  * Introduced JavaScript linting using oxlint in development guidelines and CI workflow for improved code quality.
  * Added oxlint configuration and dependencies to the project.

* **Bug Fixes**
  * Improved error logging in various components and utilities for better debugging.
  * Enhanced React list rendering by updating keys to use unique values instead of array indices, reducing rendering issues.
  * Replaced browser alerts with toast notifications for a smoother user experience.

* **Refactor**
  * Simplified component logic and state management by removing unused code, imports, props, and components across multiple files.
  * Updated function and component signatures for clarity and maintainability.
  * Improved efficiency of certain operations by switching from arrays to sets for membership checks.

* **Chores**
  * Cleaned up and reorganized import statements throughout the codebase.
  * Removed deprecated files, components, and middleware to streamline the codebase.

* **Documentation**
  * Updated contribution guidelines to include linting requirements for code submissions.

* **Style**
  * Minor formatting and readability improvements in JSX and code structure.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-10 10:59:40 -07:00
Anirban Singha
2f818a09a7 docs: fix path to translation.md (#1551) 2025-06-30 15:19:10 -07:00
Harsh
d7c2a01d58 docs: add instructions to set up upstream remote (#1442) 2025-06-23 11:55:43 -07:00
BlankParticle
d58c40669b feat: add helper cli 2025-05-21 20:26:33 +05:30
BlankParticle
a4d7889fa2 chore: do optimizations 2025-05-20 16:52:55 +05:30
Aj Wazzan
086a3d85ba refactor: update AI sidebar and billing hook for improved feature handling and UI adjustments 2025-05-20 13:56:51 +05:30
BlankParticle
fa45abaf44 feat: remixify and whatever else needed to be done 2025-05-20 13:56:47 +05:30
hmacr
edb6b8d466 doc: update db start command 2025-05-19 19:35:05 +05:30
Bilgi Lovelace
4604a5d62a Add warnings because staging is the base branch for contribution 2025-05-14 00:12:28 +02:00
BlankParticle
63124379e8 chore: update docs to mention cloudflare sync 2025-05-12 13:42:51 +05:30
Adam
cc0ffd5f79 Staging (#749)
* draft fixes:
- added cc and bcc when saving drafts
- save drafts less aggresively

* some fixes for saving attachments to draft

* fix for empty draft loading

* fix draft list recipient name/address

* also show 'No Recipient' if empty

* remove comments

* switch to mimetext for draft saving to keep formatting consistent

* add message title to draft list

* feat: single api for oauth connections

* fix: add extra error handling

* chore: simplify and fix the dev env

* Ai generate security (#706)

* Create prompts with XML formatting

* Include XML formatted prompts in generate func

* remove unused regex and add helper functions/warnings

* error handling

* Update apps/mail/lib/prompts.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* lint issues

* Update prompts.ts

* https://github.com/Mail-0/Zero/pull/706#discussion_r2049650081

Coderabbit fix 1

* erabbitai bot 3 days ago ⚠️ Potential issue  errorOccurred state is stale inside finally  React state setters (setErrorOccurred) are asynchronous; the errorOccurred value captured at render time will not yet reflect changes made earlier in the same event loop. Consequently, the logic deciding whether to collapse/expand may run with an outdated flag.  -  } finally { -      setIsLoading(false); -      if (!errorOccurred || isAskingQuestion) { -        setIsExpanded(true); -      } else { -        setIsExpanded(false); // Collapse on errors -      } -  } +  } finally { +      setIsLoading(false); +      // Use a local flag to track errors deterministically +      const hadError = isAskingQuestion ? false : !!errorFlagRef.current; +      setIsExpanded(!hadError); +  } You can create const errorFlagRef = useRef(false); and update errorFlagRef.current = true every time an error is detected, ensuring reliable behaviour irrespective of React batching.  Committable suggestion skipped: line range outside the PR's diff.

* https://github.com/Mail-0/Zero/pull/706#discussion_r2049650112

* https://github.com/Mail-0/Zero/pull/706#discussion_r2049650106

* https://github.com/Mail-0/Zero/pull/706#discussion_r2049650097

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Add a new Vietnamese translation file to support Vietnamese language users (#726)

* feat(i18n): add Vietnamese language support

Add Vietnamese ('vi') to the list of supported languages in the
i18n configuration and JSON file to expand language options.

* Add a new Vietnamese translation file to support Vietnamese language users.

* Clear Vietnamese translation strings

* Update es.json (#710)

Co-authored-by: needle <122770437+needleXO@users.noreply.github.com>

* Update app manifest and add new icons for PWA (#739)

* feat: allow sending from email aliases added through gmail (#743)

* Refactor IP handling in early-access routes

* Add unauthorized error handling in sign out function

---------

Co-authored-by: Ahmet Kilinc <akx9@icloud.com>
Co-authored-by: BlankParticle <blankparticle@gmail.com>
Co-authored-by: grim <75869731+ripgrim@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Chánh Đại <dai@chanhdai.com>
Co-authored-by: Dani B. <danibaldomirm@gmail.com>
Co-authored-by: needle <122770437+needleXO@users.noreply.github.com>
Co-authored-by: Humber Nieto <56887259+humbernieto@users.noreply.github.com>
Co-authored-by: Atharva Deosthale <atharva.deosthale17@gmail.com>
2025-04-22 11:03:55 -07:00
user12224
cd1f6d2b74 minor 2025-03-19 17:48:16 +02:00
Nikita D
f7a00bc0d0 Merge branch 'staging' of https://github.com/Mail-0/Zero into fix/lints 2025-03-14 20:54:31 -07:00
user12224
5bee8afb56 chore: translation docs 2025-03-14 23:33:51 +02:00
nizzy
8b139d8c84 feat: migrate to bun (#443) 2025-03-14 14:41:55 -04:00
Nikita D
f442300176 Merge branch 'main' into fix/lints 2025-03-13 14:24:45 -07:00
Nikita D
71d1261939 Added disclaimer to contributors 2025-03-13 10:42:34 -07:00
user12224
0424a8dc2c refactor 2025-03-10 13:21:18 +02:00
user12224
50bd1e18c3 format 2025-03-10 11:38:09 +02:00
user12224
3f14ce4d9b format 2025-03-10 11:35:50 +02:00
user12224
71b11e2f30 refactor: docs 2025-03-10 11:26:19 +02:00
KotaIkehara
73f41d9b7e docs: update development setup instructions in CONTRIBUTING.md 2025-03-08 11:09:36 +09:00
KotaIkehara
337df4208a docs: update table of contents in CONTRIBUTING.md for better navigation 2025-03-08 11:09:02 +09:00
Aj Wazzan
de1ed1ea73 refactor: Rename project from Mail0 to 0.email
- Updated docker-compose container names and database names
- Replaced Mail0 references with 0.email in README, ROADMAP, and various source files
- Updated GitHub repository links and references
- Adjusted environment variables and configuration files
- Corrected branding across UI components and documentation
2025-03-06 14:04:44 -08:00
Ahmet Kilinc
5a55eb0234 added templates for github 2025-02-20 21:22:26 +00:00