liberapay.com icon indicating copy to clipboard operation
liberapay.com copied to clipboard

Bootstrap 5

Open Changaco opened this issue 6 years ago • 6 comments

~~Bootstrap 4 has finally been released (official announcement)!~~ Bootstrap 5 has been released: https://blog.getbootstrap.com/2021/05/05/bootstrap-5/! Anyone wants to try migrating Liberapay to the new version?

Changaco avatar Jan 19 '18 08:01 Changaco

I tried to do it, but I don't know the code good enough to understand how to make it work correctly. I'll let someone else do it.

elegaanz avatar Jan 20 '18 18:01 elegaanz

I did the initial work, but a lot more is needed, so feel free to add commits to #944.

Changaco avatar Jan 22 '18 10:01 Changaco

Relevant resource: Migrating to v4 · Bootstrap.

Changaco avatar Jan 22 '18 10:01 Changaco

Bootstrap 5 has been released: https://blog.getbootstrap.com/2021/05/05/bootstrap-5/

Changaco avatar May 07 '21 14:05 Changaco

I looked at # 944. I thought there wasa no breaking changes to v4.0.

Bootstrap 5 introduced a lot of breaking changes. Please take a look.

https://getbootstrap.com/docs/5.0/migration/

I don't know Liberapay or Bootstrap 5, and I wonder is there any benefit moving to v5.

iacore avatar Mar 22 '24 16:03 iacore

Both Bootstrap v4 and v5 made breaking changes. If I remember correctly, Bootstrap 5 reversed some of the changes of Bootstrap 4, so jumping from v3 to v5 should actually require fewer changes than if we had done v3 to v4 and then v4 to v5.

Bootstrap v3 is obsolete and requires jQuery (#1940). The alternative to upgrading Bootstrap would be switching to another framework, but the benefits of doing so would have to outweigh the costs.

Changaco avatar Mar 22 '24 17:03 Changaco