Project

General

Profile

Actions

Feature #30761

open

Feature #30648: Nextjs - Middleware settings

Feature #30757: Home Page integration

Home Page integration

Added by Subana Shahul 5 months ago. Updated 4 months ago.

Status:
In Progress
Priority:
Normal
Category:
-
Target version:
-
Start date:
12/03/2025
Due date:
12/04/2025 (about 5 months late)
% Done:

40%

Estimated time:
16:00 h
Spent time:
remarks:
DB Changes:
Keys & Permissions:
Areas Affected:
Files Changed:
Actions #1

Updated by Meenu Krishnan 5 months ago

  • Status changed from Assigned to In Progress
  • % Done changed from 0 to 40

-Builds the API URL
-Retrieves the selected user currency
-Sends the request using the shared API utility
-Generates a redirect link with all search parameters.
-function constructLink(deal) creates a full flight search URL.

Actions #2

Updated by Meenu Krishnan 4 months ago

-Constructs the API endpoint URL for hotel deals.
-Retrieves the user's currency via getCurrency().
-Calls fetchFromApi to get hotel deals from the backend.
-Processes the returned deals with process Hotel Details.
-Calls constructLink to generate a redirect URL for the deal.

Actions #3

Updated by Meenu Krishnan 4 months ago

-Refactored link creation logic for hotel search results.
-Improved isTokenExpired() with safer numeric parsing.
-Improved setAuthCookies() function for reliability.
-Strengthened token lifetime logic.

Actions

Also available in: Atom PDF