Skip to content

feat: application UX improvements, bidirectional insight linking, dashboard quick search, query prefetching, and auto-search overhaul - #103

Merged
SagiEv merged 2 commits into
mainfrom
feat/app-ux-insights-dashboard-search
Nov 27, 2026
Merged

SagiEv merged 2 commits into
mainfrom
feat/app-ux-insights-dashboard-search

Conversation

@SagiEv

@SagiEv SagiEv commented Nov 27, 2026

Copy link
Copy Markdown
Owner

Summary

This PR delivers a set of UX improvements, bug fixes, architectural cleanups, and a full Auto Search overhaul across Applications, Dashboard, Interview Insights, and Job Search.


1. Applications UX & Sorting

  • Withdrawn → Archive: Moved Withdrawn applications out of Active and into Archived (including stat counts, ghosting detection exclusion, and hiding Quick Reject) via centralized isActiveStatus / isArchivedStatus helpers.
  • Sticky Ghosting Suggestion Bar: Relocated the "No updates in a while" banner to a frosted-glass sticky bottom bar (.adp-ghosting-bar) at the bottom of ApplicationDetailPage, and fixed .app { min-height: 0 } so it never clips on shorter viewports.
  • Toast Notifications: Added contextual toast feedback across application status/stage updates, rejecting/ignoring/withdrawing, creating applications, CSV imports, conflict aborts, ghosting dismissals, and Activity Log notes.
  • Multiline & Majority-Language RTL/LTR Notes: Replaced the single-line Activity Log note input with a multiline <textarea> (Enter for newlines, Ctrl/Cmd+Enter to submit), preserved \n via white-space: pre-wrap, and added getTextDirection to set dir="rtl" / dir="ltr" based on majority Hebrew vs. Latin character count.
  • Sort by Fit Score: Added Sort by Fit Score (ai_score ?? fit_score_deterministic) with contextual direction labels (↓ Highest / ↑ Lowest) and unscored applications always placed last.
  • Scroll Reset: Opening any application detail page resets .content.scrollTop = 0 so navigation always starts at the top.

2. Bidirectional Interview Insights ↔ Application Linking & Card UI

  • Link on Add & Edit: Added a searchable application picker (with company auto-fill and unlink) to the Add/Edit Interview Insight modal, plus backend interviewSchemas.js support and application_history sync on create/update/unlink (interviews.service.js).
  • Two-Way Deep Linking:
    • Insight cards display a clickable linked-application chip that jumps directly to that application's detail page.
    • ApplicationDetailPage displays a compact View Insight / View Insights (N) button beside View Job Posting when linked insights exist, jumping to InterviewInsightsPage, scrolling directly to the card, and highlighting it for 2.5s.
  • Insight Card UI Polish: Unified full-width card header with fixed company + calendar date pill placement, neatly tucked linked-application chip, properly bordered Edit/Delete buttons, horizontally aligned Good Points / To Improve columns, and logical border-inline-start for Hebrew/English point cards.

3. Dashboard Quick Application Search & Login Prefetching

  • Dashboard Quick Search: Added a live quick-application search bar between the welcome header and Applied Today / Rejected Today card with keyboard navigation (ArrowUp/ArrowDown/Enter/Escape) and in-place ApplicationDetailPage view (Back to Dashboard).
  • Initial Prefetch & Progressive Dashboard Render: Added prefetchService.js to prefetch core Dashboard/Applications queries during session restore and login (eliminating the secondary <PageLoader /> flash), added hover/focus intent prefetching on Sidebar tabs, and removed the full-page loader blocker from DashboardPage.

4. Auto Search Overhaul

  • UI/UX Redesign: Persistent top Command Bar (metrics, schedule selector, Run Search Now CTA) with a 2-tab workspace (Job Matches Queue | Sources & Keywords) and modular stylesheet (search-page.css).
  • Scraped Job Matches Queue: Added search filter, company filter dropdown (with counts), All / Unseen / Bookmarked pills, sorting (Date, Company, Title, Bookmarked), Select All + multi-select bulk actions (Bookmark, Mark Seen, Remove Selected), and a new atomic POST /api/search-settings/scraped-jobs/bulk-delete endpoint.
  • Static Target Sites & RSS Order: Added ORDER BY id ASC to findAllSites and findAllFeeds so toggling items never changes list order.
  • Improved Keyword Filtering + JFrog Tests: Hardened markdown scraping (ignoring image embeds and stripping markdown formatting), upgraded filterByKeywords with boundary-aware + hyphen/dot-variant matching (Full Stack ↔ Full-Stack ↔ Fullstack, Node.js ↔ NodeJS, preventing false positives like Java/JavaScript, AI/Maintenance, Intern/Internal), and added a dedicated JFrog unit test suite.
  • Network Careers Integration: Surfaced available career pages from Network Edge contacts inside Target Sites (+ Add / + Add All) and added referral badges on matching target sites and scraped job cards.

5. Architecture & Code Quality Refactoring

  • Centralized TanStack Query keys and option factories in frontend/src/queries/queryDefinitions.js across 12 hooks.
  • Extracted reusable ApplicationSearchPicker.jsx, ConflictModal.jsx, useAuthSession.js, shared APPLICATION_STATUSES / INTERVIEW_STAGES constants, and modular CSS files (keeping App.css untouched).
  • Guarded window.accessToken behind import.meta.env.DEV in apiClient.js.
  • Deduplicated logLinkedInterviewHistory in backend/services/interviews.service.js.

Verification

  • Backend (cd backend && npm test): 53/53 test suites passed, 424/424 tests passed (including new JFrog scraper/filter suite & interview link/unlink tests).
  • Frontend (cd frontend && npx vitest run): 19/19 test files passed, 89/89 tests passed (including new tests for SearchPage, DashboardPage, InterviewInsightsPage, ApplicationSearchPicker, prefetchService, and helpers).
  • Frontend Lint (cd frontend && npm run lint): 0 errors, 0 warnings.
  • Frontend Build (cd frontend && npm run build): Passed with 0 errors.
  • Database Changes: None required (interviews.application_id and application_history.interview_id already exist in schema).

@vercel

vercel Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
job-pilot Ready Ready Preview Nov 27, 2026 6:13pm UTC

…dashboard-search

# Conflicts:
#	frontend/src/pages/__tests__/ApplicationDetailPage.test.jsx
@SagiEv
SagiEv merged commit 6879723 into main Nov 27, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — 9abe3416 Deployed Nov 27, 2026 by vercel[bot]
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