Add paragraph space to seed Card #8

This commit is contained in:
Samuel Péchèr
2025-12-18 00:24:46 +00:00
parent b2017a75cf
commit d250c256c6
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -69,6 +69,7 @@ class Account::Seeder
<li>Make another called "Working on"</li>
</ol>
<p>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.</p>
<p><br></p>
<p>After that, drag this card to “DONE” or select “DONE” in the sidebar.</p>
<action-text-attachment url="https://videos.37signals.com/fizzy/assets/images/make-columns.gif" alt="Demo of adding columns" caption="Make two more columns" content-type="image/*" filename="make-columns.gif" presentation="gallery"></action-text-attachment>
HTML
@@ -119,6 +119,10 @@ class SeparateSiblingParagraphs
def wrapping_attachment?(node)
node.children.first&.name == "action-text-attachment"
end
def demo_card?(record)
record.is_a?(Card) && record.number <= 8
end
end
SeparateSiblingParagraphs.new(..BACKFILL_TIMESTAMP, account_id: ACCOUNT_ID).run