kblincoe / QualOpt_SE701

2 stars 15 forks source link

Feature Request: Automatically load the participants table in the participants tab when creating a new study #138

Closed jsoulsby closed 6 years ago

jsoulsby commented 6 years ago

Feature Request Information

As mentioned in #137 - I was unable to figure out how to dynamically populate the participants table when the ngb-tabset was changed to the participants tab. Currently the table is loaded when the user clicks on the 'Load Participants' button above the filter textboxes. It is desirable to have the table populate automatically either when the tab is changed to "Participants" or when the modal is opened to create a new study. Once that has been implemented, the "Load Participants" button can be removed.

Work Estimation Overall I estimate this to be a small issue as ultimately it is simply streamlining the functionality of a button press into a tab change, however this seemed fairly difficult to do with the current ngb-tabset (especially as the table needs to be loaded after the tab has been changed which means the ngb-tabchange event can't be used. I suspect someone familiar with Angular 4 would be able to implement this feature fairly easily.

softeng-701 commented 6 years ago

@jsoulsby APPROVED!

nateeo commented 6 years ago

@softeng-701 We've worked together on the issue and decided to implement this within the parent issue #34

jsoulsby commented 6 years ago

This feature has now been implemented in #137