Skip to content
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!: organize plugin slots as components, add footer slot #1381

Merged
merged 1 commit into from
May 17, 2024

Conversation

brian-smith-tcril
Copy link
Contributor

BREAKING CHANGE: slot ids have been changed for consistency

  • sequence_container_plugin -> sequence_container_slot
  • unit_title_plugin -> unit_title_slot

@arbrandes
Copy link

@leangseu-edx, mind taking a look? We're trying to standardize how slots (and ids) are exposed.

Copy link

codecov bot commented May 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.75%. Comparing base (f124c0d) to head (5509327).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1381      +/-   ##
==========================================
+ Coverage   88.74%   88.75%   +0.01%     
==========================================
  Files         303      305       +2     
  Lines        5224     5231       +7     
  Branches     1297     1297              
==========================================
+ Hits         4636     4643       +7     
  Misses        572      572              
  Partials       16       16              

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

@brian-smith-tcril brian-smith-tcril force-pushed the footer-in-slot branch 2 times, most recently from 61d479b to 4577218 Compare May 7, 2024 16:53

## Description

This slot is used for adding content after the Sequence content section.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@MaxFrank13 I'm not 💯 on the wording I have here, if you have any suggestions that'd be wonderful!

Copy link
Member

Choose a reason for hiding this comment

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

As someone who doesn't develop much in this MFE, this makes sense to me — which I think is an indication that it's written well 👍

Copy link

@arbrandes arbrandes left a comment

Choose a reason for hiding this comment

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

This is great! But as noted below, we've agreed to attempt a refactor of how the footer slot works.

@@ -0,0 +1,48 @@
# Footer Slot

Choose a reason for hiding this comment

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

Just a note for the purpose of transparency: we've decided to attempt to move the Footer Slot to frontend-component-footer itself.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link

@arbrandes arbrandes left a comment

Choose a reason for hiding this comment

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

Looks great!

But since this is a breaking change, I'm going to hold off a bit until @leangseu-edx approves explicitly.

@arbrandes
Copy link

@brian-smith-tcril, FYI, the following new slot is likely to merge pretty soon, and we'll probably want to include it here in the refactor:

#1368

@brian-smith-tcril brian-smith-tcril force-pushed the footer-in-slot branch 2 times, most recently from 0e0e67b to df9e852 Compare May 16, 2024 18:07
BREAKING CHANGE: slot ids have been changed for consistency
* `sequence_container_plugin` -> `sequence_container_slot`
* `unit_title_plugin` -> `unit_title_slot`
Copy link

@arbrandes arbrandes left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@arbrandes arbrandes merged commit e656f54 into openedx:master May 17, 2024
7 checks passed
arbrandes pushed a commit to arbrandes/frontend-app-learning that referenced this pull request Jun 6, 2024
…1381)

BREAKING CHANGE: slot ids have been changed for consistency
* `sequence_container_plugin` -> `sequence_container_slot`
* `unit_title_plugin` -> `unit_title_slot`
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