Skip to content

Social media block#307

Merged
hakalb merged 4 commits intomainfrom
cod-320_cod-322
Apr 20, 2025
Merged

Social media block#307
hakalb merged 4 commits intomainfrom
cod-320_cod-322

Conversation

@hakalb
Copy link
Copy Markdown
Member

@hakalb hakalb commented Apr 19, 2025

closed cod-320, cod-322

@hakalb hakalb self-assigned this Apr 19, 2025
Copilot AI review requested due to automatic review settings April 19, 2025 15:42
@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a new Social Media Block while deprecating the legacy card group field and associated components. Key changes include the removal of the card group field/code, the addition of social media block components and row labels, and updates to payload configurations, migrations, and collection settings to incorporate the new block.

Reviewed Changes

Copilot reviewed 57 out of 57 changed files in this pull request and generated no comments.

File Description
libs/app-cms/ui/fields/* Removal of the legacy card group field and its row label component
libs/app-cms/ui/blocks/social-media/* Addition of the Social Media Block and its custom row label component
libs/app-cms/ui/blocks/card/* Updates to the Card Block to use inline field definitions and updated RowLabel component
apps/* Updates in payload config, migrations, collections, and import maps to include the new social media block and adjust for removed card-group code
Comments suppressed due to low confidence (3)

libs/app-cms/ui/blocks/card/card.block.ts:31

  • [nitpick] The field name was renamed from 'customCards' to 'cards' to improve clarity; please confirm that this naming aligns with the overall conventions used across blocks.
name: 'cards',

apps/cms/src/collections/reusable-content/reusable-content.collection.ts:62

  • [nitpick] Consider adding tests to verify that getActiveKeys returns the correct block references for the layout builder to ensure new block integrations work as expected.
blockReferences: getActiveKeys<BlockSlug>(blocks),

apps/cms/src/migrations/20250416_221010_cod_322.ts:11

  • [nitpick] The migration aggressively drops and renames legacy card tables; please double-check that these schema changes match the intended deprecation strategy and avoid conflicts with remaining references.
DROP TABLE "cards" CASCADE;

@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented Apr 19, 2025

View your CI Pipeline Execution ↗ for commit bfe1b39.

Command Status Duration Result
nx-cloud record -- nx format:check ✅ Succeeded 15s View ↗

☁️ Nx Cloud last updated this comment at 2025-04-20 08:54:18 UTC

@codeware-actions
Copy link
Copy Markdown

✨ Your pull request project is ready for preview

Project App name Preview
web cdwr-web-pr-307 https://cdwr-web-pr-307.fly.dev

@codeware-actions
Copy link
Copy Markdown

✨ Your pull request project is ready for preview

Project App name Preview
web cdwr-web-pr-307 https://cdwr-web-pr-307.fly.dev

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.08%. Comparing base (05cb8a5) to head (bfe1b39).
Report is 4 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (05cb8a5) and HEAD (bfe1b39). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (05cb8a5) HEAD (bfe1b39)
2 1
Additional details and impacted files
@@             Coverage Diff              @@
##              main     #307       +/-   ##
============================================
- Coverage   100.00%   81.08%   -18.92%     
============================================
  Files            5       63       +58     
  Lines           26     1073     +1047     
  Branches         5      216      +211     
============================================
+ Hits            26      870      +844     
- Misses           0      203      +203     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codeware-actions
Copy link
Copy Markdown

✨ Your pull request projects are ready for preview

Project App name Preview
cms cdwr-cms-pr-307 https://cdwr-cms-pr-307.fly.dev
web cdwr-web-pr-307 https://cdwr-web-pr-307.fly.dev

@codeware-actions
Copy link
Copy Markdown

✨ Your pull request projects are ready for preview

Project App name Preview
cms cdwr-cms-pr-307 https://cdwr-cms-pr-307.fly.dev
web cdwr-web-pr-307 https://cdwr-web-pr-307.fly.dev

@codeware-actions
Copy link
Copy Markdown

✨ Your pull request projects are ready for preview

Project App name Preview
cms cdwr-cms-pr-307 https://cdwr-cms-pr-307.fly.dev
web cdwr-web-pr-307 https://cdwr-web-pr-307.fly.dev

@hakalb hakalb added this pull request to the merge queue Apr 20, 2025
Merged via the queue into main with commit d357128 Apr 20, 2025
17 checks passed
@hakalb hakalb deleted the cod-320_cod-322 branch April 20, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants