view asyncio_threads/frontend/README.md @ 166:78ea8d5ccc87

[ThirdParty] Added sqlite3 to the third_party.
author MrJuneJune <me@mrjunejune.com>
date Mon, 19 Jan 2026 16:28:34 -0800
parents 46daba6e3cf4
children
line wrap: on
line source

Frontend Task

1. Component Implementation: Enhanced TypeAhead (Good?)

Develop a TypeAhead input component that filters a dataset based on user entry. Implement a debounce mechanism to optimize performance by limiting the frequency of function execution during typing. Apply text processing logic to identify and visually highlight the specific substrings within the results that match the user's input.

2. Algorithmic Challenge: Increasing Subsequence(Okay?)

Analyze a given array of integers and write a function to determine the length of the longest subsequent growing sequence contained within the array.

3. Frontend Architecture: AI Prompt and Context Interface

Construct a dual-pane user interface featuring a prompt history sidebar on the left and a main content area on the right for input and context display. Implement data fetching from the OpenAI API. Develop state management logic where submitting a new prompt triggers an API call, and selecting a specific prompt from the history injects the corresponding past response to serve as the context for the subsequent request.