-
Notifications
You must be signed in to change notification settings - Fork 406
Rework PaneItem management #1414
Conversation
@kuychaco @annthurium: I'm curious if you two like the API I've come up with here, and if you think it's a net benefit from the way that we used to manage pane items. For reference, here's the new style:
The old style had a few different variants:
|
😆 Sorry about that, @BinaryMuse. I'm guessing I was overzealously clicking on suggested reviewers? |
import url from 'url'; | ||
|
||
/** | ||
* Match and capture parts of a URI, like a specialized dialect of regular expression. This is used by PaneItem to |
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.
yay documentation!!
looks good to me! |
* </PaneItem> | ||
* ); | ||
* } | ||
*/ |
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.
👍👍
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.
Looks good! Thanks for doing this @smashwilson ✨
Cool, thanks for the sanity check 😄 |
Another bit of ambient cleanup work. This is me trying to get our
PaneItem
and opener management consistent and React-y. If we like it, I should be able to port over all of our existingPaneItems
pretty quickly, as we don't have that many.Here's a spoiler of what I'm building toward:
Fixes #1405.
Pane items to convert