Skip to content

Front end implementation of latest tasks#14

Open
houserjohn wants to merge 3 commits intomasterfrom
john-frontend-redundant-id-ui
Open

Front end implementation of latest tasks#14
houserjohn wants to merge 3 commits intomasterfrom
john-frontend-redundant-id-ui

Conversation

@houserjohn
Copy link
Copy Markdown

  • Removed redundant input for the google drive id (now there is only a spot for google drive URL). Also confirmed that the google drive id is still properly updated whenever the URL is updated as well.
  • Changed the icons for opening the google drive folder
  • A warning that Google Drive is not configured will be displayed only before save is clicked and the URL has not previously been entered

houserjohn and others added 3 commits April 24, 2022 10:47
* Removed redundant input for the google drive id (now there is only a spot for google drive URL). Also confirmed that the google drive id is still properly updated whenever the URL is updated as well.
* Changed the icons for opening the google drive folder
* A warning that Google Drive is not configured will be displayed only before save is clicked and the URL has not previously been entered
The reason why the bug was showing up was because the
packageset prop was not being updated properly.

Fix this problem, and remove the workaround that uses
"saved"
This makes it harder to have a mismatch between gdrive_url and gdrive_id, which
is not so obvious now that we have removed the gdrive_id field
@changyang-liu changyang-liu self-requested a review May 20, 2022 06:19
Copy link
Copy Markdown
Collaborator

@changyang-liu changyang-liu left a comment

Choose a reason for hiding this comment

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

I've made a few changes, please do check and see if they work

  1. I removed the "saved" workaround that you used in favor of fixing the root issue, which was that this.props.ps was not updating correctly
  2. I made it such that you can't save the url unless gdrive_id has been set to some valid value, which you can think of it as not allowing you to save until you provide a valid url.

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.

2 participants