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: remove <d2l-navigation-button> #183

Merged
merged 2 commits into from
Aug 16, 2022

Conversation

dlockhart
Copy link
Contributor

All usages of this have been replaced with either <d2l-navigation-button-icon> or <d2l-navigation-dropdown-button-*>! 🎉

There's one remaining usage in nova-persona-manager but that project is still on the Lit 1 version of navigation, which doesn't have any of the new components. They're aware, and I've created a draft PR that they can just apply when they do the migration.

@dlockhart dlockhart requested a review from svanherk August 9, 2022 17:25
@dlockhart dlockhart requested a review from a team as a code owner August 9, 2022 17:25
import '@brightspace-ui/button/d2l-button-behavior.js';
import '@brightspace-ui/polymer-behaviors/d2l-focusable-behavior.js';
import '@brightspace-ui/polymer-behaviors/d2l-id.js';
import { highlightStyles } from './d2l-navigation-highlight-styles.js';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This and polymer-behaviors are still used by <d2l-navigation-link> -- so close!

@@ -56,7 +55,6 @@
"stylelint": "^14"
},
"dependencies": {
"@brightspace-ui/button": "^6",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

🎉

@svanherk
Copy link
Contributor

@dlockhart
Copy link
Contributor Author

Looks like Consistent Eval still uses it?

Ugh, my GitHub search for "<d2l-navigation-button " has failed me! Without the space you get tons of false positives for the other variants... looks like I'll have to comb through them.

@svanherk
Copy link
Contributor

I tried "d2l-navigation-button>" instead hoping that the end tag was existent and correct. But for some reason, the new GitHub search doesn't seem to give me everything. I found https://search.d2l.dev/xref/Brightspace/status-page/Front-end/src/BrightspaceServices.js?r=2cdc370b#545 with OpenGrok, but that status-page repo just won't appear in GitHub search, like I don't have access to it 😕

@dlockhart
Copy link
Contributor Author

Alright, <d2l-navigation-button> has been removed from the status-page, from consistent-eval and from portfolio.

I can't find any other references other than the one mentioned in the PR description.

Copy link
Contributor

@svanherk svanherk left a comment

Choose a reason for hiding this comment

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

🎉 🎊 🥳

@dlockhart dlockhart merged commit 10b4d72 into main Aug 16, 2022
@dlockhart dlockhart deleted the dlockhart/remove-navigation-button branch August 16, 2022 13:15
@ghost
Copy link

ghost commented Aug 16, 2022

🎉 This PR is included in version 5.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants