Problem/Motivation

In https://github.com/goalgorilla/open_social/pull/2478 we're improving how we use the theme system and Field API for Open Social profiles. This means that we need to update some of our theme files to work with the new render method.

Steps to reproduce

Proposed resolution

A new twig file is needed to add back the card and a new way to render fields is needed to mimic the current layout. This is done with a new hook suggestion so that profile field display in teasers and the hero can be left undisturbed and updated at a later date.

These changes are backwards compatible with Open Social 10.x and 11.0.0 since the current implementation renders a view that does not use the full display mode for which we are adding files and code.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Kingdutch created an issue. See original summary.

kingdutch’s picture

Status: Active » Postponed
StatusFileSize
new4.37 KB

A patch for testing until it's safe to merge this.

Merging this patch before Open Social 12.0.0 would probably cause the existing profile display to break, so this may need a socialbase 3.0.0 release.

kingdutch’s picture

Title: [Don't Merge] Fix profile display after Open Social profile refactor » Fix profile display after Open Social profile refactor
Issue summary: View changes
Status: Postponed » Needs review
StatusFileSize
new4.86 KB

Backwards compatibility was tested in https://github.com/goalgorilla/open_social/pull/2572 and the changes are backwards compatible with earlier versions of Open Social.

This updated patch adds a small bugfix that was discovered in the ThemeSuggestionsAlter class.

navneet0693’s picture

Status: Needs review » Reviewed & tested by the community
navneet0693’s picture

Version: 2.0.x-dev » 2.1.x-dev
Status: Reviewed & tested by the community » Fixed

This will be available in Socialbase 2.1.x onwards.s

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.