Skip to content

Job detail: Apply CTA block sits above the job content; oversized "Back to Jobs" secondary button #392

Closed

Description

@thinkclay

Environment: local web at 375×812 (mobile viewport). pnpm supa start, pnpm env-local pnpm exec supabase --workdir packages functions serve api (see the supabase-CLI-pin issue), pnpm web. Worker login: [email protected] / password123. Employer login: [email protected] / password123 (org unicorn).

Found during the 2026-07-16 mobile smoke test.

Jobs tab → any job.

Actual: the page opens with "Apply to ", explainer copy, a full-width Apply Now button, and a full-width "Back to Jobs" button — all before the job title, company, salary, and description. Users are asked to apply before they can read what they'd apply to; the back affordance duplicates the breadcrumb/OS back.

Needs a design decision: likely job content first with a sticky bottom Apply bar (common pattern), back handled by header. Once decided, implementation is a small agent task.

Activity

  1. added
    mobile
    needs-design
    on Jul 16, 2026
  2. thinkclay commented on Jul 30, 2026

    @thinkclay
    ContributorAuthor

    Fixed in e8549ec11.

    The cause turned out to be a column assignment, not mobile styling. DashboardLayout puts leftContent in the wide 1.618fr column and stacks it above rightContent below the lg breakpoint — and the apply block was the left content. So the CTA was taking 62% of the desktop width while the job description got 38%, and it opened the page on mobile. One cause, both symptoms; the desktop half isn't mentioned in the report but was the same bug.

    Swapped at the screen level, which fixes both viewports and both consumers (/jobs/[id] protected and /jobs/[slug] public) in one place. Job content now takes the wider column with apply as the sidebar — the conventional job-board arrangement, and the "content first, then apply" the issue proposed.

    I didn't add the sticky bottom bar. With content first, the CTA landing after the description is the standard pattern and reads fine; sticky is an enhancement worth doing deliberately rather than bundling in here.

    Two of the three "Back to Jobs" buttons removed — they duplicated the breadcrumb and the OS back gesture. The third stays: it's in the "Application link not available" state, which has no other way out, so removing it would strand people. Deleting all three would have looked like the same change and quietly created a dead end.

    Not verified visually, and why

    I tried. The public job page is reachable without login, but it's currently blocked behind a splash overlay whose buttons don't respond — the page logs The result of getServerSnapshot should be cached to avoid an infinite loop repeatedly, consistent with a render loop.

    I chased that: found and fixed a real instance of it in useResponsive (Scaffald/ui#14), but it did not resolve the error, which survives a cold rebuild with every cache cleared. Filed as #438 with what I ruled out.

    So this change is verified by type-check and by reading the layout, not by a screenshot. Worth a look once #438 clears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXmobileneeds-designpriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions