UMB-CS-682-Team-03 / tracker

0 stars 0 forks source link

Customization points for the classhelper #29

Closed rouilj closed 6 months ago

rouilj commented 7 months ago

We have identified some customization/configuration points for the classhelper/CSS:

CSS: allow a stylesheet to be imported (url to be determined probably classhelper.css)

define css variables that can be used to theme the classhelper.

components of the classhelper already have id's that can be used to style the parts.

Attributes: fields that should be made available for searching. (Note these fields have to be accessible on the backend to the user. This is determined by the tracker's schema.py. It prevents the user from searching/extracting data they shouldn't be able to access by changing the attributes before invoking the classhelper).

maybe the name/path to the classhelper.css

Are there other things that should be configurable?

rouilj commented 6 months ago

We have a classhelper.css file that is editable. Search fields are defined on the component. Theming needs to be ore than just light/dark and is not suitable at this time.

None of the ideas above except an attribute for setting the css file name seem to be appropriate and I am ok without the attribute for this first release.