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

IDE-89 Redesign project upload #4752

Merged
merged 204 commits into from
Jul 13, 2023
Merged

Conversation

ma-zea
Copy link
Contributor

@ma-zea ma-zea commented Mar 30, 2023

https://jira.catrob.at/browse/IDE-89
Overwrite dialog will be displayed if the user wants to upload a project with an already existing name. User can choose if he wants to overwrite the project or rename current one and upload it with the new name.

  • Implement new API call getUserProjects
  • Add logic in ProjectUploadActivity to check if a project with this name already exists
  • Show overwrite dialog if name already exists and let user decide how to continue

Your checklist for this pull request

Please review the contributing guidelines and wiki pages of this repository.

  • Include the name of the Jira ticket in the PR’s title
  • Include a summary of the changes plus the relevant context
  • Choose the proper base branch (develop)
  • Confirm that the changes follow the project’s coding guidelines
  • Verify that the changes generate no compiler or linter warnings
  • Perform a self-review of the changes
  • Verify to commit no other files than the intentionally changed ones
  • Include reasonable and readable tests verifying the added or changed behavior
  • Confirm that new and existing unit tests pass locally
  • Check that the commits’ message style matches the project’s guideline
  • Stick to the project’s gitflow workflow
  • Verify that your changes do not have any conflicts with the base branch
  • After the PR, verify that all CI checks have passed
  • Post a message in the catroid-stage or catroid-ide Slack channel and ask for a code reviewer

Walcho1125 and others added 30 commits January 24, 2022 12:47
Refactored the Java-class ProjectLoadTask to Kotlin. Replaced
AsyncTask with Coroutines. Added Unit Test for this class. Cleaned
up all references to old class.
Add changes requested from Code Review, mainly extend JUnit Test
Redesign the Regex Popup according to the Ticket: Moved link to wiki to "Help" button and made dialog smaller.
New Crowdin translations by Github Action
CATROID-1360 Fix testActivityRecreateRenameSoundDialog
CATROID-1359 Fix testActivityRecreateRenameSpriteDialog
Added string and replaced it
CATROID-1337 "Looks" shown instead of "Sounds"
New Crowdin translations by Github Action
[DEVOPS-677] Introduce Jenkinsfile file check and disable publish checks
…ins-Rework

DEVOPS-677 Jenkins rework: Removed Flaky test, Changed 0/1 to false/t…
CATROID-1102 Refactor ProjectLoadTask to Kotlin
CATROID-1339 "Add to backpack" option missing for "Define" bricks
Walcho1125 and others added 18 commits January 16, 2023 14:50
CATROID-1468 DeleteLookBrickTest failing
CATROID-1494 Check checkbox when clicking on a fragment
[MAINTENANCE] Fix for cannot resolve symbol error IDE version > 2021.1.1
CATROID-1078 Add new CLTs for the set transparency brick
CATROID-1371 REFACTOR SetBrightnessAction to Kotlin
CATROID-1469 Test: testCloneValues failing
[MAINTENANCE] Fix for cannot resolve symbol in unit tests
CATROID-1069 REFACTOR CloneAction to Kotlin
CATROID-1519 fixed unresolved imports in org.catrobat.catroid(test) file
CATROID-1474 Update huawei ml libraries
IDE-108 Catroid Change Notes Brick Color
ma-zea and others added 7 commits April 14, 2023 11:34
# Conflicts:
#	catroid/src/androidTest/java/org/catrobat/catroid/test/web/AuthenticationCallsTest.java
#	catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/intents/loginfragment/LoginDialogFragmentTest.java
#	catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/activity/ProjectUploadDialogTest.java
#	catroid/src/main/java/org/catrobat/catroid/common/Constants.java
#	catroid/src/main/java/org/catrobat/catroid/transfers/CheckEmailAvailableTask.java
#	catroid/src/main/java/org/catrobat/catroid/transfers/CheckOAuthTokenTask.java
#	catroid/src/main/java/org/catrobat/catroid/transfers/CheckTokenTask.java
#	catroid/src/main/java/org/catrobat/catroid/transfers/CheckUserNameAvailableTask.java
#	catroid/src/main/java/org/catrobat/catroid/transfers/DeleteTestUserTask.java
#	catroid/src/main/java/org/catrobat/catroid/transfers/GetTagsTask.java
#	catroid/src/main/java/org/catrobat/catroid/transfers/GoogleExchangeCodeTask.java
#	catroid/src/main/java/org/catrobat/catroid/transfers/GoogleLogInTask.java
#	catroid/src/main/java/org/catrobat/catroid/transfers/GoogleLoginHandler.java
#	catroid/src/main/java/org/catrobat/catroid/transfers/LoginTask.java
#	catroid/src/main/java/org/catrobat/catroid/transfers/RegistrationTask.java
#	catroid/src/main/java/org/catrobat/catroid/ui/ProjectUploadActivity.kt
#	catroid/src/main/java/org/catrobat/catroid/ui/SignInActivity.java
#	catroid/src/main/java/org/catrobat/catroid/ui/WebViewActivity.java
#	catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/dialog/login/LoginDialogFragment.java
#	catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/dialog/login/OAuthUsernameDialogFragment.java
#	catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/dialog/login/RegistrationDialogFragment.java
#	catroid/src/main/java/org/catrobat/catroid/utils/Utils.java
#	catroid/src/main/java/org/catrobat/catroid/web/ServerAuthenticator.kt
#	catroid/src/main/res/layout/dialog_sign_in_oauth_username.xml
#	catroid/src/test/java/org/catrobat/catroid/test/transfers/WebViewActivityLoginCookieTest.java
#	catroid/src/test/java/org/catrobat/catroid/test/web/ServerAuthenticatorTest.java
# Conflicts:
#	catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/activity/ProjectUploadDialogTest.java
#	catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/dialog/ReplaceApiKeyDialogTest.java
#	catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/dialog/ReuploadProjectDialogTest.kt
#	catroid/src/main/java/org/catrobat/catroid/retrofit/RetrofitWebServer.kt
#	catroid/src/main/java/org/catrobat/catroid/transfers/project/ProjectUpload.kt
#	catroid/src/main/java/org/catrobat/catroid/transfers/project/ProjectUploadData.kt
#	catroid/src/main/java/org/catrobat/catroid/transfers/project/ResultReceiverWrapper.kt
#	catroid/src/main/java/org/catrobat/catroid/ui/ProjectUploadActivity.kt
#	catroid/src/main/java/org/catrobat/catroid/ui/controller/ProjectUploadController.kt
#	catroid/src/main/java/org/catrobat/catroid/web/requests/HttpRequests.kt
#	catroid/src/test/java/org/catrobat/catroid/test/transfers/ProjectUploadTest.kt
@ma-zea ma-zea force-pushed the CATROID-IDE-89 branch from 0da90d5 to 5775642 Compare May 2, 2023 13:09
@sebastiangollob sebastiangollob merged commit c04672e into Catrobat:new-api Jul 13, 2023
ma-zea added a commit to ma-zea/Catroid that referenced this pull request Dec 7, 2023
ma-zea added a commit to ma-zea/Catroid that referenced this pull request Apr 29, 2024
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.