-
Notifications
You must be signed in to change notification settings - Fork 745
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
New personabar Web Servers tab #4408
Conversation
@donker thank you so much for the work on this, seeing this I'm curious if we can make a few small adjustments.
Items 2 & 3 are really nice to haves if at all possible. |
…te and time for last activity
Check, check, and check |
🥇 |
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.
Overall this looks good, worked well with a big list of servers as well. I did have two suggested changes for the help text, but still not 100% sure on the verbiage.
I would like @valadas or one of the others to review the React.Common changes for clarity.
...ience/Dnn.PersonaBar.Extensions/admin/personaBar/Dnn.Servers/App_LocalResources/Servers.resx
Outdated
Show resolved
Hide resolved
...ience/Dnn.PersonaBar.Extensions/admin/personaBar/Dnn.Servers/App_LocalResources/Servers.resx
Outdated
Show resolved
Hide resolved
…/Dnn.Servers/App_LocalResources/Servers.resx Co-authored-by: Mitchel Sellers <msellers@Iowacomputergurus.com>
…/Dnn.Servers/App_LocalResources/Servers.resx Co-authored-by: Mitchel Sellers <msellers@Iowacomputergurus.com>
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.
I see nothing wrong in code and downloaded the CI build and it looks fine to me.
Thanks @donker
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.
This looks good. There is one spot where we reference a custom icon, but the icon exists in the SvgIcons we distribute. A new type
should be added to the getIcon
function of the IconButton Component. This would reserve the CustomIcon prop to components that use SVG icons that are not distributed with the Common library.
@@ -110,7 +109,7 @@ class UserRow extends Component { | |||
showIcon={true} showInput={false} | |||
onIconClick={this.onExpiresTimeClick.bind(this, props.userDetails, props.index) } /> | |||
</span> : null; | |||
let deleteAction = props.userDetails.allowDelete ? <IconButton type="x" width={17} onClick={this.onDeleteClick.bind(this, props.userDetails, props.index) } /> : null; | |||
let deleteAction = props.userDetails.allowDelete ? <IconButton customIcon={require("!raw-loader!../../../../img/common/x.svg").default} width={17} onClick={this.onDeleteClick.bind(this, props.userDetails, props.index) } /> : null; |
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.
At some point we should add a type for all the pre-packaged svg icons we include and leave the custom icon for icons that are specific to individual components.
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.
I totally agree. We can do this in a separate PR for 9.9 as well if one has time.
Although the platform keeps track of web servers, there is no way to manage this data. This PR brings a web servers tab to the "Servers" personabar module as follows:
You're able to edit the url for a web server and to delete them.