Skip to content

[Feature]: Upgrade UI to Bootstrap 5 #3376

Open

Description

@andriux1990

Background information

IMPORTANT: If you choose to ignore this issue report template, your issue will be closed as we cannot help without the requested information.

Please make sure you tick (add an x between the square brackets with no spaces) the following check boxes:

  • [] Reporting an issue of an unmodified OSPOS installation
  • [] Checked open and closed issues and no similar issue was already reported (please make sure you searched!)
  • [] Read README, WHATS_NEW, INSTALL.md and UPGRADE
  • [] Read the FAQ for any known install and/or upgrade gotchas (in specific PHP extensions installed)
  • [] Read the wiki
  • [] Executed any database upgrade scripts if an upgrade pre 3.0.0 (e.g. database/2.4_to_3.0.sql)
  • [] Aware the installation code that GitHub master is for developers only and therefore not complete nor stable.

Installation information

  • OSPOS version is:
  • OSPOS git commit hash is:
  • PHP version is:
  • MySQL or MariaDB version is:
  • OS and version is:
  • WebServer is:
  • Selected language is:
  • (If applicable) Docker installation:
  • (If applicable) Installation package for the LAMP/LEMP stack is:

Issue / Bug / Question / New Feature

Please write your issue here. If a bug, please make sure to provide as much information as possible including configuration settings (e.g. Decimals set, Tax mode), language and steps to reproduce the bug.


Hi friends. I've been updating ospos to bootstrap 5, and it looks great, I think it's time to update the master.

I could upload my changes

Activity

  1. added this to the 3.4.0 milestone on Dec 17, 2021
  2. jekkos commented on Dec 22, 2021

    @jekkos
    Member

    @andriux1990 show us the code!

  3. andriux1990 commented on Dec 23, 2021

    @andriux1990
    MemberAuthor

    simplescreenrecorder-2021-12-23_14.28.24.mp4

    I've been working hard, changing my ospos view for a few months.

    and I have seen that in ospos master we are behind with bootstrap, since bootstrap is already in version 5.
    version 5 makes everything look more elegant, beautiful and professional.

    I've had trouble with modal dialogs ... I'm not that good at javascript ... and modals are a bit different in Bootstrap 5.
    I want to start by updating the ospos forms to version 5

  4. eozalp commented on Dec 27, 2021

    @eozalp

    Very promising. I think the interface of ospos needs to be more picture centric and your work aimed at it. Because for this project ergonomy is equal to functionality.

    Needs some retouch.

  5. andriux1990 commented on Jan 7, 2022

    @andriux1990
    MemberAuthor

    @jekkos I'm making these changes ... you correct me if I don't do something right ... I've always done things my way. it's not the best but it has worked for me.

    First it would be to change the nav tabs in the employee form and in the ospos configuration nav tabs, here there has always been a problem that does not respond at the moment when you change the tab .. you have to click on the previous one and then on the desired tab.

  6. jekkos commented on Jan 9, 2022

    @jekkos
    Member

    Look nice @andriux1990 . If you went one step at a time we could of have upstreamed your changes. The version seems to be heavily customized now and you're probably far away from the original code.

  7. objecttothis commented on Dec 10, 2022

    @objecttothis
    Member

    @jekkos I'm making these changes ... you correct me if I don't do something right ... I've always done things my way. it's not the best but it has worked for me.

    First it would be to change the nav tabs in the employee form and in the ospos configuration nav tabs, here there has always been a problem that does not respond at the moment when you change the tab .. you have to click on the previous one and then on the desired tab.

    @andriux1990 I'm excited that you are working on this. I would hate to see your work go to waste. We are right in the middle of getting OSPOS converted to CodeIgniter 4.2.10. It's a pretty big task. The problem we are going to run into is that there are a few changes to the views (mostly syntax). Once we get CI4 regressions worked out, I think Bootstrap 5 would be a great enhancement. Do you have any interest in this? It would mean porting your changes on OSPOS based on CI4 though.

  8. modified the milestones: 3.4.0, 3.5.0 on Dec 10, 2022
  9. changed the title [-]Update OSPOS to Bootstrap 5[/-] [+][Feature]: Upgrade UI to Bootstrap 5[/+] on Apr 1, 2026
  10. objecttothis commented on Nov 6, 2026

    @objecttothis
    Member

    Claude Issue Checker Agent (cc @objecttothis)

    Investigated against current master.

    Status: In progress / not complete — groundwork has been laid but the UI has not been migrated.

    package.json lists both "bootstrap": "^3.4.1" (still the active/primary UI framework) and "bootstrap5": "npm:bootstrap@^5.3.8" as an aliased secondary package, and gulpfile.js's copy-bootstrap task copies both bootstrap/dist/css and bootstrap5/dist/css into separate public/resources/bootswatch and public/resources/bootswatch5 output directories. However, a search of app/Views/ and public/js/ for actual usage of the Bootstrap 5 build (e.g. bootswatch5/bs5 class or script references) turns up nothing — the views, JS, and the rest of the toolchain (bootstrap-select, bootstrap-table, bootstrap3-dialog, jasny-bootstrap, bootstrap-toggle, etc., all Bootstrap-3/4-era plugins) are still wired to Bootstrap 3. So Bootstrap 5 assets are staged/built but not yet actually applied to any page. The original contributor's (andriux1990) customized Bootstrap 5 fork was never upstreamed incrementally as the maintainer requested, and this remains an open, incomplete migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions