From 75e27c3e24344b5f8dda1ccbf09a2cf217b6959e Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Mon, 3 Nov 2025 14:18:12 -0600 Subject: [PATCH] First pass a seeds based on JF's playground project Videos TBD --- app/models/account/seeder.rb | 104 ++++++++++++++--------------------- 1 file changed, 42 insertions(+), 62 deletions(-) diff --git a/app/models/account/seeder.rb b/app/models/account/seeder.rb index 28e977c29..7480ca88f 100644 --- a/app/models/account/seeder.rb +++ b/app/models/account/seeder.rb @@ -26,77 +26,57 @@ class Account::Seeder def populate # --------------- - # Bugs Collection + # Playground Collection # --------------- - bug_tracker = Collection.create! name: "Bugs", creator: creator, all_access: true - - # Columns - triage_column = bug_tracker.columns.create! name: "Triage", color: "#ef4444" - in_progress_column = bug_tracker.columns.create! name: "In Progress", color: "#f97316" - resolved_column = bug_tracker.columns.create! name: "Resolved", color: "#22c55e" + playground = Collection.create! name: "Playground", creator: creator, all_access: true # Cards - bug_tracker.cards.create! creator: creator, column: triage_column, title: "Login button not responding on mobile", status: "published", description: <<~HTML -

Users are reporting that the login button is not responding on mobile devices.

- -

Steps to reproduce:

- - -

This appears to be affecting iOS devices primarily.

- - + have_fun_card = playground.cards.create! creator: creator, title: "Have fun!", status: "published", description: <<~HTML +

Mess around, make more boards, add more cards, and get your work, issues, or ideas organized! Include a video of the full product walkthrough.

HTML - bug_tracker.cards.create! creator: creator, column: triage_column, title: "Search results showing duplicates", status: "published" - profile_crash_card = bug_tracker.cards.create! creator: creator, column: in_progress_column, title: "Profile page crashes when uploading large images", status: "published" - bug_tracker.cards.create! creator: creator, column: in_progress_column, title: "Email notifications not being sent", status: "published" - bug_tracker.cards.create! creator: creator, column: resolved_column, title: "Fix broken links in footer", status: "published" - # Comments - profile_crash_card.comments.create! creator: creator, body: <<~HTML - I can reproduce this with images over 5MB - - + playground.cards.create! creator: creator, title: "Head back home to check out activity", status: "published", description: <<~HTML +

Hit “1” or pull down the BOXCAR menu and select “Home”.

HTML - profile_crash_card.comments.create! creator: creator, body: "Looking into adding client-side image compression before upload" - # ---------------------------- - # Feature Requests Collection - # ---------------------------- - feature_requests = Collection.create! name: "Feature Requests", creator: creator, all_access: true - - # Columns - backlog_column = feature_requests.columns.create! name: "Backlog", color: "#6366f1" - planning_column = feature_requests.columns.create! name: "Planning", color: "#8b5cf6" - - # Cards - feature_requests.cards.create! creator: creator, column: backlog_column, title: "Add dark mode support", status: "published", description: <<~HTML -

Many users have requested a dark mode option for better usability in low-light environments.

- -

Proposed features:

- - -

This would improve accessibility and reduce eye strain for our users.

- - + playground.cards.create! creator: creator, title: "Check out all cards assigned to you", status: "published", description: <<~HTML +

Pull down the Fizzy menu at the top of the screen, and select “Assigned to me” or just type “3” any time.

HTML - feature_requests.cards.create! creator: creator, column: backlog_column, title: "Export data to CSV", status: "published" - feature_requests.cards.create! creator: creator, column: backlog_column, title: "Add keyboard shortcuts for navigation", status: "published" - two_factor_card = feature_requests.cards.create! creator: creator, column: planning_column, title: "Implement two-factor authentication", status: "published" - feature_requests.cards.create! creator: creator, column: planning_column, title: "Add bulk actions for managing items", status: "published" - # Comments - two_factor_card.comments.create! creator: creator, body: "Should we support SMS and authenticator apps?" - two_factor_card.comments.create! creator: creator, body: "Let's start with authenticator apps only to keep it simple" + playground.cards.create! creator: creator, title: "Grab the invite link to invite someone else", status: "published", description: <<~HTML +

Pull down the Fizzy menu at the top of the screen, select “Account” or just hit 6, then grab the invite link over on the left side. You can give this link to someone else so they can make an login for themselves in your account.

+ HTML + + playground.cards.create! creator: creator, title: "Grab the invite link to invite someone else", status: "published", description: <<~HTML +

Pull down the Fizzy menu at the top of the screen, select “Account” or just hit 6, then grab the invite link over on the left side. You can give this link to someone else so they can make an login for themselves in your account.

+ HTML + + playground.cards.create! creator: creator, title: "Assign this card to yourself", status: "published", description: <<~HTML +

Click the little head with the + next to it, pick yourself.

+ HTML + + playground.cards.create! creator: creator, title: "Tag this card “Design” the move it to YES", status: "published", description: <<~HTML +

Click the little Tag icon, type Design, then save. Then, move the card to the new “YES” column you created in the previous step.

+ HTML + + playground.cards.create! creator: creator, title: "Make two more columns", status: "published", description: <<~HTML +
    +
  1. Make one called "Yes"
  2. +
  3. Make another called "Working on"
  4. +
+


+

Go back to the Board view, click the little “+” to the right of the DONE column, name the column, pick a color, then do it again.

+


+

After that, drag this card to “DONE” or select “DONE” in the sidebar.

+ HTML + + playground.cards.create! creator: creator, title: "Move this card to NOT NOW", status: "published", description: <<~HTML +

You can either select “NOT NOW” over in the sidebar, or you can go back out to the Board view and drag this card into the NOT NOW column on the left side.

+ HTML + + playground.cards.create! creator: creator, title: "Rename this card", status: "published", description: <<~HTML +

Click the title and you can rename the card, change the description, or add more information to the card.

+ HTML end def delete_everything