Skip to content

feat: consolidate UI redesign + offline-first + text file upload#23

Merged
techjarves merged 11 commits into
techjarves:mainfrom
joao-carmassi:feat/ui-redesign-offline-text-upload
May 7, 2026
Merged

feat: consolidate UI redesign + offline-first + text file upload#23
techjarves merged 11 commits into
techjarves:mainfrom
joao-carmassi:feat/ui-redesign-offline-text-upload

Conversation

@joao-carmassi
Copy link
Copy Markdown
Contributor

Context

This PR consolidates three major workstreams previously developed in separate pull requests (UI redesign, offline-first asset loading, and text file upload), along with additional improvements made after the initial integration.

Summary of Changes

Technical Scope

Metric Value
Files changed 11
Insertions +3,488
Deletions -1,465

Files affected

  • Shared/FastChatUI.html — UI redesign, temperature control, file upload, layout fixes
  • Shared/config/models.json — Centralized model catalog
  • Shared/config/ui-vendor-assets.json — Centralized vendor asset manifest
  • Shared/scripts/config_query.py — Helper script for config queries
  • Shared/scripts/download-ui-assets.ps1 / download-ui-assets.sh — Offline-first asset bootstrapping
  • Windows/install-core.ps1 — Installer fixes and catalog refactor
  • Android/install.sh / Linux/install.sh / Mac/install.command — Installer catalog refactor
  • .gitignore — Minor update

Commit References

Hash Description
01b8601 feat: merge pr-10 redesign + pr-15 offline-first + text file upload
45ea64a Formats HTML/CSS with Prettier and adds temperature control
874ae13 Add support to multiple file upload
0da7006 fix: offline-first UI dependency loading + installer vendor bootstrap
a5a602c refactor: centralize shared installer catalogs into JSON to reduce drift
f61295a / 3c7a2f8 fix(windows-installer): correct displayed default model number in no-input prompt
d1b104b / d26c88b Adjust padding on AI chat and fix text align in prompt recommendations / loading

Expected Impact

  • Improved UI layout, visual consistency, and user controls (temperature slider).
  • Robust offline usage: UI assets are served locally without requiring internet access.
  • Increased productivity with multi-file text upload support in chat.
  • Reduced risk of cross-platform inconsistency in installer scripts.

Validation Checklist

  • Install and run on Windows
  • Install and run on Linux
  • Install and run on Mac
  • Load the UI without internet access (verify offline asset serving)
  • Upload a single text file and confirm it is sent to the model
  • Upload multiple text files and confirm all are processed
  • Verify temperature control works and affects model responses
  • Verify layout and padding on different screen sizes

pratham-jaiswal and others added 11 commits April 25, 2026 14:52
- FastChatUI.html: apply Gemini/ChatGPT visual redesign from pr-10
- Replace all CDN dependencies with local vendor files (offline-first)
  - marked.js, highlight.js, Inter fonts, JetBrains Mono from vendor
  - Font Awesome 6.5.1 CSS + fonts served from ./vendor/
  - PDF.js loaded from ./vendor/pdf.min.mjs
- Add drag-and-drop support with image, PDF, and text file handling
- Add handleText(): txt/md files reuse the PDF context pipeline
- Update file input accept to include .txt and .md
- ui-vendor-assets.json: add fa-all.min.css, fa-solid-900.woff2, fa-regular-400.woff2
- download scripts: patch FA CSS font paths to resolve from ./vendor/
Reformats the entire HTML file with consistent indentation and spacing using Prettier standards, improving code readability and maintainability.

Adds a temperature control input in the model selection row, allowing users to adjust the model's temperature parameter (0-2 range, default 0.7) for fine-tuning response creativity.

Fixes user message bubble styling by changing border-radius from bottom-right to top-right for proper visual alignment.

Adjusts user attachment layout to display images and PDFs in a flex column at the end of messages rather than inline with text.

Updates typing indicator padding for better visual spacing.
@techjarves techjarves merged commit 35bcdca into techjarves:main May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants