basxsoftwareassociation / bread

Engine to create database applications based on Django and the IBM Carbon Design System
BSD 3-Clause "New" or "Revised" License
19 stars 2 forks source link

Refactor/forms api #109

Closed saemideluxe closed 2 years ago

saemideluxe commented 2 years ago

Work in progress

saemideluxe commented 2 years ago

Okay, this is quite a big one. However, in a lot of places there happend just small changes due to how the API changed. The relevant changes are mainly in bread.layout.components.forms. That package is not perfect yet, I see quite a few improvments on how we could restructure it. But we have to get this refactoring through at some point.

The main points of this refactoring were:

saemideluxe commented 2 years ago

Also: I added a preview page for widgets. I think we will write some additions there to show the widgets in different states, like with label, error message, disabled, etc.

saemideluxe commented 2 years ago

Also also I think we should test this on connect.basx.ch before merging. We can install directly from this branch. And then let a few people test different areas.

saemideluxe commented 2 years ago

Also also also, I did not yet test this with UM and Ponds, they will likely need a few small adjustments.