Purpose:
A live, online section inside the app where I (admin) can post new studies/trials and users can read and discuss them. This section is updated frequently by me and must be fully online (no offline caching of new posts).
1) Front-end layout (exact visual/content rules)
- Page title: Research & Trials
- Each study entry shows only:
- Clickable Study title (link to external URL)
- Journal name
- Published date (YYYY-MM-DD)
- A PICOT block (5 one-line items: P, I, C, O, T)
- A short link icon/button that opens the full study in an external browser
- Exact entry example (copy this layout for every study):
[Study title goes here](<https://example.com/study-url>) — Journal Name • 2025-01-15
- PICOT
- P: Population one-line summary
- I: Intervention one-line summary
- C: Comparison one-line summary
- O: Primary outcome one-line summary
- T: Timeframe one-line summary
- Entries are compact (only the items above). No extra content is shown in the list view.
2) Study detail & discussion
- When a user taps a study title, open a detail page that shows:
- Full study header (Title, Journal, Date, clickable link)
- The PICOT section (as entered)
- A Discussion / Comments area below the PICOT where users can:
- Post a short comment or review (text only)
- Reply to others (threaded replies)
- Upvote helpful comments (optional but useful)
- Show comment author and timestamp.
- Include a “Report” button next to each comment (for admin moderation).
3) Admin controls (for me)
- I (admin) must be able to:
- Add / Edit / Delete studies easily (use a simple form that accepts Title, URL, Journal, Date, and PICOT fields).
- Pin a study to the top (optional).
- Moderate comments: delete / hide a comment, or mark as featured.
- Turn comments ON/OFF for any study.
- See all activity (posts, comments) in an admin panel.
- Admin access must be restricted behind a secure login. I will use the admin account to upload and manage content daily.
4) Content rules & editing
- The front-end must display studies exactly as I enter them — no automatic reformatting beyond line breaks.
- PICOT lines must remain one-line each (the input form should enforce a single line per PICOT item).