Add client-side spell column sorting and improve inventory search
- Implement client-side sorting for all columns including spell_names - Add computed_spell_names CTE for server-side sort fallback - Add resizable columns with localStorage persistence - Add Cloak slot detection by name pattern - Increase items limit to 50000 for full inventory loading - Increase proxy timeout to 60s for large queries - Remove pagination (all items loaded at once for sorting) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
25980edf99
commit
8cae94d87d
6 changed files with 294 additions and 111 deletions
4
main.py
4
main.py
|
|
@ -2275,8 +2275,8 @@ async def proxy_inventory_service(path: str, request: Request):
|
|||
inventory_service_url = os.getenv('INVENTORY_SERVICE_URL', 'http://inventory-service:8000')
|
||||
logger.info(f"Proxying to inventory service: {inventory_service_url}/{path}")
|
||||
|
||||
# Forward the request to inventory service
|
||||
async with httpx.AsyncClient() as client:
|
||||
# Forward the request to inventory service (60s timeout for large queries)
|
||||
async with httpx.AsyncClient(timeout=60.0) as client:
|
||||
response = await client.request(
|
||||
method=request.method,
|
||||
url=f"{inventory_service_url}/{path}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue