Skip to content

feat: Featured Packs — curated pack templates with seed data and UI section#1886

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-featured-packs-section
Draft

feat: Featured Packs — curated pack templates with seed data and UI section#1886
Copilot wants to merge 2 commits intomainfrom
copilot/add-featured-packs-section

Conversation

Copy link
Contributor

Copilot AI commented Mar 9, 2026

Introduces "Featured Packs": a set of curated, app-wide pack templates (6 types covering day hike through winter camping) visible to all users, with a dedicated UI section in the Pack Templates list.

Seed Data (packages/api/src/db/seed.ts)

New idempotent seed script producing 6 isAppTemplate: true templates:

Pack Category Items Duration
Day Hike Pack hiking 16 1 day
Overnight Backpacking Pack backpacking 25 1 night
Weekend Camping Pack camping 26 2–3 days
Multi-Day Backpacking Pack backpacking 35 4–7 days
Winter Day Hike Pack winter 25 1 day
Winter Camping Pack winter 35 2–4 nights

Each item carries weight, category, worn/consumable flags, and description. Safe to re-run; skips existing templates by stable ID.

NEON_DATABASE_URL=<url> bun run packages/api/src/db/seed.ts [adminUserId]
# or via script:
bun run db:seed

UI (FeaturedPacksSection component)

  • New horizontally-scrollable card strip showing all isAppTemplate templates with name, category, top-3 tags, base weight, and item count
  • Injected as the header of the "All" tab in PackTemplateListScreen; renders nothing when no featured templates exist
  • "View All" navigates to the full templates list

Translations

  • "App" segmented control tab → "Featured"
  • "App Template" badge → "Featured"
  • New keys: featuredPacks, viewAll, tripDuration, environment, intendedUse, and pack-type labels
Original prompt

This section details on the original issue you should resolve

<issue_title>Feature request: Create Pack Templates Based on the links provided for Gear Lists - "Featured Packs"</issue_title>
<issue_description>This feature request is based on @andrew-bierman 's idea. We want to introduce a new section in the app called "Featured Packs". These will be predefined hiking and camping packs. We aim to create predefined pack templates within the app based on content creators who share detailed "What I pack" videos for hiking and camping trips. The goal is to allow users to quickly select a realistic, field-tested pack setup and customize it for their own trip.

generate packs something like this:
https://www.tiktok.com/@xplor.outdoors/photo/7593292144874458390?_r=1&_t=ZT-947ZTMhgBMj

Other links will be provided below.

Pack Types to Include:

  • Day Pack
  • Overnight Pack
  • Weekend Pack
  • Multi-Day Pack
  • Winter Hiking Pack
  • Winter Camping Pack

Each pack should clearly indicate:

  • Trip duration
  • Environment type
  • Intended use ( hiking, camping, etc)

Objective:
Enable users to:

  • View curated "Featured" packs templates
  • See categorized pack list
  • View estimated total pack weight
  • Add the full pack or selected items directly to their trip checklist.
  • Modify/remove items as needed.

Initial Scope:

  1. Integration
  1. Requirements
  • New section "Featured Packs"
  • Ability to:
  • View full pack breakdown
  • See total weight
  • Add entire pack to trip
  • Add individual items only

Example Use Case:
User planning a 2-day mountain hike, user can choose from "Day Pack" "Overnight/Weekend Pack" "Multi-Day Pack". They import the pack to their trip, remove non-essential items, and adjust based on weather.

</issue_description>

Comments on the Issue (you are @copilot in this section)

@andrew-bierman @copilot Assigned for POC development. Please investigate and create a proof of concept implementation.

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

… data

Co-authored-by: andrew-bierman <94939237+andrew-bierman@users.noreply.github.com>
Copilot AI changed the title [WIP] Add new section for Featured Packs in app feat: Featured Packs — curated pack templates with seed data and UI section Mar 9, 2026
@andrew-bierman
Copy link
Collaborator

@coderabbitai Please review this PR for code quality, best practices, and potential issues.

@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

Rate Limit Exceeded

@andrew-bierman have exceeded the limit for the number of chat messages per hour. Please wait 0 minutes and 45 seconds before sending another message.

@andrew-bierman
Copy link
Collaborator

@coderabbitai review

@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

Warning

Rate limit exceeded

@andrew-bierman has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 9 minutes and 45 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 09692161-9d7e-47cd-be30-e46c9344d665

📥 Commits

Reviewing files that changed from the base of the PR and between 3f94763 and 3722718.

📒 Files selected for processing (5)
  • apps/expo/features/pack-templates/components/FeaturedPacksSection.tsx
  • apps/expo/features/pack-templates/screens/PackTemplateListScreen.tsx
  • apps/expo/lib/i18n/locales/en.json
  • packages/api/package.json
  • packages/api/src/db/seed.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch copilot/add-featured-packs-section

Comment @coderabbitai help to get the list of available commands and usage tips.

@andrew-bierman
Copy link
Collaborator

@coderabbitai review

@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

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.

Feature request: Create Pack Templates Based on the links provided for Gear Lists - "Featured Packs"

2 participants