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

Invalidated Checks #3086

Closed
1 task
benjore opened this issue Nov 7, 2017 · 19 comments
Closed
1 task

Invalidated Checks #3086

benjore opened this issue Nov 7, 2017 · 19 comments

Comments

@benjore
Copy link

benjore commented Nov 7, 2017

User Story

As an aligner, I want to be able to update my translation and only re-aligning what has changed so that it saves me time and keeps me from discouragement.

As a checker, I want to be able to edit my translation and know which checks have been invalidated and have to be redone.

Notes

  • If there is an invalidation, the alignment for the whole verse is reset. (If the text for the verse is different.)

image

image

image

image

@PhotoNomad0
Copy link
Contributor

@benjore - can you verify my understanding (listed below) of the logic for the display of badges?

Notes:

  • Badges (only show one at a time):
    • bookmark badge - show if bookmark - remains until removed?
    • comment badge - show if comment set - remove when comment is removed?
    • broken link badge - show if verse has been edited after checking, cleared when new selection is made?
    • check badge - show if checked and no bookmark, no comments, and verse has not been changed since last edit
    • no badge - if not checked and no bookmark, no comments

@richmahn
Copy link
Member

richmahn commented Apr 5, 2018

My issue, #3676, is what displays the Badges @PhotoNomad0 . I even have an invalidated icon all set up for this issue which I spent a lot of time on yesterday. This issue just needs to make a .json like we have for verseEdits, reminders, etc. is updated when ever a verse is edited which changes text that was either highlighted in tW or aligned in wA. We need to be able to know all at once for a whole project what verses are invalid. Right now we only look when a user clicks on that verse in the group menu.

@richmahn
Copy link
Member

richmahn commented Apr 5, 2018

@PhotoNomad0 To hook this up to what I did, the contextIdReducer needs to have a boolean named 'invaludated' set to true like we do with contextId.reminders, contextId.comments, etc.

@richmahn
Copy link
Member

richmahn commented Apr 5, 2018

Screen shot of what is already in place (This is from my branch, but I forced the invalidated boolean to be true for a few):

2018-04-05

@PhotoNomad0
Copy link
Contributor

Dependent on #3676.

@PhotoNomad0
Copy link
Contributor

Tasks:

  • [5] Update TW tool to set invalidate flag
  • [5] Unit tests
  • [5] PR Review for [3086]

@PhotoNomad0
Copy link
Contributor

PhotoNomad0 commented Apr 12, 2018

@benjore - Question: In WA tools when verse is invalidated, we currently reset the alignments. Should we also flag all checks in the verse as being invalidated?

Answer: no

@PhotoNomad0
Copy link
Contributor

PhotoNomad0 commented Apr 12, 2018

@benjore - Question: when we do an usfm3 import, should we be checking each verse for changes and invalid selections before we open the tW tool.

Answer: On tw open, we recheck all alignments.

@cckozie
Copy link

cckozie commented May 9, 2018

@PhotoNomad0 This is what is in the mockups that I am not seeing:
image

@PhotoNomad0
Copy link
Contributor

Tasks:

  • [5] Update TW tool to display selection invalidated text.
  • [5] Unit tests
  • [5] PR Review for [3086]

@benjore
Copy link
Author

benjore commented May 10, 2018

@PhotoNomad0 Also note the invalidated icon that shows up in the blue bar (next to the other icons). The invalidated icon never shows up transparent (like the other icons) - it is either there in white, or completely gone.

This will cover #4442

@PhotoNomad0
Copy link
Contributor

PhotoNomad0 commented May 18, 2018

@cckozie - discussed this with Ben: since the current tooltip component we use does not natively support grey backgrounds, we are implementing invalidated popup with black background such as:

screen shot 2018-05-18 at 9 55 54 am

@PhotoNomad0
Copy link
Contributor

Blocked waiting for #4318

@PhotoNomad0
Copy link
Contributor

PhotoNomad0 commented Jun 17, 2018

Still need to fix showing invalidated on default verse. See this problem when you have selected an invalidated verse in tw, exit tool, and reopen tw tool. new branch to fix in UI toolkit: feature-mcleanb-3086/ShowInvalidatedSelection.5

@PhotoNomad0
Copy link
Contributor

PhotoNomad0 commented Jun 18, 2018

Localization is still not in for invalidation warning.

Localization is in now.

@PhotoNomad0
Copy link
Contributor

@cckozie - you should be able to test this now.

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

5 participants