Skip to content

Conversation

@NatLeung96
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@abigailalexander abigailalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appearance looks great, just some notes about testing the style.

Copy link
Collaborator

@abigailalexander abigailalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, tests are doing exactly what we'd expect :)

@NatLeung96 NatLeung96 merged commit 31981e5 into 80-update-widgets-to-use-mui-base Apr 4, 2025
2 checks passed
@NatLeung96 NatLeung96 deleted the 86-replace-boolean-button-with-mui-button branch April 4, 2025 14:03
NatLeung96 added a commit that referenced this pull request Apr 10, 2025
* Replaced base html button with MUI Button

* Implemented disabled features and tidied up style parameters

* Moved static styling to styled API

* Commented out Button styling from tests

* Update tests and snapshots
NatLeung96 added a commit that referenced this pull request Apr 23, 2025
* Added styling

* Setup placeholder until option is clicked

* 86 replace boolean button with mui button (#92)

* Replaced base html button with MUI Button

* Implemented disabled features and tidied up style parameters

* Moved static styling to styled API

* Commented out Button styling from tests

* Update tests and snapshots

* 90 replace label with mui typography (#93)

* Replaced div with MUI Typography

* Added styling props to Typography

* Updated the tests for label

* Updated symbols test

* Removed ThemeProvider and tidied styling parameters

* Updated tokens and fixed rotation

* Updated snapshots

* Removed redundant css file

* Moved static styling to styled API

* Updated tests and snapshots

* Set display to flex

* Updated snapshots

* Updated snapshot

* Replaced Checkbox with MUI Checkbox (#89)

* Replaced Checkbox with MUI Checkbox

* Removed ThemeProvider and added additional styling to FormControlLabel

* Moved static styling to styled API. Not-allowed cursor when widget is disabled. Added font styling.

* Removed padding

* Removed padding and fixed alignments

* Tidied nested for-loop

* Tidied up styling and prop definitions

* Added DType proptypes

* Updated snapshots and tests

* Changed menuButton logics and added items as potential list of options

* Added useEffect to prevent re-render errors

* Updated tests and snapshot

* 87 replace choice button with mui button group (#98)

* Replaced base react button group with MUI ToggleButtonGroup

* Commented out expect statements checking the styling

* Removed ThemeProvider

* Moved static styling to styled API

* Updated tests

* Removed redundant height and width for ButtonGroup

* Set opacity to 0.6 for hover and selected-hover

* Added borders to buttons and fixed text wrapping

* Updated snapshots

* Deleted redundant CSS file

* Removed CSS import

* Changed button height/width and hover opacity

* Updated snapshots

* 95 replace progress bar with mui progress bar (#100)

* Replaced divs with LinearProgress

* Added width and height to parser

* Implemented vertical orientation

* Implements default width and height if not provided

* Fixed width and height checking

* Fixed label and removed redundant css file

* Moved default width and height declarations to function head

* Removed redundant height and width from bob parser

* Corrected percentage calculation

* Added transparency option

* Added check for out of range values

* 91 replace input with mui textfield (#99)

* Replaced base input with MUI TextField

* Updated theme tokens and changed border colours

* Move static styling to styled API

* Added alignment props to parser

* Handle alignment props

* Updated test and created snapshot

* Removed redundant input component files

* Removed redundant reference to component file

* Removed redundant horizontalAlignment and verticalAlignment props from parser

* Added textAlignV as ChoicePropOpt and removed unnecessary switch statements

* Added if-else for vertical alignment

* Changed default background to teal (#80FFFF)

* Removed redundant border parsing

* Changed color of hover and focussed borders to blue

* Added custom border

* Added multiLine to parser

* Changed default blue border colour

* TextField displays existing PV value if available

* Reformatted prop type declaration and disabled cursor when disabled

* Updated tests, snapshots, and type definitions

* Updated slidecontrol test

* Updated input snapshot

* Corrected writePV function call

* Removed redundant CSS file

* Added blur on Enter

* Removed comment

* Got border thicknesses to change on hover and focus

* Changed border width values for hover and focussed

* Updated snapshot

* Reorganised widgetprop definitions and updated test

* Added useEffect to set initial text value when PV connection is established

* Updated pvName variable in slideControl

* Updated slideControl test

* Added multiline functionality

* Removed unnecessary DTypeProp types

* Removed unnecessary props from MenuButtonComponentProps

* Removed unnecessary import of DType
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants