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

Consider implementing simple components #56

Closed
12 tasks done
stevoland opened this issue Mar 31, 2014 · 35 comments
Closed
12 tasks done

Consider implementing simple components #56

stevoland opened this issue Mar 31, 2014 · 35 comments

Comments

@stevoland
Copy link
Contributor

There's a lot of components with no interactivity that would just be wrappers around DOM elements with certain class names: badge, label, well, icon etc.

Should we add these? I'm in 2 minds, it adds a level of abstraction that might be useful if the classes change but creates another, albeit simple, API to learn.

Any comments?

EDIT:

In summation of current state:

@pieterv
Copy link
Contributor

pieterv commented Apr 1, 2014

It would be nice to have them as React components as in most cases it will mean you will end up with a little less JSX code, <Label bsStyle="primary">Primary</Label> seems nicer than <span class="label label-primary">Primary</span>. But yes there is certainly a trade off in that we will need to create and maintain this abstraction and even more time consuming will be documenting them :P

I like the idea of creating these (even with extremely minimal docs) but i guess it would be pretty low priority.

@stevoland
Copy link
Contributor Author

Yeah I'd like to add them. I was hoping this ticket would encourage someone else to help! :)

@stevoland
Copy link
Contributor Author

Cool, not many simple components left: Table, Pagination, Pager, Breadcrumb is about it

@mathieumg
Copy link
Member

What about Media?

@stevie-mayhew
Copy link
Contributor

Yes, that one too. Obviously I'm not very good at reading documentation ;)

So: Media, Table, Pagination, Pager, Breadcrumb

Are there any others? I will hopefully have time to implement at these this weekend, clients be willing.

@mathieumg
Copy link
Member

Nice, thanks!

Perhaps there is also Thumbnails. (Other than the ones for which there is a specific issue already opened)

There is Nav that's broken when displaying responsively, but I need to open a separate issue for that. Really looking forward to your additions!

@DinoJay
Copy link

DinoJay commented Oct 9, 2014

And what is about the container element? I'm transforming a layout into react-bootstrap components right now and still need to import the bootstrap css file.

@JordanTheriault
Copy link
Contributor

I'd like to do the Thumbnail if that's okay. I'm new to this repo but would love to get involved @mtscout6

@mtscout6
Copy link
Member

mtscout6 commented Apr 7, 2015

@JordanTheriault That'd be great!

@ivan-kleshnin
Copy link

@mathieumg media is the worst Bootstrap part ever. It's totally broken in responsive aspect.
Not recommend.

@dozoisch
Copy link
Member

@mtscout6
Copy link
Member

Both of those seem reasonable.

@dozoisch
Copy link
Member

should add affix to the list

#200

@dozoisch dozoisch added this to the 1.0.0 Release milestone May 3, 2015
@dozoisch
Copy link
Member

#488 resolves thumbnails

@AlexKVal
Copy link
Member

/cc @react-bootstrap/collaborators
Do we really want this issue as a condition for the Milestone 1.0.0 ?

In my opinion if nobody is interested in those additional components,
so there is no value to make them.

And Steve named topic as 'Consider..', i.e. it doesn't mean that they 'must' be implemented.

I propose to remove it from the Milestone 1.0.0. 🍒

@mathieumg
Copy link
Member

I think they should be in 1.0, otherwise 1.0 wouldn't be 1.0. To me, 1.0 means "some stability" and "feature parity with Bootstrap". There is a need with regards to these components, but the implementation of some of them brings no challenge (or even benefits per se) to the table, probably a reason why they've been overlooked. Once we set to implement them, it shouldn't be too long, for most anyway.

@AlexKVal
Copy link
Member

Then:
We are working on getting through the backlogged tickets like this, but are short on time.
If anyone is interested and would like to help out we are very open to pull requests ❇️

@dozoisch
Copy link
Member

yeah I have the same opinion as @mathieumg on this. 1.0 should mean parity.

@deerawan
Copy link
Contributor

deerawan commented Sep 5, 2015

Hi @dozoisch @mtscout6 I'm interested to help with images component. I'm working on it.

@dozoisch
Copy link
Member

dozoisch commented Sep 5, 2015

@deerawan awesome!

@AlexKVal
Copy link
Member

AlexKVal commented Oct 4, 2015

And.. here we are 😄 Just a Media component left
screen shot 2015-10-04 at 4 23 21 pm

though the comment about it:

@mathieumg media is the worst Bootstrap part ever. It's totally broken in responsive aspect.
Not recommend.

#56 (comment)

@mathieumg
Copy link
Member

It shouldn't be hard to implement, even though we know it's getting taken out of Bootstrap 4.

@dozoisch
Copy link
Member

dozoisch commented Oct 4, 2015

If it's getting taken out of BS4, I would just ignore it. Else we're going to end up adding it, and deprecating it in 2 months.

@taion
Copy link
Member

taion commented Nov 15, 2015

Media is not getting taken out of BS4: http://v4-alpha.getbootstrap.com/layout/media-object/

@dozoisch
Copy link
Member

Guess it makes sense to add it then!

@taion
Copy link
Member

taion commented Nov 16, 2015

sadface

@alphashuro
Copy link
Contributor

Why hasn't media been added yet? I think I'll give it a go

@taion
Copy link
Member

taion commented Mar 17, 2016

I'd appreciate that. Thanks.

@alphashuro
Copy link
Contributor

Why is there a completely misleading "Media content" section in the docs? I think that the elements in there deserve their own sections in the nav, and that "Media content/objects" should have the actual media objects. Can I fix this as well?

@taion
Copy link
Member

taion commented Mar 17, 2016

They're for various sorts of media – carousels, responsive embeds, &c. That is the relevant category.

@alphashuro
Copy link
Contributor

Other than the fact that it makes the documentation inconsistent with bootstrap's documentation, this leaves media objects with no section. unless I either create a new section or add them at the bottom of the Media content section, which would you suggest?

@taion
Copy link
Member

taion commented Mar 17, 2016

They should go into that top-level "media" section.

@alphashuro
Copy link
Contributor

Done #1707

@alphashuro
Copy link
Contributor

I suppose that means this issue is done then?

@jquense jquense closed this as completed Mar 20, 2016
@taion
Copy link
Member

taion commented Mar 20, 2016

Thanks @alphashuro!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests