Skip to content

Feature/with endpoint updates#111

Merged
ANeaves merged 5 commits into
masterfrom
feature/WithEndpointUpdates
May 7, 2026
Merged

Feature/with endpoint updates#111
ANeaves merged 5 commits into
masterfrom
feature/WithEndpointUpdates

Conversation

@ANeaves

@ANeaves ANeaves commented May 6, 2026

Copy link
Copy Markdown
Member

Created Endpoint Range Input, an input with a dropdown for multiplying to a specified range (such as Voltage, with options for millivolts).

Added ability for pre/post methods to receive the param value as one of their arguments. This has required reworking the methods to accept a dict of kwargs, rather than a simple array. This is a breaking change for anyone using the pre/post methods.

Additionally, the pre_method can return a value that will be sent via PUT request. the assumption is that the method may want to alter the value before sending to the adapter, such as capitalising a string or changing a numerical value.

Closes #108
Closes #106

ANeaves added 4 commits April 29, 2026 11:34
…dropdown. for volts vs millivolts, etc

Fixed incorrect links in storybook intro page
…Dict object as their args, to allow key/value pairs

this will allow us to inject the Param value if needed in the future
…kwarg

pre method can return a modified value that gets used as the PUT request value
Added tests to EndpointButton and EndpointInput to test this functionality
… range more intuitive.

Added tests to Range Input
Fixed broken test in EndpointInput
@ANeaves ANeaves added this to the 2.1.1 milestone May 6, 2026
@ANeaves ANeaves self-assigned this May 6, 2026
@ANeaves ANeaves added the enhancement New feature or request label May 6, 2026
@ANeaves
ANeaves merged commit 87a7528 into master May 7, 2026
2 checks passed
@ANeaves
ANeaves deleted the feature/WithEndpointUpdates branch May 18, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

1 participant