NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

fix: Fix Usage query failure and optimize query logic, and resolve markdown link issue

Open ClarenceDan opened this issue 2 years ago • 0 comments

Description

This pull request includes the following changes:

  • Fixed issue causing Usage queries to fail due to time-related problems.
  • Optimized query logic for both subscribed and non-subscribed accounts.
  • Resolved issue with internal links not redirecting properly in markdown, and optimized behavior for external links to open in a new window.

Details

Fixed Issue

Previously, the Usage queries were failing due to time-related problems. This pull request fixes the issue and ensures that the queries run smoothly.

Optimized Query Logic

The query logic for both subscribed and non-subscribed accounts has been optimized to improve performance and accuracy. For non-subscribed accounts, the 'startDate' parameter will now be set to 90 days ago.

Resolved Markdown Issue

This pull request also resolves an issue where internal links were not redirecting properly in markdown, and optimizes the behavior for external links to open in a new window.

Testing

The changes have been tested thoroughly to ensure they work as expected.

ClarenceDan avatar Apr 30 '23 06:04 ClarenceDan