Skip to content

Merge Sample Type UI creation and editing into one page - #894

Merged
Sigmonia merged 182 commits into
developfrom
fb_mergeSTUI_6848
Mar 19, 2020
Merged

Merge Sample Type UI creation and editing into one page#894
Sigmonia merged 182 commits into
developfrom
fb_mergeSTUI_6848

Conversation

@Sigmonia

Copy link
Copy Markdown
Contributor

No description provided.

labkey-bpatel and others added 30 commits January 28, 2020 23:00
- Configure list module for React page.
- Add Experimental feature to toggle on/off the new React page.
…hich also returns domain kind specific properties; and related refactoring.
…stPropertiesAction to be able to get domainId.
…s Binal's GetListPropertiesAction and GetDomainDetails
… CreateDomain:

- Generified DomainKind.
- Added new method getTypeClass() in DomainKind.
- Update ListDomainKind to implement new method with appropriate bean (ListDomainKindProperties).
- Update rest of DomainKind implementations to use JSONObject (instead of Map<String, Object>) so that it works with generified DomainKind (using Map<String, Object> did not work as desired with generics so resorted to using JSONObject).
(In the future when we convert other DomainKinds, use the approach taken for Lists - see ListDomainKind.getTypeClass() & createDomain()).
Sigmonia and others added 6 commits March 6, 2020 18:23
- Added canUpdate check to DomainKind.validateOptions and some additional parameters
- Fixed comments
- Removed TODOs
- Added some additional validations checks to SampleSetDomainKind.validateOptions

this.state = {
schemaName,
queryName,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It doesn't look like schemaName or queryName are expected anymore or used in this component, so I believe they can be removed from the state interface. Looks like fetchSampleTypeDomain is only using the domainId now.

@labkey-tchad

Copy link
Copy Markdown
Member

I opened an issue to track problems arising from this refactor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants