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

Edit verse not being checked #2004

Closed
8 of 11 tasks
benjore opened this issue Jun 28, 2017 · 16 comments
Closed
8 of 11 tasks

Edit verse not being checked #2004

benjore opened this issue Jun 28, 2017 · 16 comments

Comments

@benjore
Copy link

benjore commented Jun 28, 2017

User Story

As a checker who sees an error in a verse that is not being checked, I want to be able to edit a verse that is not being checked so that I don't go crazy or have to try to find a check in that verse before I can fix the error.

May be covered by #1999

Specs

  • A reusable module needs to be created that contains the edit verse functionality.
    • A two step "stepper" is needed
    • Next is not active until a change has been made
    • Save is not active until a reason has been selected
    • Multiple reasons may be selected
  • For this iteration, this module will only be implemented in the expanded scripture pane
    • For the current project only add a pencil to each verse (Note: other resources opened in the Scripture Pane cannot be edited, only the current project)
    • When a user clicks the pencil,
      • the Edit Verse module appears to the side of the verse
      • All other pencils are deactivated.
      • The user must complete the module or cancel out of it (i.e. the rest of the screen is disabled)

image

image

image

image

@benjore benjore added the Epic label Jul 6, 2017
@benjore benjore changed the title Add support for editing verse not being checked Edit verse not being checked Jan 10, 2018
@da1nerd
Copy link
Contributor

da1nerd commented Mar 13, 2018

next button will be disabled until you begin editing.

@benjore benjore added this to the tC Sprint #53 milestone Mar 13, 2018
@da1nerd
Copy link
Contributor

da1nerd commented Mar 14, 2018

@benjore will this reusable component be used just in other areas of scripture pane or do you plan on using it in other tools as well?

@benjore
Copy link
Author

benjore commented Mar 15, 2018

@neutrinog Other tools as well.

@cckozie
Copy link

cckozie commented Mar 20, 2018

Why does this have the QA/Retest label on it? It has never been through QA before.
I'm not seeing the edit option in the expanded scripture pane. It looks the same as it always has.

@da1nerd
Copy link
Contributor

da1nerd commented Mar 20, 2018

I'm not even done building this! lol

@da1nerd
Copy link
Contributor

da1nerd commented Mar 22, 2018

The UI for this is done. I'm waiting to hear back if there is an existing method of writing the data to the file.

@da1nerd
Copy link
Contributor

da1nerd commented Mar 28, 2018

@benjore when a verse is edited should all the alignments be reset? Should anything else be reset?

@benjore
Copy link
Author

benjore commented Mar 29, 2018

@neutrinog So if any part of a word is edited, the entire verse needs to be realigned. For selections in the tW tool, only reset the selection if the words in the selection have changed, otherwise keep the selection as is.

@da1nerd
Copy link
Contributor

da1nerd commented Mar 29, 2018

@benjore ah. Ok right now any time a verse is edited it will reset all the alignments for the entire verse no matter what tool you are in. You're telling me you don't want that functionality?
What happens then if they are working in tW and make an edit then move into the word alignment? Technically those alignments will be invalid no matter what tool you were in while making the edit.

@cckozie
Copy link

cckozie commented Mar 31, 2018

  1. Italic and non-italic has been switched. Missing verses warning should be italicized and the rest not italicized as in the previous build:
    image

  2. Need to be able to edit missing verses.
    image

  3. Can you reduce the amount of white space above and below the pencil so that more verses can be seen in the window as in the UI mockup above?

  4. There is very little difference in appearance in the Back button when it is disabled and enabled. Maybe if you remove the fill on the button and change font color as in the mockup the difference in state would be more obvious.

@PhotoNomad0
Copy link
Contributor

screen shot 2018-04-02 at 6 56 07 am

@neutrinog @cckozie - localization broken for verse edit. Suspect integration with crowdin is not working.

@cckozie
Copy link

cckozie commented Apr 2, 2018

Need to verify that the problems noted in #4188 and #4212 are all dealt with when the above are fixed.

@richmahn
Copy link
Member

richmahn commented Apr 2, 2018

Another issue I found with this: the change of addVerseEdit to editTargetVerse action function in VerseEditActions.js causes the Check pane's verse edit to not save and throw an error that addVerseEdit is not a function.

2018-04-02

@da1nerd
Copy link
Contributor

da1nerd commented Apr 3, 2018

@richmahn there was actually a legacy action I left just in case something still needed it. I'll assign it to the correct action.

@cckozie
Copy link

cckozie commented Apr 3, 2018

translationCore 0.9.0 Travis build #7346 (from http://tc-release.unfoldingword.surge.sh/)
Now able to save edits.
Issues 1. Italics and non-italics, and 2. Edit missing verses from my comment "3 days ago" have not been address.
Also, there is missing localizations:
image.png

@cckozie cckozie added the QA/Fail label Apr 3, 2018
@da1nerd
Copy link
Contributor

da1nerd commented Apr 3, 2018

@cckozie these fixes were just merged in. They may not be in a build yet because the last couple of builds have timed out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants