-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Added Wikitalk Page #5740
Added Wikitalk Page #5740
Conversation
The UI looks good to me so far. 🙂 |
Finally I am successful in creating pages https://commons.m.wikimedia.org/wiki/Talk:Q65994945 Since we can also add subject, Should we also add option for the subject? Currently I am taking only description as input (e.g This is demo text) and subject is hardcoded (e.g For Testing Purpose) |
For the title I would suggest a hard-coded English-language-only The body of the message could be something like:
Indicating the current location of the item is useful because it may change in the future, making it difficult to understand what is being talked about (for instance what is the initial side of the street). |
Hello @nicolas-raoul, I have successfully created the wikitalk page and here is design I have came up with for the page https://commons.m.wikimedia.org/wiki/Talk:Q73763141 (created/edited using the app) I am looking for more suggestions for the design |
Sorry my mistake please put the italics outside of the nowiki tags not inside. The tildes signature was not recognized it seems. Not a big issue. |
Would you mind posting a screencast showing the whole use of the feature as implemented now? |
I have fixed the italics and here's video for editing/creating WhatsApp.Video.2024-05-31.at.13.49.07_e50e0d57.mp4 |
I think that checkboxes like in the issue description would lead to more helpful feedback:
Current talk page content would come after this. |
The section posted to the talk page would include the English text for each selected checkbox, plus the comment if there is one. |
Got it 😄 Will share the commit asap |
Hello @nicolas-raoul, I have implemented new page. And here's video demonstration WhatsApp.Video.2024-06-01.at.08.10.31_1a8189df.mp4 |
Looks great! |
Great but I noticed an issue: The server to edit is Wikidata server, not Commons server. 🙂 |
For instance, your Abaspura edit should be made here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! The last option, that is, "Other problem or information (please explain below)" has an edit text field but I'm able to send the talk without any comment. How about making it mandatory?
+1 on making the text field mandatory if the third checkbox is enabled. By the way, it looks like a bookmark is set to any item I open the dialog for. Is that intended? Screencast on Zulip. |
Also I have changed the url now the edit is made a wikidata url 🎉 |
Working great, thanks! https://www.wikidata.org/wiki/Talk:Q65225721 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, a bit of polishing still needed before merging. :-)
android:required="false" /> | ||
</application> | ||
|
||
</manifest> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change required?
@@ -230,6 +247,14 @@ public PageEditClient provideCommonsPageEditClient(@Named(NAMED_COMMONS_CSRF) Cs | |||
return new PageEditClient(csrfTokenClient, pageEditInterface); | |||
} | |||
|
|||
@Named("wikidata-page-edit") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kdoc
@@ -674,26 +681,40 @@ private void initBottomSheets() { | |||
bottomSheetListBehavior.setState(BottomSheetBehavior.STATE_HIDDEN); | |||
} | |||
|
|||
private int getSpanCount() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
javadoc
app/src/main/res/values/strings.xml
Outdated
@@ -818,4 +818,6 @@ Upload your first media by tapping on the add button.</string> | |||
</plurals> | |||
<string name="multiple_files_depiction">Please remember that all images in a multi-upload get the same categories and depictions. If the images do not share depictions and categories, please perform several separate uploads.</string> | |||
<string name="multiple_files_depiction_header">Note about multi-uploads</string> | |||
<string name="nearby_wikitalk">wikitalk</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the tooltip right? How about "Report a problem about this item to Wikidata"?
@nicolas-raoul, I am sorry 😞 I totally forgot about the reviews. I have made all the suggested changes in the newer commit c0b2fc7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic, thanks a lot for taking care of this! 🙂
Description (required)
Fixes #2425
What changes did you make and why?
Tests performed (required)
Tested prodDebug on Samsung S21 FE with API level 33.
Progress
Screen_Recording_20240523_161256_Commons.mp4
Keeping this PR as draft until I am able to solve the problem for creating/editing page.