facultyai / dash-bootstrap-components

Bootstrap components for Plotly Dash
https://dash-bootstrap-components.opensource.faculty.ai/
Apache License 2.0
1.11k stars 220 forks source link

V1 documentation #651

Closed AnnMarieW closed 3 years ago

AnnMarieW commented 3 years ago

It's awesome to see the progress on the Bootstrap 5 support - there are so many cool new features. :confetti_ball:

Here is a list of suggested changes and additions to the documentation. Perhaps we can use this to track all pre-release issues in the docs. This looks like a long list, but most of the items will be easy to fix. I'm happy to get started on a PR for any of the changes you approve.

Home page

Themes Page

Left Nav menu

Quickstart

Overall

Component Landing Page

Icons Page

Accordion

Alerts

Badge

Breadcrumb

Buttons and Button Groups

Card

Carousel

Collapse

Dropdown Menu

Fade

Input

InputGroup

Jumbotron

Layout

ListGroup

Modal

Nav

NavBar

Offcanvas

Pagination

Popover

Progress

Spinners

Tabs

Table

Toast

Tooltips

tcbegley commented 3 years ago

Amazing! Thanks so much for taking the time to go through this list @AnnMarieW! I haven't read them all super carefully yet, but it looks like these are all great suggestions.

Once we get the #646 finished up and merged into v1 branch, I would be very happy for us to start working through this list.

glsdown commented 3 years ago

@AnnMarieW - I've been working through some of the docs snippets and fixing components where I can. I think over in PR #653 I've now got all the layouts working, but having some issues with a couple of pesky javascript and callback ones (if you wanted to take a look, feel free to). Happy to start working through some of these too.

Also noticed a couple of other things in the docs (they may be things that have been broken in #646 / #653, but including here so it's all in one place):

AnnMarieW commented 3 years ago

Hi @glsdown Thanks for your comments -- I'll keep an eye on #653 and #646 and update the progress here too.

Many of the suggestions for examples to add are low priority. I know that any additions come with the overhead of maintaining them in the long term, not only in Python, but in Julia and R as well. They should probably be ranked for the ones that would add the most value. I have marked the items with bugs and 2 examples that I think have a higher priority with a :arrow_up_small:

The Dropdown menu bugs are noted here already, but I the first Tooltip example and Navbar collapse seems to work for me. It's just the Dropdown menu inside the collapsed Navbar that doesn't work. Do you think it's just different versions?

btw, I :heart_eyes: the Accordion, Offcanvas, Pagnation, and Breadcrumb components you added. I can't wait for V1 to be live!



tootiop



navbar

glsdown commented 3 years ago

Thanks! I've had a lot of help with them though.

Unfortunately, none of them appear to work for me on the react-bootstrap branch #646 , so it's probably something @tcbegley or I have broken in the move over to react-bootstrap (unless that's the one you are working on, in which case I have no idea why it's not working for me). With the drop downs, all of them are really temperamental. Some of them work when you click on them, some of them bring up a drop down halfway across the screen, and some of them just don't display anything. The same drop down will exhibit all 3 behaviours too...

I'll take a look at it this evening, and see where it has been introduced.

glsdown commented 3 years ago

@AnnMarieW I've made some of the changes above (now ticked) and they should now all be merged into v1 branch.

@tcbegley has said not to do the following though:

In the sidebar...

He thinks that having the sidebar as the component name works at the moment rather than copying the bootstrap style.

Also he said to leave for now until it's clearer what Dash are doing:

Additionally outstanding from the work I was doing on updating and making sure tests were run are:

AnnMarieW commented 3 years ago

Great - I made updates to the checklist.

Good point regarding not changing the names on the sidebar - it makes more sense to match the component name. I'm still not sure whether it's worthwhile adding more new examples, but they can stay on the list as low priority suggestions.

glsdown commented 3 years ago

One to add on the list above:

glsdown commented 3 years ago

Another item to add to the list above:

tcbegley commented 3 years ago

Closing as checklist has been completed, preview docs here