Skip to content

Conversation

ahtesham-quraish
Copy link
Contributor

Description

Rename field should use full available width #2337

After Changes

Screenshot 2025-09-09 at 3 49 13 PM Screenshot 2025-09-09 at 3 49 20 PM Screenshot 2025-09-09 at 3 49 43 PM Screenshot 2025-09-09 at 3 49 52 PM

Copy link

codecov bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.71%. Comparing base (b774084) to head (15a4518).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #2436    +/-   ##
========================================
  Coverage   94.71%   94.71%            
========================================
  Files        1202     1202            
  Lines       26845    26845            
  Branches     6025     5874   -151     
========================================
  Hits        25425    25425            
- Misses       1350     1361    +11     
+ Partials       70       59    -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

}

.inplace-text-editor-with-edit-input:focus-within {
&.inplace-text-editor-with-edit-input {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is anything missing on the body of this selector or should it be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The empty &.inplace-text-editor-with-edit-input is a self-referential placeholder. It doesn’t change the compiled CSS but clarifies that styles inside apply only to the element itself when it’s focused, not its children. It’s often used for readability, maintainability, or to satisfy strict linters, even though it looks redundant.

Copy link
Contributor

Choose a reason for hiding this comment

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

If it's not changing the compiled CSS, please just use a comment. The empty rule is confusing.

@ahtesham-quraish
Copy link
Contributor Author

@bradenmacdonald can you please review this PR?

@bradenmacdonald
Copy link
Contributor

@ahtesham-quraish Please address @jacobo-dominguez-wgu's review and then I can give it a quick second look and merge it.

@ahtesham-quraish
Copy link
Contributor Author

&.inplace-text-editor-with-edit-input

I have removed it you can check now.

Copy link
Contributor

@bradenmacdonald bradenmacdonald left a comment

Choose a reason for hiding this comment

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

Looks good! @ahtesham-quraish can you please rebase this PR so the tests are passing, and then I'll merge it? Sorry for the delay here.

@bradenmacdonald bradenmacdonald merged commit 8470d7c into openedx:master Oct 10, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants