-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Profile image on user posts #574
base: master
Are you sure you want to change the base?
feat: Profile image on user posts #574
Conversation
Thanks for the pull request, @vladislavkeblysh! What's next?Please work through the following steps to get your changes ready for engineering review: 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. 🔘 Let us know that your PR is ready for review:Who will review my changes?This repository is currently maintained by Where can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:
When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
3c919ed
to
1874a20
Compare
Hey @vladislavkeblysh, thank you for this contribution! @jmakowski1123 This seems to be a user-facing change, so we would need a feature ticket for it. Could you please create one?
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #574 +/- ##
=======================================
Coverage 93.17% 93.18%
=======================================
Files 161 161
Lines 3401 3405 +4
Branches 919 923 +4
=======================================
+ Hits 3169 3173 +4
Misses 215 215
Partials 17 17 ☔ View full report in Codecov by Sentry. |
@jmakowski1123 When you get a minute could you please create a feature ticket for this PR and the backports listed above? |
@jmakowski1123 @awais-ansari It sounds like product review for this PR has already started (?). If so, could you please point me to where that conversation is happening? It doesn't seem like we have a feature ticket for this PR, so it's hard for me to tell what its current status is. |
c01fe70
to
9367409
Compare
@vladislavkeblysh Just to keep you in the loop, we're still working on getting this PR unblocked. The same goes for the other PRs that you opened in this repo (#577 and Palm/Quince backports, #582 and Palm/Quince backports). |
@vladislavkeblysh @itsjeyd I started a thread on the openEdx slack to speed up the process. |
I can let Product handle the question in more detail, but my understanding is that some sites don't want this due to privacy concerns, so it may need to be the operator's choice whether to enable it. |
Apologies for the delay. Lots of open questions regarding this PR, please see here: openedx/platform-roadmap#314 (comment) |
Thanks a lot for the update and product feedback @jmakowski1123! 🙂 @vladislavkeblysh Product review will continue via openedx/platform-roadmap#314, the feature ticket for this PR. Please have a look at that ticket when you can and address the questions raised in this comment. |
e79030b
to
f74a297
Compare
f74a297
to
2fc5c21
Compare
2fc5c21
to
e6e8f0c
Compare
3a82ed5
to
07dc9fb
Compare
07dc9fb
to
f192216
Compare
Ready to review! |
@@ -23,3 +23,4 @@ USER_INFO_COOKIE_NAME='edx-user-info' | |||
SUPPORT_URL='https://support.edx.org' | |||
LEARNER_FEEDBACK_URL='' | |||
STAFF_FEEDBACK_URL='' | |||
ENABLE_PROFILE_IMAGE='true' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disable it by default.
@@ -23,3 +23,4 @@ USER_INFO_COOKIE_NAME='edx-user-info' | |||
SUPPORT_URL='https://support.edx.org' | |||
LEARNER_FEEDBACK_URL='' | |||
STAFF_FEEDBACK_URL='' | |||
ENABLE_PROFILE_IMAGE='true' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change it into empty string
@@ -24,6 +27,8 @@ const CommentHeader = ({ | |||
closed, | |||
}); | |||
|
|||
const profileImage = getConfig().ENABLE_PROFILE_IMAGE === 'true' && postUsers && Object.values(postUsers)[0].profile.image; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we simplify it?
Description