Is there anyone to help take a look at this issue? Thanks.
Jira Global Page: Correct
Confluence Global Page: Incorrect
Is there anyone to help take a look at this issue? Thanks.
Jira Global Page: Correct
Hello @YY1
Verify manifest.yml
Configuration
Ensure the title
property is correctly defined in your manifest.yml
file.
modules:
confluence:globalPage:
- key: confluence-global-page
title: “My Confluence Global Page”
icon: “”
resource: your-resource-key
resources:
Option 2: Use Localization for Titles
i18n:
en.json file
{
“confluence-global-page.title”: “My Confluence Global Page”
}
Update manifest.yml as like below:
modules:
confluence:globalPage:
- key: confluence-global-page
title: “i18n:confluence-global-page.title”
Thanks for your reply.
My code is as follows, I think it’s Option 1 as you suggested
confluence:globalPage:
- key: collaboration-champion-global-page
resource: global-resource
render: native
resolver:
function: global-resolver
title: Collaboration Champion
icon: https://cdn-icons-png.flaticon.com/512/7340/7340754.png
route: collaboration-champion-global-page
The same code is good for jira, but not for Confluence. Very strange~
@YY1 Try with resizing the image icon 24*24.
Confirmed not working for confluence:globalPage:title
See and vote: https://ecosystem.atlassian.net/browse/FRGE-788
@UlrichKuhnhardtIzym1 I think FRGE-788 is for the title
attribute of the page, i.e., the page title that is displayed in the browser.
As per Confluence forge docs the confluence:globalpage:title
attribute is for
The title of the global page, which is displayed at the top of the page.
Should I create a separate ticket for the reported problem?
I’m not sure if that’s a bug in the implementation or if it’s documented incorrectly.
The reason I think the linked issue is about the browser title is this part:
we noticed that the title on our
globalPage
is always “Confluence”
However, there are no titles at all on global pages. In any case, I hope the title isn’t just going to be added without an option to disable it, because it wouldn’t work well with the layout we are currently using in our apps.