Skip to content

feat: Convert about page from Jinja2 template to React component#881

Merged
gridhead merged 2 commits intofedora-infra:swatantryafrom
Marvinrose:feat/about-page-react-component
Mar 31, 2026
Merged

feat: Convert about page from Jinja2 template to React component#881
gridhead merged 2 commits intofedora-infra:swatantryafrom
Marvinrose:feat/about-page-react-component

Conversation

@Marvinrose
Copy link
Copy Markdown

@Marvinrose Marvinrose commented Mar 29, 2026

Closes #880

Changes

  • Added /json/about API endpoint in tahrir/views/explore.py to expose the about page content as JSON
  • Added retrieveAbout query and useRetrieveAboutQuery hook in frontend/src/features/call.js
  • Created frontend/src/routes/about.jsx React component matching the existing frontend architecture and theming
  • Registered /about route in frontend/src/main.jsx

@gridhead gridhead linked an issue Mar 31, 2026 that may be closed by this pull request
@gridhead gridhead self-requested a review March 31, 2026 11:52
@gridhead gridhead self-assigned this Mar 31, 2026
@gridhead gridhead added स्वातंत्र्य Fedora Badges Revamp Project cle Community Linux Engineering labels Mar 31, 2026
@gridhead gridhead force-pushed the feat/about-page-react-component branch 3 times, most recently from b25c0b4 to 03c237d Compare March 31, 2026 13:45
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
@gridhead gridhead force-pushed the feat/about-page-react-component branch from 03c237d to 232f827 Compare March 31, 2026 13:48
Copy link
Copy Markdown
Member

@gridhead gridhead left a comment

Choose a reason for hiding this comment

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

One of the reasons why I retained this pull request and elected to add improvements atop it is because I see some genuine efforts being put in here. Your approach was quite off the mark, of course, because you were attempting to introduce server-side rendered Jinja templates into the ReactJS-based PWA client-side pages.

I want you to take a look at how I have done things and absorb as much learning as you can from it. Please note that this kind of spoonfeeding is an exception here and not the norm, and going forward, I will simply restrict myself to suggesting changes (if a pull request shows promise) or rejecting straightaway (if it is otherwise).

@gridhead gridhead merged commit 790a37f into fedora-infra:swatantrya Mar 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cle Community Linux Engineering स्वातंत्र्य Fedora Badges Revamp Project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Convert about page from Jinja2 template to React component

2 participants