-
Notifications
You must be signed in to change notification settings - Fork 2
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
URO-208: orcidlink main view #210
Conversation
needed to extend KBaseBaseQueryError directly for TS
tried to keep the changes minimal
incomplete - still needs support for manager, developer, help text but this set of changes minimized
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.
Looking good, most of the comments I left are pretty minor, but I had some questions. Feel free to poke me for re-review or if you want to go over anything on a call.
had followed the documentation which uses mui icons (and the docs have warnings and workarounds for fa icons,which may not be relevant here), but the fa icon does indeed work. Also overrides the default orientation and rotation, which matches the other usage in the codebase which itself matches the kbase-ui usage which matches the Narrative which uses an augmented bootstrap 3 "accordion". Notable, though that BS5 Accordions work the same as MUI (BS 3 and 4 do not use icon at all.) Also added the recommended aria- attributes.
this was really a note-to-self; it is also easily discoverable via VSC go-to-definition which is also more accurate vis-a-vis the version being used
rely upon adjustments to card content itself - e.g. remove margin and padding from top and bottom. But that adjustment depends on what is embedded in the content area, so leave to individual usages.
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.
Resolved the resolved, that all looks good. However, still a few lingering comments from the previous review.
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.
there are still 8 unresolved comments, are they showing up for you?
Okay, now I see them. There were collapsed down together and not displayed. |
it is currently the same as the jsonRpcService function
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 good! Approved and good to merge when you're ready
Populates the initial view for orcidlink based on whether the user is linked or not.
This set of changes adds improved orcidlink service api support, displays orcid link and orcid profile summary information in the initial view, for linked users, and a call to action for unlinked users.
This set of changes is about 600 LOC without tests, 1200 with tests. It could be pared down further, but this minimizes the changes without losing core functionality.
This view is incomplete, as the full set of changes to implement this view would be about 1200 LOC. I trimmed out a lot of content, such as help, some stub handling of button events, support for developer and manager detection and ui support. These changes have been made and are ready to layer on top of these changes once they are merged in.
One dependency was added - material icons. They seem to be required for integration into some MUI components, such as the Accordion.