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

Bootstrap upgrade #186

Merged
merged 2 commits into from
Jun 4, 2019
Merged

Bootstrap upgrade #186

merged 2 commits into from
Jun 4, 2019

Conversation

bagage
Copy link
Collaborator

@bagage bagage commented May 19, 2019

Fixes #107

I'm not sure how this should be tackled. For now I'm just trying to fix broken things.

Still to do:

@nrenner
Copy link
Owner

nrenner commented May 19, 2019

I'm not sure how this should be tackled.

Don't know either, the migration guide is a bit long and we don't really use that much. Maybe by going through index.html and checking everything that looks like Bootstrap?

reput the brand in navbar right corner? What was the purpose of it?

Yes, please. To have the profile dropdown in the leftmost position of the screen, in order not to hide the route while trying out various profiles and see how the route changes. Also, I thought it just looks weird to open this huge dropdown somewhere in the middle of the screen.

@bagage bagage force-pushed the bootstrap-ugprade branch 5 times, most recently from 50cc6ea to dea9466 Compare June 2, 2019 08:37
@bagage bagage changed the title WIP: Bootstrap upgrade Bootstrap upgrade Jun 2, 2019
@bagage
Copy link
Collaborator Author

bagage commented Jun 2, 2019

OK I think this is it - reviews are always welcome :).

Copy link
Owner

@nrenner nrenner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good overall.

Some things I found:

  • the stats labels in the footer are not hidden on small/mobile screens
  • the profile message (warning after upload / on error) is not visible, just blank space
  • the delete route modal title is messed up (bootbox)

@bagage
Copy link
Collaborator Author

bagage commented Jun 3, 2019

Thanks, indeed I missed some. Fortunately there were easy fixes.

Regarding the modal issue, I have to upgrade bootbox dependency but gulp is not finding it, eg gulp log is not listing gulp-debug: node_modules/bootbox/dist/bootbox.all.min.js as expected (even when I manually override main entry). I'm trying to understand why but yet I failed to do so…

@bagage
Copy link
Collaborator Author

bagage commented Jun 3, 2019

Hmm, we are actually filtering out *.min.js files in gulp process. Is that on purpose?

One way is to use the non minified file instead:

        "bootbox": {
            "main": [
                "src/bootbox.all.js"
            ]
        },

But the other way would be to just use .min.js files as well. I know that we minify file later in the process for releases, but do we need non-minified libraries too?

@nrenner nrenner merged commit e000dfb into nrenner:master Jun 4, 2019
@nrenner
Copy link
Owner

nrenner commented Jun 4, 2019

Thanks a lot for taking on this tedious task!

@nrenner
Copy link
Owner

nrenner commented Jun 4, 2019

Hmm, we are actually filtering out *.min.js files in gulp process. Is that on purpose?

I think so, but can't remember why. Probably because some projects had both the src and min files in their main.

I think I haven't seen a case yet where we would have needed the minified file, non-minified or source files were always available and sufficient.

bower.json spec says:

Do not include minified files.

The reason for me is to have non-minified library code available for debugging and proper stack traces, both in debugging mode and also in the release sourcemap.

@nrenner nrenner added this to the 0.10.3 milestone Jun 27, 2019
@bagage bagage deleted the bootstrap-ugprade branch February 8, 2021 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bootstrap 4.0 update and migration
2 participants