Repository navigation
Conversation
Signed-off-by: SHIMA Tatsuya <[email protected]>
|
@eitsupi This is a bit beyond the scope of what constitutes a minor change - please can you include the issue number in the PR title? |
|
@thisisnic This PR does not solve ARROW-15734. Do I need to create a new issue? |
Yes please |
|
|
|
|
|
I'm afraid I'm not sure I'm in favour of merging this as it doesn't solve the original problem (activating Bootstrap 5 in order to use the search functionality) and whilst it may provide a partial solution to that, the substantial bit of the work (updating the custom JS) still remains, and there change to the look of the menu is for the worse, in my opinion, sorry. I will nudge other committers to comment on this though, as they may feel differently. |
|
Note that if you remove extra.js and activate Bootstrap 5, you will be able to use the search function immediately. As a user of the arrow package, I have to say that for me, the search function is more necessary than the version switcher. I think it's really great that you implemented the version switcher, and of course I will follow the decision of the members of this project. |
|
Thanks for looking into it and I'd agree it'd be great to have both. @jonkeane - hmm, any suggestions? |
|
Hello, first I want to say thanks so much for all the work here + other PRs I've seen. As you both have mentioned: we're a bit stuck and have to choose between supporting search + the version picker we have without putting some time into the JS that does the version picking to be compatible with bootstrap 5. I agree that search is super important, but also that we don't want to lose our version picker since we do that for other languages that Arrow supports. Would it be possible to push to this branch | PR the changes that get us to using bootstrap 5 (even though it results in a broken site)? Mention the javascript issue, and then we can either leave this open or close it until we have the time to do the necessary javascript work. We'll have a record of what we need to do when we have that javascript skills + headspace to do it, but we don't break anything now. I'm also happy to make sure that you @eitsupi are listed as a co-author of that PR|commit if + when it merges |
|
Thank you for checking.And, thank you again for your continued development of this project. As I mentioned in ARROW-15734, I created this PullRequest in preparation for the upgrade to Bootstrap 5 and intended it to be mergeable at this time. I would like to change this PR to only restore the GitHub icon and the title of the articles to the correct format, without changing the multi-level list of articles as pointed out. Then, in addition to this PR, I will submit a separate PR that includes all of the current content of this PR and also activates Bootstrap5. |
Signed-off-by: SHIMA Tatsuya <[email protected]>
Signed-off-by: SHIMA Tatsuya <[email protected]>
Signed-off-by: SHIMA Tatsuya <[email protected]>
Sorry, I completely misunderstood this to only occur in bs5 but it is the same situation now. (i.e., I recognized it as intentional). |
|
|
|
@thisisnic @jonkeane Is there any reason why this PR cannot be merged? This PR does not break anything. |
|
Sorry @eitsupi, had not got round to reviewing it again, and had taken your comment
to mean that something was broken. Just to confirm, is that broken on both the live site and in this PR, or something else? |
Sorry, this was a misunderstanding. If I touched it well, I could select it without any problem. |
I'll most likely review this some time after the upcoming release, whenever my focus is on the pkgdown site again. I am about to submit a PR to pkgdown that will incorporate the version selector into pkgdown, and work with Bootstrap 5, so once that's finalised/merged and I make the necessary updates to the Arrow pkgdown site to work with those changes, then I'll take the time to look at it all together. |
|
Thank you for the explanation and I look forward to your updates on pkgdown. If that is the case, I have closed this PR as it seems unnecessary. |
|
For clarity, I'm not saying your PR isn't helpful - it highlights the changes we'll need to make during the BS5 update. Happy to have it reopened and just pending review/merge at a later point. |
|
This PR now have nothing to do with BS5, as several modifications have made it different from its original purpose. This PR now only restores the currently missing GitHub icon and fixes the article title not being recognized on the article index page. There is another issue with navbar being incompatible with BS5, but that will be resolved when pkgdown is updated, so it is not a problem in the future. |





Related to ARROW-15734.It turns out that we can't upgrade to Bootstrap 5 right away because the arrow's pkgdown site currently uses its own extra.js file.So first, staying with the traditional Bootstrap3 now, but make some changes to prepare for upgrading to Bootstrap5 in the future.Fix articles' title and add setting for article index.Restore the GitHub icon on the right side of the nav bar.