-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(app): Add ability to add/remove manual IP addresses #3256
Conversation
Codecov Report
@@ Coverage Diff @@
## edge #3256 +/- ##
=========================================
+ Coverage 53.74% 55% +1.25%
=========================================
Files 700 704 +4
Lines 20563 21985 +1422
=========================================
+ Hits 11052 12093 +1041
- Misses 9511 9892 +381
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌔 Looks great. Tested locally.
After chatting with the FE team, refs in buttons raises more issues than it solves. Going to strip out refs in buttons in favor of a pure CSS solution to the |
- clean up disabled logic for submit button
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment but otherwise good to merge 💵
@import '@opentrons/components'; | ||
|
||
:root { | ||
--ip-group: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused set can be removed
overview
This PR closes #2742 and adds the ability to add or remove manual IP addresses / hostnames via the advanced settings modal in app settings.
This PR does NOT:
changelog
ButtonProps
to receive optionalbuttonRef
review requests
app-shell/Makefile
make -C app dev OT_APP_DEV_INTERNAL__MANUAL_IP=1
make -C api dev
localhost
as text and click [+] to submitlocalhost
renders below inIpList
as anIpListItem
with [-] buttondiscovery.candidates
array in config.json now contains 'localhost'IpList
as anIpListItem
with [-] buttondiscovery.candidates
array in config.json now contains that random stringIpItem
from theIpList
discovery.candidates
array in config.json no longer contains that random stringlocalhost
appears in discovery.json