📄 Project Description

This is a simple Forge app built for Confluence. It shows the current user’s public name, the color theme (light or dark), and a bit of dynamic text using Forge UI components like Heading, Text, and Lozenge. It uses view.getContext() to get info about the user and space, and makes a request to the Confluence REST API to fetch user details.

The goal was to learn how to connect the frontend with Forge's backend APIs and display personalized content.

💡 What I Learned from Using the Forge Platform

This was my first time using Forge, so I learned a lot about how the platform works. I figured out how to use useEffect and useState for async data, how to fetch user info, and how the app context works inside Confluence. I also got a better understanding of how to handle permissions and API requests in Forge.

There were a few errors I had to debug (especially around async behavior and when accountID was null), but it was a good learning experience.

🚀 What I’m Most Excited About Building Next

Now that I’ve got the basics down, I’d like to try using Forge Storage, maybe build a macro, or create something that integrates with Jira next time. I’m also interested in playing around with more custom UI using UI Kit 2.

Share this project:

Updates