Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3e3d1d0
Add AI capability
zatteo Dec 11, 2025
0f9d468
Create an isAIScribeAvailable method
zatteo Dec 11, 2025
9f7c3a8
Use endpoint from AI capability instead of direct call to LLM
zatteo Dec 11, 2025
75d349c
Remove value now unused
zatteo Dec 11, 2025
c12c43e
feat: Remove .env file for AI Scribe
zatteo Dec 15, 2025
3c88881
Disable AI Scribe if on mobile
zatteo Dec 15, 2025
3743489
Strong typing AI exceptions
zatteo Dec 15, 2025
0c5e008
feat(ai-scribe): Fix cannot parsing AI capability from Session
dab246 Dec 16, 2025
e8ffce0
feat(ai-scribe): reorganize abstractions and update dialog modal UI
dab246 Dec 17, 2025
f994698
feat(ai-scribe): Improve UI for AI Scribe suggestion modal
dab246 Dec 17, 2025
86d9551
feat(ai-scribe): Improve data & domain layer for ai scribe
dab246 Dec 17, 2025
f36fa2e
feat(ai-scribe): Optimize imports to avoid having too many lines of c…
dab246 Dec 18, 2025
5c729fd
Add JS method to collapse selection in both composer
zatteo Dec 10, 2025
1e68062
Add Intl for `Replace` text
zatteo Dec 10, 2025
8d5b114
feat(ai-scribe): Add method to collapse selection and insert/replace …
dab246 Dec 18, 2025
159869c
feat(ai-scribe): Fix generate ai text is failed
dab246 Dec 18, 2025
0e209c2
feat(ai-scribe): Allow scroll the prompt's response is long
dab246 Dec 18, 2025
1936d2c
feat(ai-scribe): Avoid the prompt being obscured when there is a lot …
dab246 Dec 18, 2025
726d7e9
feat(ai-scribe): Fix click outside during scribe generating response,…
dab246 Dec 18, 2025
0bf1bf4
feat(ai-scribe): Fix some comments of coderabbit
dab246 Dec 18, 2025
67a6429
feat(ai-scribe): Add `Enter` to send prompt directly and `Shift + Ent…
dab246 Dec 18, 2025
6033b1f
feat(ai-scribe): Auto hide `Replace` action when perform prompt in ne…
dab246 Dec 18, 2025
7d2296c
feat(ai-scribe): Fix when using multiple composer, get multiple overl…
dab246 Dec 18, 2025
f4c4dff
Make the AI Scribe suggestion success selectable text
zatteo Dec 18, 2025
fc1fa0e
Unpixelize gradient sparkle
zatteo Dec 18, 2025
68e19b7
feat(ai-scribe): Fix click on response text of AI, dialog to be disap…
dab246 Dec 19, 2025
b25b4dd
feat(ai-scribe): Fix alignment of prompt when AI button at very right…
dab246 Dec 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions assets/images/ic_ai_bullets.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/images/ic_ai_change_tons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions assets/images/ic_ai_emojify.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/images/ic_ai_grammar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions assets/images/ic_ai_improve.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions assets/images/ic_ai_more_casual.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions assets/images/ic_ai_more_detail.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/images/ic_ai_more_polite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/images/ic_ai_more_professional.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions assets/images/ic_ai_shorter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/images/ic_ai_translate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions assets/images/ic_gradient_sparkle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 12 additions & 2 deletions assets/images/ic_sparkle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions core/lib/data/network/dio_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ class DioClient {
CancelToken? cancelToken,
ProgressCallback? onSendProgress,
ProgressCallback? onReceiveProgress,
bool useJMAPHeader = true,
}) async {
final newOptions = options?.appendHeaders({HttpHeaders.acceptHeader : jmapHeader})
?? Options(headers: {HttpHeaders.acceptHeader : jmapHeader}) ;
Map<String, dynamic> defaultHeaders =
useJMAPHeader ? {HttpHeaders.acceptHeader: jmapHeader} : {};
final newOptions = options?.appendHeaders(defaultHeaders) ??
Options(headers: defaultHeaders);

return await _dio.post(path,
data: data,
Expand Down
Loading
Loading