mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
[WIP] add on-click actions to ReviewActivity
This commit is contained in:
parent
14c871abca
commit
aa479dc9b4
4 changed files with 6 additions and 4 deletions
|
|
@ -1133,7 +1133,6 @@ public class ApacheHttpClientMediaWikiApi implements MediaWikiApi {
|
||||||
// strip File: prefix
|
// strip File: prefix
|
||||||
imageTitle = imageTitle.replace("File:", "");
|
imageTitle = imageTitle.replace("File:", "");
|
||||||
media = new Media(imageTitle);
|
media = new Media(imageTitle);
|
||||||
//media = fetchMediaByFilename(fileName);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
package fr.free.nrw.commons.review;
|
package fr.free.nrw.commons.review;
|
||||||
|
|
||||||
|
import android.app.AlertDialog;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
|
@ -14,6 +15,7 @@ import android.util.Log;
|
||||||
import android.view.Menu;
|
import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
import android.widget.EditText;
|
||||||
|
|
||||||
import com.viewpagerindicator.CirclePageIndicator;
|
import com.viewpagerindicator.CirclePageIndicator;
|
||||||
|
|
||||||
|
|
@ -28,7 +30,6 @@ import fr.free.nrw.commons.Media;
|
||||||
import fr.free.nrw.commons.R;
|
import fr.free.nrw.commons.R;
|
||||||
import fr.free.nrw.commons.Utils;
|
import fr.free.nrw.commons.Utils;
|
||||||
import fr.free.nrw.commons.auth.AuthenticatedActivity;
|
import fr.free.nrw.commons.auth.AuthenticatedActivity;
|
||||||
import fr.free.nrw.commons.mwapi.MediaResult;
|
|
||||||
import fr.free.nrw.commons.mwapi.MediaWikiApi;
|
import fr.free.nrw.commons.mwapi.MediaWikiApi;
|
||||||
import io.reactivex.Observable;
|
import io.reactivex.Observable;
|
||||||
import io.reactivex.android.schedulers.AndroidSchedulers;
|
import io.reactivex.android.schedulers.AndroidSchedulers;
|
||||||
|
|
@ -67,7 +68,6 @@ public class ReviewActivity extends AuthenticatedActivity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onAuthFailure() {
|
protected void onAuthFailure() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
package fr.free.nrw.commons.review;
|
package fr.free.nrw.commons.review;
|
||||||
|
|
||||||
|
import android.app.AlertDialog;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
import android.widget.EditText;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.facebook.drawee.view.SimpleDraweeView;
|
import com.facebook.drawee.view.SimpleDraweeView;
|
||||||
|
|
|
||||||
|
|
@ -462,12 +462,13 @@ Upload your first media by touching the camera or gallery icon above.</string>
|
||||||
<string name="check_category_failure_title">Requesting category check: Failed</string>
|
<string name="check_category_failure_title">Requesting category check: Failed</string>
|
||||||
<string name="check_category_success_message">Successfully requested category check for %1$s</string>
|
<string name="check_category_success_message">Successfully requested category check for %1$s</string>
|
||||||
<string name="check_category_failure_message">Could not request category check for %1$s</string>
|
<string name="check_category_failure_message">Could not request category check for %1$s</string>
|
||||||
<string name="check_category_toast">Requesting category check for %1%s</string>
|
<string name="check_category_toast">Requesting category check for %1$s</string>
|
||||||
<string name="nominate_for_deletion_edit_file_page">Adding delete message to file</string>
|
<string name="nominate_for_deletion_edit_file_page">Adding delete message to file</string>
|
||||||
<string name="nominate_for_deletion_done">Done</string>
|
<string name="nominate_for_deletion_done">Done</string>
|
||||||
<string name="nominate_for_deletion_notify_user">Notifying User on Talk page</string>
|
<string name="nominate_for_deletion_notify_user">Notifying User on Talk page</string>
|
||||||
<string name="nominate_for_deletion_edit_deletion_request_log">Adding file to Delete requests log</string>
|
<string name="nominate_for_deletion_edit_deletion_request_log">Adding file to Delete requests log</string>
|
||||||
<string name="nominate_for_deletion_create_deletion_request">Creating Delete requests subpage</string>
|
<string name="nominate_for_deletion_create_deletion_request">Creating Delete requests subpage</string>
|
||||||
|
<string name="notsure">Not sure</string>
|
||||||
|
|
||||||
<string name="review_copyright">Is this a copyright violation?</string>
|
<string name="review_copyright">Is this a copyright violation?</string>
|
||||||
<string name="review_category">Is this mis-categorized?</string>
|
<string name="review_category">Is this mis-categorized?</string>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue