Skip to content

Add PDF button and single-row public trial listing layout parity #311

Description

@asku1990

The old app had a PDF action and a compact single-row public listing presentation that the current v2 public trials pages do not fully match.

Please inspect the old v1 implementation before changing anything:

  • ../beagleAppV1/kokeetall.php
  • ../beagleAppV1/hallinta/ad_kokeetall.php
  • any linked PDF/detail flow used from that page

What to verify in v1:

  • The listing supports a PDF button/action for the trial row.
  • The public listing can present all key fields in one row, matching the old app’s denser layout rather than the current split/basic presentation.
  • Identify whether the PDF action opens a dedicated page or directly links to a PDF view, and mirror the same user flow in v2.

Implementation goal:

  • Add the PDF button to the public trial listing.
  • Adjust the public listing layout so the full row content is visible in the same compact way the old app used.
  • Keep the change scoped to the public listing and its linked PDF flow unless the old source requires broader shared changes.

Suggested acceptance criteria:

  • Each public trial row has a working PDF action.
  • The list can render the row content in the same compact one-line style as the old app.
  • Desktop and mobile behavior remain usable.
  • Add/update tests for the button and layout behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions