Repository navigation
Conversation
poisvin
force-pushed
the
feat/prospect-preview-7644
branch
from
November 13, 2026 15:57
d3b7758 to
69d0300
Compare
Contributor
Author
|
Rebased onto current main including merged PR #12. Implementation unchanged (verified with git range-diff). Verification: 85 frontend unit tests, 2 desktop/mobile browser tests and frontend TypeScript passed. Pushed with an explicit force-with-lease; existing local next-env.d.ts change preserved and excluded. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the approved spreadsheet-style prospect UI preview for Gather R18 / #7644.
@codemancers/sheetslibrary: numbered rows, resizable columns for Name, Company, LinkedIn and Actions; no card-based listing./prospects-previewroute follows the existingpage.dev.tsxconvention. No authentication or backend setup needed to try the preview.This is a working UI slice, not completion of R18. The three preview fields are not the final retained-field contract. Persistence, backend search/filtering, duplicate conflict handling, custom fields and integration into authenticated navigation remain follow-up work. Column sorting is disabled rather than misleadingly sorting only one local page.
DB architecture / boundary
No DB changes. No tables, columns, foreign keys or migrations are introduced or renamed. Existing authentication storage is untouched. The preview record below is an in-memory UI object, not a Prisma model or proposed schema.
flowchart LR Preview["Development-only prospect preview"] --> State["React state only\nid, name, company, linkedinUrl"] Preview -. "no calls" .-> API["Backend API — unchanged"] API --> DB[("Existing PostgreSQL — unchanged")]Data flow
flowchart TD Form["Add / edit form"] --> Validate{"Required fields + safe LinkedIn URL"} Validate -->|invalid| Errors["Keep draft; show errors; focus field"] Errors --> Form Validate -->|valid| State["Temporary React state"] State --> Search["Search name/company"] Search --> Pagination["Local pagination"] Pagination --> Grid["Spreadsheet grid"] Grid --> Detail["View details"] Detail --> Form Reload["Reload or leave page"] --> Reset["Discard temporary records"]Try it
pnpm exec next dev apps/app --hostname 127.0.0.1 --port 4202Open http://127.0.0.1:4202/prospects-preview and use test details only. Add a prospect, return to the grid, open its details, edit it, search, then reload to confirm the preview clears.
Verification
Commands:
The previously reported HTTP 400 was not reproduced; this PR does not claim to fix it.