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 from v4 to v5 #3129

Merged
merged 134 commits into from
May 3, 2022
Merged

Bootstrap upgrade from v4 to v5 #3129

merged 134 commits into from
May 3, 2022

Conversation

nestordedios
Copy link
Collaborator

No description provided.

@nestordedios
Copy link
Collaborator Author

When this changes are released this bobdenotter/configuration-notices#19 has to be released too. They are related

@nestordedios
Copy link
Collaborator Author

Hi 👋 !!

This PR is ready to be reviewed and tested.

The main thing this PR does is migrating from Bootstrap v4 to v5. It replaces the Bootbox library and uses Bootstrap modals instead and adds a couple of new translations

Images and Files are no longer selected from a select list but from a modal displaying the different resources. See screencasts below:
File modal: http://g.recordit.co/RExHfrtLKt.gif
Image modal: http://g.recordit.co/Rd7onrcsup.gif

@nestordedios nestordedios marked this pull request as ready for review April 7, 2022 15:25
@nestordedios
Copy link
Collaborator Author

nestordedios commented Apr 13, 2022

As @Joossensei pointed out. The items in the list below need to be fixed before merging in.

  • The navigation tabs on a record dont seem to work
  • As we discussed we need a Delete confirmation modal
  • The compact view button on listing pages doesnt work
  • The bulk select also doesnt work
  • Theres also an issue with the Image and File lists but that seems to be an issue with Cypress. It wont click the ‘Save changes’ button at the bottom of the modal

Copy link
Member

@bobdenotter bobdenotter left a comment

Choose a reason for hiding this comment

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

Great work, @nestordedios and @Joossensei 👍

@Joossensei Joossensei force-pushed the upgrade/bootstrap-v5 branch from 62a2647 to 8bd3be6 Compare April 29, 2022 07:43
Some Bootstrap mixins do not accept $color variables as custom CSS
variables. The hex value of the color needs to be passed instead
Bootstrap 5 adds text-decoration: underline to links by default.
This commit removes the underline where we don't need it.
Bootstrap 5 dropdown buttons are now triggered using data-bs-toggle="dropdown" attribute
@bobdenotter bobdenotter force-pushed the upgrade/bootstrap-v5 branch from e49b23c to 9dda14c Compare May 3, 2022 09:02
@nestordedios nestordedios merged commit 65e4085 into master May 3, 2022
@nestordedios nestordedios deleted the upgrade/bootstrap-v5 branch May 3, 2022 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants