Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Releases: HamzaElkotp/ZChatGPT

Realtime API response

25 Jun 16:46
Compare
Choose a tag to compare
Realtime API response Pre-release
Pre-release

In this version

We edited js code to allow the user to get realtime response from ZChatGPT API.
also we edited the function that will count the tokens number, to can work with the new API behavior.
Be careful, we edited the following:

  • Rearrange the welcoming messages
  • global OBJ to save the current message that API is building (by putting the new AI response msg DOM element in it, to can update the textContent of them to the new received response completion)
  • removing gptMsgTaker()
  • update gptMsgDom() to edit the current message DOM.
  • creating gptMsgPusher()
  • editing addtokens() to new tokens calc way (to fit the new API response way)
  • shorten apiFetcher() to simpler function called fetchAPI(), and making it async
  • adding readablestream functions and loop in fetchAPI()

NOTE: we published this version as pre-release because there are some edits that must be added like disabling the send button after clicking, and auto scroll down

Fix Donation Notification

20 Jun 08:30
Compare
Choose a tag to compare

We created the function to show the donation notification when pass the limit
also we have increased the welcoming messages

Export chats feature

20 Jun 08:28
Compare
Choose a tag to compare

We developed exporting feature. by clicking export button a popup will appear, contains 2 exporting options (JSON, txt) files

Dark mode and settings popup

19 Jun 21:29
Compare
Choose a tag to compare

In this version v1.3.0

  • created popup for settings
  • we made the function that will show and hide this popup
  • enabled dark mode
  • your settings choices will be saved in the localstorage and used when you reopen the app
    NOTE: we have noticed that we forget to create a function to that shows a popup after using to much tokens. will be fixed in the last version of 1.3

Fix Icons and decrease loading time

19 Jun 21:25
Compare
Choose a tag to compare

Argent Update in May 23 caused by sudden stop in Icons and to decrease loading time and unused assets

Creating Donation Notification

19 Jun 21:23
Compare
Choose a tag to compare

In this version v1.2.3

  • we created a notification that appears after pass specific number of used tokens
  • this notification will appear to tell user to donate, but we wont limit his usage or stop the service
  • this notification will appear once per day if a pass happened
  • the the number of used tokens and the record of if we have sent notification or not, are saved in the LocalStorage
  • we finished developing the logic but we discovered at 2023/6/1 that we forgot to make the function that will make the notification appears
  • this problem will be fixed in the last version of 1.3

Creating Last Updates Popup

01 Jun 18:21
Compare
Choose a tag to compare

In this version v1.2.2

  • We developed a logic to check
    • the current version in the app.js file (will be changed in every update)
    • the last version (will be recorded in the localStorage)
    • compare them to check if you have installed the new version
    • then show a popup that contains all the update details
  • We created a JSON file contains all the new version details, this File will be converted to DOM elements in the popup
  • the update popup appears for one time then disappears.

Creating donation buttons popup

25 Apr 13:13
Compare
Choose a tag to compare

In this version

  • We added a popup contains buttons for every donation way + some notes in the popup.
  • We added all functionalities to open and close buttons. (showDonate, hideDonate)
  • Their CSS codes and icons.
  • Created new Bulma buttons CSS classes. (is-coffee, is-paypal, is-patreon)

API control menu to user

24 Apr 23:14
Compare
Choose a tag to compare

In this version:
We added new control bar to allow users to control ChatGPT behavior\brain by changing:

  • AI Model
  • Role / Behave
  • Temperature
  • Top p
  • Presence penalty
  • Frequency penalty

We added a new button next to the message field to show the control menu.

Preload page

24 Apr 23:08
Compare
Choose a tag to compare

This version is the first version after pre-release version (v1.0.2). In this version we increased the user experience by making some changes to the UI to be ready for major changes coming in next versions. And to make it easier to use.

In this version:

  • Added preload page functionality.
  • increased the page height and width.
  • changed the support link.
  • funny messages after load.
    we added a preload page to the app. we added functionalities to hide preload after loading and to show a fun message which will disappear after sending the first message to ChatGPT.

Full Changelog: v1.0.2...v1.1.0