Closed Danyal-Faheem closed 3 months ago
@Danyal-Faheem Thanks for your contributions! Do you need any review on this PR? Please attach screenshots of the before and the after effects of this change.
@Danyal-Faheem Thanks for your contributions! Do you need any review on this PR? Please attach screenshots of the before and the after effects of this change.
Hi @awais-ansari, I've added the sample before and after screenshots in the PR description.
As for the review, I definitely require one for the PR, especially for the translations as I've just added them as placeholders. I can remove them if required. I didn't add a reviewer as I didn't know who to add.
Let me know if you require something else from my side.
@Danyal-Faheem Please update this PR for review.
Hi @awais-ansari. I've updated the PR with the requested changes. Can you let me know if anything else is required?
hello @Danyal-Faheem, Lint checks are failing on this PR. Can you please have a look?
Hi @awais-ansari , sorry for that. The lint checks should be passing now. Can you review it for me now?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.84%. Comparing base (
12fbe7e
) to head (0096cc6
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Other than this change all looks good to me.
Hi @awais-ansari , sorry for that. Can you take another look at this now?
Description
Fixes #667.
Changes
react-helmet
package to add a favicon and sitename from configuration.Head
component similar to the other MFEs.discussions.page.title
translation for every language (might be wrong), so that the title can be translated into other languages as well.discussions.app.title
as thediscussions.page.title
in each translation for now, but I realize this could be entirely wrong. I just added this as a reference for how the change would work.How Has This Been Tested?
Using the docs provided by Tutor, I mounted my branch with the changes and tested using the steps:
tutor local do createuser --staff --superuser yourusername user@email.com
tutor local do importdemocourse
Screenshots
Adding sample screenshots of the tab view in Google Chrome for sitename:
My Open edx
(Default on Tutor) and thetutor-indigo
faviconBefore:![image](https://github.com/openedx/frontend-app-discussions/assets/138459282/ab31e017-75e7-4b91-901f-27fe20ac4fa7)
After:![image](https://github.com/openedx/frontend-app-discussions/assets/138459282/97082b89-25d9-4708-acc3-88f19f718492)
Merge Checklist
[ ] If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Sandbox, if applicable. Not applicable
[x] Is there adequate test coverage for your changes? I have added a similar test as there was for the other MFEs.
Post-merge Checklist