Skip to content
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

Table id drop down, multiple table selection and new Tabs #62

Merged
merged 87 commits into from
Oct 13, 2021

Conversation

Shubhamr837
Copy link
Contributor

whats included in this PR?
Changed the title of the application.
Added drop down for table id.
IoPanel variable in main panel is made accessible by a public method to add pull panel as a property change listener to login task.

@odk-x-bot
Copy link

Can one of the admins verify this patch? Also need an authorization to run tests.

@linl33
Copy link
Member

linl33 commented Jun 7, 2021

runtests

@linl33 linl33 requested review from linl33 and codeknight3 June 7, 2021 15:24
Copy link
Member

@linl33 linl33 left a comment

Choose a reason for hiding this comment

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

Let me know if you have questions about the comments.
I noticed that the download button doesn't use the list of tables selected with the dropdown, not sure if it's not implemented yet or you didn't check it in.

src/main/java/org/opendatakit/suitcase/Suitcase.java Outdated Show resolved Hide resolved
src/main/java/org/opendatakit/suitcase/ui/PullPanel.java Outdated Show resolved Hide resolved
@Shubhamr837
Copy link
Contributor Author

Sir I have Implemented changes to download multiple table at once. Download button would work now to download multiple table ids at once. The Download options section currently selects options which are common for all table ids. I will push changes for it to enable selection of options for every table id.

@Shubhamr837 Shubhamr837 changed the title Table id drop down Table id drop down and multiple table selection Jun 9, 2021
@linl33 linl33 self-requested a review June 10, 2021 06:44
@linl33
Copy link
Member

linl33 commented Jun 10, 2021

runtests

@linl33
Copy link
Member

linl33 commented Jun 10, 2021

@Shubhamr837 Support for different options for each table can go in a separate pull request.

@Shubhamr837
Copy link
Contributor Author

Ok @linl33 I will create another pull request for that.

@linl33 linl33 changed the base branch from development to gsoc-2021 June 12, 2021 02:11
Copy link
Member

@linl33 linl33 left a comment

Choose a reason for hiding this comment

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

Let me know if you have questions. Please also prepare a pull request to update the docs (https://github.com/odk-x/docs).

src/main/java/org/opendatakit/suitcase/Suitcase.java Outdated Show resolved Hide resolved
src/main/java/org/opendatakit/suitcase/ui/PullPanel.java Outdated Show resolved Hide resolved
}

}
selectedTablesListPanel.updateSize(selectedTableIds.size()); // update the height of the JPanel to fit inside JScrollPane
Copy link
Member

Choose a reason for hiding this comment

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

Since the panel is inside a JScrollPane you shouldn't need to manually manage this panel's size.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried it before but I don't know why the panel wasn't increasing its size vertically. I tried FlowLayout.CENTER and FlowLayout.LEADING also but its size was always increasing horizontally. On setting a size in the constructor its was adding elements to the new row but still its height was not changing once elements begun to overflow vertically. Thats why I implemented this method. If I find any alternative layout with a more simple implementation I would change it.

src/main/java/org/opendatakit/suitcase/ui/PullPanel.java Outdated Show resolved Hide resolved
src/main/java/org/opendatakit/suitcase/ui/PullPanel.java Outdated Show resolved Hide resolved
src/main/java/org/opendatakit/suitcase/ui/PullPanel.java Outdated Show resolved Hide resolved
@Shubhamr837 Shubhamr837 changed the title Table id drop down and multiple table selection Table id drop down, multiple table selection and new Tabs Aug 21, 2021
adi9835 and others added 2 commits September 27, 2021 18:40
Result integer is stored in a variable to check the return code.
Handle Error when response code is not 200
@wbrunette
Copy link
Member

@linl33 @codeknight3 We are getting close to doing a release and I would like to include @Shubhamr837 changes. Therefore it would be very helpful if you could review this PR.

@Shubhamr837
Copy link
Contributor Author

@wbrunette I have Identified few bugs. One was corrected yesterday and other bugs I will try to correct today.

@wbrunette
Copy link
Member

@Shubhamr837. End of the week is fine.

@Shubhamr837
Copy link
Contributor Author

@wbrunette I have made the corrections and corrected the bugs in delete and reset task.

@wbrunette wbrunette merged commit d892cf9 into odk-x:gsoc-2021 Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants