You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add yank button to the web UI
Trying to fix#1659
This adds a yank/unyank button to the crate and versions pages.
By the way, I'm learning Ember and the crates.io codebase for this one. Please review accordingly. I'm assuming that there is a lot of things out of place. Just let me know where everything should go.
**Some questions:**
1. I've based this button on the edit email button from the account page, but had to make it smaller because of lack of screen real estate. Is that ok? If so, should this live in the component's `yank-button.module.css` or should I create a `.smaller` entry in `shared/buttons.module.css`?
2. Added `yank-button.js` just to specify an empty tag name that in turn makes Ember avoid generating an enclosing `div` that breaks styling. Is there a cleaner way to do that?
0 commit comments