Skip to content

feat: massively overhaul codebase#924

Open
baseplate-admin wants to merge 152 commits into
mainfrom
feat/jxr-other
Open

feat: massively overhaul codebase#924
baseplate-admin wants to merge 152 commits into
mainfrom
feat/jxr-other

Conversation

@baseplate-admin

Copy link
Copy Markdown
Collaborator

No description provided.

@baseplate-admin baseplate-admin changed the title feat: massively overhaul JS codes feat: massively overhaul codebase May 27, 2026
Expand one-liner ternary expressions, catch blocks, and template elements
in view/[slug]/+page.svelte and reverse/[room_id]/+page.svelte for
readability. Split compressed status derived, error handling branches,
and FileViewerOverlay props across multiple lines.
Replace every named Card import ({ Card, CardContent, CardHeader, ... })
with namespace import (import * as Card) and update all template tags
to compositional dot notation (Card.Root, Card.Header, Card.Title,
Card.Description, Card.Content, Card.Footer). Do the same for Field
(Field.Field, Field.Label, Field.Content, Field.Description).

Affected files: home page, speedtest, reverse landing, reverse client,
reverse host, onboarding stage 1, onboarding stage 2.
Card and Field imports are now fully conformed across all 7 pages.
Update comparison tables and remaining gaps to reflect this.
…usel

Phase 15 DONE: All 5 components installed via CLI.
- accordion (5 files) — for FAQ/help sections
- hover-card (5 files) — for rich file previews
- context-menu (17 files) — for right-click file actions
- carousel (7 files) — for home page showcase
Note: stepper not in shadcn-svelte registry, collapsible is the alternative
Fix 5 instances of Card.Rootclass= (missing space before class) and
4 mismatched </CardDescription> closing tags that should be </Card.Description>
in the namespace import pattern. Affected: home page and reverse client page.
…svelte deep research

- Add page-by-page functional comparison (14 pages: home, upload, download, view,
  login, reverse landing, reverse host, reverse client, speedtest, admin config,
  admin users, admin profile, admin urls, informations, onboarding)
- Add shared library functions comparison (21 modules tracked)
- Add query hooks comparison (9 hooks tracked)
- Add exact docs patterns for 10 new components (Input Group, Alert Dialog,
  Data Table, Tabs, Sheet, Checkbox, Switch, Carousel, Hover Card, Context Menu)
- Add component improvement table (14 new shadcn-svelte components vs reference)
- Add forward work plan Phases 18-23 (wire installed components, install missing
  registry components, upgrade admin tables, CSS polish, Playwright verification,
  code readability final pass)
- Summarize what chithi does better (17 advantages) and what reference does better
  (2 advantages)
- Upload page: replace static encryption info with Accordion.Root containing
  3 collapsible items (End-to-End Encryption, How it works, Key storage)
- Admin config: wrap 4 stacked cards in Tabs.Root with tab triggers for
  Storage, Retention, Security, and Description
- Mark Phase 18 Accordion task and Phase 19 Tabs task as complete
- Update admin config page comparison table to note Tabs usage
- Update conformance gaps fixed table with Accordion and Tabs entries
- Update chithi advantages list with Accordion and Tabs entries
- Remove completed gaps from Remaining Gaps section
Wrap each zip entry in ContextMenu.Root with View and Save actions,
enabling right-click context menu for quick file operations.
- Mark Phase 18 Context Menu task as complete
- Update view page comparison table with Context Menu entry
- Update conformance gaps fixed table with Context Menu entry
- Remove Context Menu from Remaining Gaps section
Replace hidden inline reconnect card with Sheet slide-in panel.
Fixes the bug where showReconnect state had no trigger button.
Uses exact docs pattern: Sheet.Trigger with snippet child({ props }),
Sheet.Close with buttonVariants().
- Mark Phase 19 Sheet task as complete
- Update home page comparison table with Sheet entry
- Update conformance gaps fixed table with Sheet entry
- Remove Sheet from Remaining Gaps section
- Expand error handling if-else chain to multi-line blocks
- Expand one-line template elements (KeyRound, Card.Footer, CircleAlert,
  CompleteSvg, status icon toggle, Download button) for readability
Add CommandDialog component (Ctrl+K) for quick navigation to pages,
admin settings, and theme toggle. Wires the already-built CommandPalette
component into the navbar+footer layout.
- Mark Phase 18 Command task as complete
- Update chithi advantages list with CommandPalette entry
- Update conformance gaps fixed table with CommandPalette entry
…able, input-group)

Install registry components via shadcn-svelte CLI for Phase 18 wiring:
- alert-dialog: used by admin URLs revoke dialog
- command: used by CommandPalette (Ctrl+K quick navigation)
- data-table: available for admin table upgrades
- input-group: used by download/view password inputs
Upload showcase is a custom progress visualization, not carousel cards.
Carousel component remains installed for future use cases.
All UI component files now have consistent CRLF line endings after
shadcn-svelte CLI install. Includes input, textarea, and all other
registry components.
- Update package.json/lock for new shadcn-svelte component installs
- Readability improvements to CodeViewer, FileViewerOverlay, QRCode
- Update database index and download function
- Update complete SVG icon
Commit LF to CRLF normalization for all SvelteKit route files across:
- admin pages (config, urls, user, users)
- navbar/footer pages (upload, speedtest, reverse, login, logout)
- information pages (home, backend, frontend, statistics)
- onboarding and once routes
Remove deprecated Python SDK source files and PyO3-based Rust Python
bindings in favor of the new pure C ABI WASM approach.
- Update wasm_bindings lib, send_crypto, and seven modules
- Update chithi-core crypto and WASM binding crates
- Update Cargo.toml and Cargo.lock for core workspace
Show extended file details on hover via HoverCard.Root/Trigger/Content
following exact shadcn-svelte docs pattern.
Hover Card wired, Input Group verified, Checkbox verified.
All Phase 18 and Phase 19 items complete.
Phase 23 (readability) complete. Phase 22 (Playwright) partial —
home, upload, download pages verified, dark mode confirmed working.
All CSS variables use OKLCH color space, but color-mix() calls were
using `in srgb` which fails silently when mixing OKLCH values. Switch
all color-mix calls to `in oklch` to match the defined color space.

Fixes: grid gradient in tailwind.css, progress bar stripes in upload showcase.
Onboarding and error pages used bg-white/70, border-slate-200, text-slate-900
and dark: variants instead of semantic bg-card, border-border, text-foreground.
This broke dark mode consistency. All replaced to use Tailwind semantic tokens.
Users page: added text filter input, clickable column headers for sorting
by username/email, client-side sort/filter on current page data.

URLs page: added text filter input, sortable columns for size, created_at,
and downloads. Both tables preserve server-side pagination.
Kbd was imported as namespace (* as Kbd) but used as <Kbd> directly,
causing a runtime warning. Switch to named import { Kbd, KbdGroup }
matching the shadcn-svelte export pattern.
- Fix implicit any types in admin table filters and sort callbacks
- Remove non-existent ButtonGroup.Trigger from stage_3.svelte
- Fix Accordion collapsible prop not supported by current component
- Fix Temporal.Instant.from() API usage for epoch milliseconds
- Fix createDecryptedStream return type (ReadableStream, not object with stream prop)
- Fix query/stats destructuring for instance info queries
- Fix RemoteUpload type mapping to include required key field
- Fix Uint8Array to BlobPart cast for Blob construction
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.

1 participant