Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

UI expand and User profile macro

sam October 8, 2019

When putting the user profile macro inside the UI expand if the user has profile information loaded it shows even when the UI expand is collapsed/closed. The user profile picture doesnt show until the section is expanded(as i would expect) but the profile's contact info/phone numbers etc show even when UI expand is collapsed.

 

Is there a way to only show user profile information only once the UI is expanded? (the macro seems to work fine UNLESS the user has profile information loaded. In that case the profile information for whatever displays regardless of the state of expand/collapse

 

-Sam

2 answers

0 votes
sam October 9, 2019

hello! Dominic, thanks for responding :) 

Im on version

here are some screen shots.

in EDIT MODE:

2019-10-09 09_34_54-System Support and Training DRAFTING - Global Solutions Technical Operations - W.png

----------------------------------------------

In Preview mode it works properly. All info is hidden

 

2019-10-09 09_35_07-System Support and Training DRAFTING - Global Solutions Technical Operations - W.png

------------------------------------------------

In regular view outside of edit... if someone has profile information inputted it seems to over write the expand ui function and show even though it is placed inside the expand ui box. Below Kevin has profile information so it displays "through" the expand UI.  Mike does not have any profile information loaded so nothing shows.

 

2019-10-09 09_38_49-Presentation1 - PowerPoint.png

Dominic Lagger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2019

oh okay, I see. 

I tried with the normal "expand macro" from confluence, not with UI macro. 

It seems there is a bug in the UI expand macro. Perhaps, some developer from Refind will see the post and can help. 

Perhaps, the normal expand macro will help.

Regards

Dominic

sam October 9, 2019

I just tried the "text" expand instead of the UI expand and the same symptom presents for me 

 

(unless there is another expand macro that im not aware of)

Dominic Lagger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2019

Yes, there is another expand macro, not from UI expand.

The normal out of the box expand macro from confluence. Try this one.

--> Expand macro

sam October 10, 2019

yes so there is the UI expand.. and the regular expand. They both still exhibit the same thing.

2019-10-10 09_05_26-Copy of JQRs and POCs for testing - Samuel Park - WS Confluence.png

Nesting it twice seems to solve the issue although it will be a pain to double up that macro everywhere. (make a expand macro, place another expand inside, THEN the user profile macro) 

Dominic Lagger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 10, 2019

okay, this is weird... because I tried with the normal expand macro and it worked. 

then I think you have to contact the support 

sam October 10, 2019

I'll try support :) Thank you so much for helping out

0 votes
Dominic Lagger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2019

Hi @sam 

I tried what you described. It worked well.

Expand_UserProfile1.pngExpand_UserProfile2.png

This leads me to a few questions.  

  • Which version of confluence do you use?
  • Can you provide a screenshot of the page in edit and view mode? 

Regards

Dominic

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events