Closed atmonshi closed 1 year ago
Introduction of a Compact View Option for Sections
Added a new functionality that allows sections to be displayed in a condensed, or 'compact', format. This is facilitated by a new column introduced in the sections
table in the database, which tracks whether this compact view is enabled or not for any given section.
Update to Service Provider File The service provider, which is responsible for initiating various parts of the application, now recognizes the recent changes made in our database structure - specifically the introduction of the compact view setting.
Changes to the Form Schema and Rendering Logic The methodology for presenting section forms has been adjusted. Previously, a specific piece of logic was used to determine how to present the form for a section. This piece of logic has been removed. It is now replaced with a more simple check for whether the compact view is enabled or not, which then determines how the form is displayed.
Changes to Section Data Model
Some alterations were made to how we classify and manage 'Section' data in our system. Firstly, an existing attribute, aside
, that earlier had a non-boolean type has been transitioned to a Boolean type. Secondly, a new Boolean attribute, compact
, has been introduced to track the compact view status at the data model level.
to update please run:
php artisan vendor:publish --tag=zeus-bolt-migrations
then:
php artisan migrate