Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix chat history #166

Merged
merged 5 commits into from
Sep 13, 2023
Merged

Fix chat history #166

merged 5 commits into from
Sep 13, 2023

Conversation

prtkjakhar
Copy link
Collaborator

Added pagination for conversation history.

@vercel
Copy link

vercel bot commented Sep 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
app-amakrushi ✅ Ready (Inspect) Visit Preview Sep 12, 2023 2:49pm

@geeky-abhishek geeky-abhishek merged commit 4508a91 into main Sep 13, 2023
3 checks passed
@prtkjakhar prtkjakhar deleted the fix-chat-history branch September 13, 2023 16:54
prtkjakhar added a commit that referenced this pull request Sep 18, 2023
* Style: fixed odia title (#104)

* style: ui scroll bug on faq page

* style: fixed odia title

* Feat chat history (#106)

fix: token authentication

* Delete .env.production

* UI changes (#112)

* style: minor ui changes

* fix: delete history page fix and flagsmith self hoasted added

---------

Co-authored-by: Prateek Jakhar <[email protected]>

* fix: conversation id (#115)

* fix: conversation id

* Added down time page (#117)

* Update ContextProvider.tsx (#118)

* Feat dialer popup (#120)

* added down time page

* Update chat.tsx

* Added Auth header (#122)



* added down time page

* added dialer popup

* added auth in headers

* Update chat.tsx

* chore: msgId display for testing (#127)

* chore: msgId display for testing

* Feat dsply msg (#128)

* fix: history not loading on refresh

* chore: fixed userID bug (#130)

* Feat fcm (#133)

* feat: added fcm

---------

Co-authored-by: Saiyan Abhishek <[email protected]>

* fix: update in conversation api (#135)

* fix: added firebase event for msg delay (#136)

* fix: flagsmith init inside useeffect (#140)

* fix: flagsmith init inside useeffect

* added flagsmith cloud

---------

Co-authored-by: Prateek Jakhar <[email protected]>

* Added query log and splash screen log (#143)

* Feat trans (#134)

* feat: mic button working

* feat: audio to speech added

* chore: ui changes

* chore: ui changes

* feat: speech to text added to chat ui

* added flagsmith for model ids

* feat: transliteration added

* style: changed translate to transliterate

* style: changed translate text to transliterate

* feat: added eng dictionary

* feat: added eng dictionary

* added flagsmith cloud

* added conv. api change

* chore: removed dictionary, now transliterating every msg

* fix: transliteration added in or only

* fix: added transliteration only on or lang

* minor ui changes

* minor ui changes

---------

Co-authored-by: Saiyan Abhishek <[email protected]>

* Fix: fcm logic updated (#146)

* fix: flagsmith init inside useeffect

* changed fcmToken update logic

* changed fcm token logic

* fix: updated fcm logic

---------

Co-authored-by: Saiyan Abhishek <[email protected]>

* Feat: Added example questions to flagsmith (#147)

* Feat: Feature Pop Up  (#148)

* fix: flagsmith init inside useeffect

* changed fcmToken update logic

* changed fcm token logic

* fix: updated fcm logic

* feat: added link property to notifications

* feat: added link and image to fcm

* fix: link in notification

* feat: added popup for features

* feat: added notify feature popup

* style: added support for notification icon



---------

Co-authored-by: Saiyan Abhishek <[email protected]>

* fix: empty feature details bug (#152)

* fix: flagsmith init inside useeffect

* changed fcmToken update logic

* changed fcm token logic

* fix: updated fcm logic

* feat: added link property to notifications

* feat: added link and image to fcm

* fix: link in notification

* fix: link in notification

* fix: link in notification

* feat: added popup for features

* feat: added notify feature popup

* feat: added notify feature popup

* feat: added notify feature popup

* style: notification toast ui changed

* style: added support for notification icon

* style: added support for notification icon

* style: added support for notification icon

* fix: empty feature details bug

---------

Co-authored-by: Saiyan Abhishek <[email protected]>

* fix: handled new history api (#157)

* fix: no internet error for otp verify in offline (#158)

* fix: no internet error for otp verify in offline

* feat:Speech to text added (#114)

* feat: mic button working

* feat: audio to speech added

* chore: ui changes

* chore: ui changes

* feat: speech to text added to chat ui

* added flagsmith for model ids

* feat: changed audio models

* added flagsmith cloud

* feat: added new api for odia audio

* feat: added new api for odia audio

* feat: added voice button to chat screen

* added ai tools odia stt

* yarn issues resolved

* Style/new UI (#159)

* history share and download

* minor ui bug

* removed yarn lock file

* bug fix

* bug fix

* bug fix

* download share added to history page

* added asr id and sharing toasts

* added toasts in sharing

* Added error handling for no audio

* modified recorder

* audio working on mobile

* Fix socket (#160)

* set up socket-package

* new socket working

* audio working

* socket connection first time issue fixed

* new audio package used (#161)

* toast log

* audio playing added

* audio playing added

* new package used

* new audio package

* removed audio playback

* Used web audio APIs directly (#162)

* toast log

* audio playing added

* audio playing added

* new package used

* new audio package

* removed audio playback

* added audio playback

* used web audio apis directly

* removed useless toasts

* added one toast

* Style new UI (#164)

* new ui

* audio working

* minor ui changes

* minor ui changes

* example msgs ui changed

* changed inputBox UI

* minor ui changes

* chat page icons modified

* downtime page added to home, offline retry message coming

* updated translations

* fetching is down on chat page

* added translations

* added translations

* downtime state fixed

* stop gif size reduced

* recorder error msg changed

* added timer1 back

* refresh odia translation added

* increased fallback values for timer1 timer2

* removed transliteration

* title changed

* changed odia title spelling

---------

Co-authored-by: Prateek Jakhar <[email protected]>

* Fix chat history (#166)

* added pagination for conversation history

* modified label.ask_me in or (#167)

* Minor UI fix (#168)

* modified label.ask_me in or

* fixed history api call and example question font size

* Minor UI fix (#169)

* modified label.ask_me in or

* fixed history api call and example question font size

* changed history sort key

* fixed am to pm issue

---------

Co-authored-by: Saiyan Abhishek <[email protected]>
geeky-abhishek added a commit that referenced this pull request Oct 9, 2023
* Style: fixed odia title (#104)

* style: ui scroll bug on faq page

* style: fixed odia title

* Feat chat history (#106)

fix: token authentication

* Delete .env.production

* UI changes (#112)

* style: minor ui changes

* fix: delete history page fix and flagsmith self hoasted added

---------

Co-authored-by: Prateek Jakhar <[email protected]>

* fix: conversation id (#115)

* fix: conversation id

* Added down time page (#117)

* Update ContextProvider.tsx (#118)

* Feat dialer popup (#120)

* added down time page

* Update chat.tsx

* Added Auth header (#122)



* added down time page

* added dialer popup

* added auth in headers

* Update chat.tsx

* chore: msgId display for testing (#127)

* chore: msgId display for testing

* Feat dsply msg (#128)

* fix: history not loading on refresh

* chore: fixed userID bug (#130)

* Feat fcm (#133)

* feat: added fcm

---------

Co-authored-by: Saiyan Abhishek <[email protected]>

* fix: update in conversation api (#135)

* fix: added firebase event for msg delay (#136)

* fix: flagsmith init inside useeffect (#140)

* fix: flagsmith init inside useeffect

* added flagsmith cloud

---------

Co-authored-by: Prateek Jakhar <[email protected]>

* Added query log and splash screen log (#143)

* Feat trans (#134)

* feat: mic button working

* feat: audio to speech added

* chore: ui changes

* chore: ui changes

* feat: speech to text added to chat ui

* added flagsmith for model ids

* feat: transliteration added

* style: changed translate to transliterate

* style: changed translate text to transliterate

* feat: added eng dictionary

* feat: added eng dictionary

* added flagsmith cloud

* added conv. api change

* chore: removed dictionary, now transliterating every msg

* fix: transliteration added in or only

* fix: added transliteration only on or lang

* minor ui changes

* minor ui changes

---------

Co-authored-by: Saiyan Abhishek <[email protected]>

* Fix: fcm logic updated (#146)

* fix: flagsmith init inside useeffect

* changed fcmToken update logic

* changed fcm token logic

* fix: updated fcm logic

---------

Co-authored-by: Saiyan Abhishek <[email protected]>

* Feat: Added example questions to flagsmith (#147)

* Feat: Feature Pop Up  (#148)

* fix: flagsmith init inside useeffect

* changed fcmToken update logic

* changed fcm token logic

* fix: updated fcm logic

* feat: added link property to notifications

* feat: added link and image to fcm

* fix: link in notification

* feat: added popup for features

* feat: added notify feature popup

* style: added support for notification icon



---------

Co-authored-by: Saiyan Abhishek <[email protected]>

* fix: empty feature details bug (#152)

* fix: flagsmith init inside useeffect

* changed fcmToken update logic

* changed fcm token logic

* fix: updated fcm logic

* feat: added link property to notifications

* feat: added link and image to fcm

* fix: link in notification

* fix: link in notification

* fix: link in notification

* feat: added popup for features

* feat: added notify feature popup

* feat: added notify feature popup

* feat: added notify feature popup

* style: notification toast ui changed

* style: added support for notification icon

* style: added support for notification icon

* style: added support for notification icon

* fix: empty feature details bug

---------

Co-authored-by: Saiyan Abhishek <[email protected]>

* fix: handled new history api (#157)

* fix: no internet error for otp verify in offline (#158)

* fix: no internet error for otp verify in offline

* feat:Speech to text added (#114)

* feat: mic button working

* feat: audio to speech added

* chore: ui changes

* chore: ui changes

* feat: speech to text added to chat ui

* added flagsmith for model ids

* feat: changed audio models

* added flagsmith cloud

* feat: added new api for odia audio

* feat: added new api for odia audio

* feat: added voice button to chat screen

* added ai tools odia stt

* yarn issues resolved

* Style/new UI (#159)

* history share and download

* minor ui bug

* removed yarn lock file

* bug fix

* bug fix

* bug fix

* download share added to history page

* added asr id and sharing toasts

* added toasts in sharing

* Added error handling for no audio

* modified recorder

* audio working on mobile

* Fix socket (#160)

* set up socket-package

* new socket working

* audio working

* socket connection first time issue fixed

* new audio package used (#161)

* toast log

* audio playing added

* audio playing added

* new package used

* new audio package

* removed audio playback

* Used web audio APIs directly (#162)

* toast log

* audio playing added

* audio playing added

* new package used

* new audio package

* removed audio playback

* added audio playback

* used web audio apis directly

* removed useless toasts

* added one toast

* Style new UI (#164)

* new ui

* audio working

* minor ui changes

* minor ui changes

* example msgs ui changed

* changed inputBox UI

* minor ui changes

* chat page icons modified

* downtime page added to home, offline retry message coming

* updated translations

* fetching is down on chat page

* added translations

* added translations

* downtime state fixed

* stop gif size reduced

* recorder error msg changed

* added timer1 back

* refresh odia translation added

* increased fallback values for timer1 timer2

* removed transliteration

* title changed

* changed odia title spelling

---------

Co-authored-by: Prateek Jakhar <[email protected]>

* Fix chat history (#166)

* added pagination for conversation history

* modified label.ask_me in or (#167)

* Minor UI fix (#168)

* modified label.ask_me in or

* fixed history api call and example question font size

* Minor UI fix (#169)

* modified label.ask_me in or

* fixed history api call and example question font size

* changed history sort key

* fixed am to pm issue

* Fix odia translations (#171)

* updated some odia translations

* removed FAQs and updated user manual

* welcome text centered (#173)

* chat history pdf api updated

* pdf opening

* pdfurl defined two times fixed

* added target in anchor

* added object url back

* added pdfUrl back

* added toast message if no pdf link

* minor fixes

* fixed manual link

* added android handshake for sharing

* android handshake function added

* android handshake function added

* android handshake added

* added android handshake function

* minor ui fix

* updated chat history url

* downloaded pdf opening in new tab

* added firebase logs for download, share clicks

* added error handling if shareUrl not implemented in android

* Updated shareUrl error message in both langs

* sending phoneNumber in asr API

* ui enhancements

* tts working

* removed tts

---------

Co-authored-by: Saiyan Abhishek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants