TOLOGIX - ISLG App Rebuild

Analyze and Tag Template


Comments & Events

Morgan Maguire, CEO
Hi Kevin Andrews, Industrial Kevin ,

The templates looks good. I've noticed a few issues detailed below. I'm not sure if these will be dealt with by the development team when they implement the templates, but I want to ensure they are addressed as necessary here:

  • colours aren't matching requirements (wrong colours form certain tools):
    • Excluded highlights (unassigned to tool - grey): 192, 192, 192
    • Article Citator (yellow): 255, 255, 0
    • Jurisprudence Citator (green): 0, 255, 0
    • Publication Citator (orange): 255, 191, 0
    • Terms & Phrases (mauve): 191, 170, 255
    • Subject Navigator (blue): 0, 191, 255
  • There is no example of overlapping excerpts in different colours (i.e., from different tools), please show examples of how overlapping colours will be displayed. The expectation is that this would blend the colours similar to how Adobe Acrobat does:
  • When highlighting an excerpt and then selecting 'Copy Text' the highlight remains. I would expect the highlight to disappears when 'Copy Text' is selected. 
  • When highlighting an excerpt, the menu of options appears, but selecting the options doesn't work until I select elsewhere on the page and then select the excerpt again. 
  • When a highlighted excerpt is selected, I would expect the applicable tool to be displayed as selected, and a modal with details on the entry to be displayed for the admin user.
Thanks,

Morgan
Kevin Andrews, Industrial
Morgan Maguire, CEO Morgan  

1: I added an example of two colours overlapping

2: The highlighted text will now become unhighlighted when clicking on copy text. (the focus outline will remain)

3: Please clear your temporary browser cache (CMD+SHIFT+R) this appears to be working as expected.


4: There is an HTML area set up for each of the tools however I only populated the Article Citator as an example. The others can be populated using existing components similar to the article citator tab.
Morgan Maguire, CEO
Perfect. Thanks Kevin Andrews, Industrial Kevin ​. I'll take a closer look on Tuesday.

Morgan
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

Thanks for providing HTML.

We have found some minor bugs in html.

1) If we select two different paragraphs then whole text it is going to merge in one single paragraph.

2) if we select paragraph text and then after click on selected text the selected text formatting is disturbing. It is going to overlapping the text.
Morgan Maguire, CEO
Hi Kevin Andrews, Industrial Kevin ,

In addition to the issues Harsh Parikh, Tech Lead at DevIT Harsh has pointed out above, I've created some video to further clarify the outstanding issues I raised above:

  1. Copy Text tool maintains highlight:
  2. Problem assigning excerpt to a tool:
  3. Automatically display details on excerpt when selected:
Thanks,

Morgan
Savannah Mitchell, Project Manager at Industrial
Hi Morgan Maguire, CEO Morgan

An update on this - Kevin is working on the customizing the library and will have this completed by mid next week. 

Thanks

Savannah
Morgan Maguire, CEO
Great. Thanks for the update Savannah Mitchell, Project Manager at Industrial Savannah . Also, is Melissa Cowell, General Manager at Industrial Melissa available today for a call to discuss the master list issues?

Morgan
Savannah Mitchell, Project Manager at Industrial
Sure Morgan Maguire, CEO Morgan , we are available at noon. Does that work for you?
Morgan Maguire, CEO
I have a lunch meeting. Can we do 11am or 130pm?
Savannah Mitchell, Project Manager at Industrial
Sorry Morgan Maguire, CEO Morgan , unfortunately we aren't available at those times as we are in meetings. We may have to connect next week on this. Here are the times I suggested: 

Monday, September 9 at 8:30 am
Tuesday, September 10 at 10am (during our weekly Tologix call with Ryan and Mitch)

Savannah
Morgan Maguire, CEO
Ok. Let's do it during the weekly call on Tuesday then. 
Kevin Andrews, Industrial
Morgan Maguire, CEO Morgan

The bug fixes are available here: http://tologix-islg-rebuild.s3-website.ca-central-1.amazonaws.com/analyze-and-tag.html

If you're not seeing the fixes be sure to clear your browser cache.

Harsh Parikh, Tech Lead at DevIT Harsh , In order to maintain performance in the app the forms used to manage the tagging will need to be loaded dynamically when clicking into an excerpt. An example of what the form should look like can be found inside the article citator tab:


The other tabs currently have a placeholder string where the dynamic forms should be loaded:


The tool select box will switch tabs and data attributes on the excerpt to reflect the tool change.

Updated assets can be found here:

Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh  

The scripting and HTML managing this interface is quite complex. Please let us know if you run into any problems.
Morgan Maguire, CEO
Hi Kevin Andrews, Industrial Kevin ,

Items #2 and #3 that identified above appear to be working well now. However, for item #1 the except remains highlighted after selecting "Copy Text".

Two other issues to address:

  1. Would it be possible to edit the template so that the model window is kept out of the margins. It can cover up icons in the margin, which will be disruptive to the reviewer: 
  2. It would be good to get Melissa Cowell, General Manager at Industrial Melissa 's input on this point. Further to the video below, I think it would be more intuitive for the modal windows to close when the user selects anywhere outside the window:
  3. In the requirements (https://industrialagency.tpondemand.com/RestUI/Board.aspx#page=board/5389754907359543952&appConfig=eyJhY2lkIjoiRUM0QzUwNTU4QzZBNUQ1NjQxRkNGNUQyM0FFRDQxM0YifQ==&searchPopup=userstory/5981) there is an ability to filter which type of excerpts are displayed using check-boxes above the text (see screenshot from wireframe: https://projects.invisionapp.com/share/6AOHL2Q9J8U#/screens/371379928_Review_-_Data_Capture). Shouldn't we integrate this into the template? 
Thanks,

Morgan
Kevin Andrews, Industrial
Morgan Maguire, CEO Morgan  

The copy text issue should be fixed. 

1. Now in cases where the modals would extend outside the left margin they will now align flush with the left margin.

2. I have added logic to close modals when clicking outside of them.

3. Filtering logic is part of the "review" workflow and should be managed server side during app development.
Morgan Maguire, CEO
Looks great Kevin Andrews, Industrial Kevin .

Understood on item #3.

Thanks,

Morgan
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin .

Thanks for providing html.

The Integration of Anyzing/Tag html is going on. We will let you know if we find any difficulty.

Could you please let me know where you use above annotator.min.cs ? Does we need to add  annotator.min.cs  in our application ? 
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh  

No sorry, annotator.min is not in use. I had included it when i was brainstorming a solution but ended up going with a fully custom approach instead.
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

We have integrated HTML in our application but we are in trouble at one point. Your static HTML structure and our dynamic generated HTML structure are different. 

For Example, You have taken HTML with only <P> tag but our html has been generated <div> base. So may be, Because of that reason, The Tag Tool 
(AC, JC, TP,) is not generating at proper place.

Let me know once you come in office. We will discuss with Skype Call.
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh  We are available to call now
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

What is your Skype ID ? I will ping you
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh Ryan will call you
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

Following, I have mentioned the HTML link which provide you dynamic generated html. Please take reference of that html and do necessary changes.

Also, Please provide us only the portion which you will change in both JS and CSS. 

http://dev.convertortool.com/HTML/ADM-CPI%20v%20Mexico.html
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh This is tricky. The document doesn't use semantic markup and there are inconsistencies throughout. It's difficult to come up with a catch all solution that will work perfectly for all edge cases.

That said using this should at least greatly improve the issue:

.document *{
  position:relative;
}
document .tagged__excerpt,
document .tagged__target{
  position:static;
}


When text is properly formatted with single wrapping elements you will get results like this:



However messy nesting will have results like this:

Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

Thanks Kevin Andrews, Industrial Kevin . We will replace above CSS and let you know. I understood your concerns.

Morgan Maguire, CEO Morgan , Please give your feedback on this. Is it OK for you ?
Morgan Maguire, CEO
Hi Kevin Andrews, Industrial Kevin and Harsh Parikh, Tech Lead at DevIT Harsh

I'd prefer the resolve this somehow if we can, but if not we can work with this given that it will be very rare to use these sections of the documents for excerpts.

Morgan
Kevin Andrews, Industrial
Morgan Maguire, CEO Morgan Harsh Parikh, Tech Lead at DevIT Harsh  
In order to get clean results in output of the Tool bubbles and line indicators we need to have a single identifiable element wrapping every block of text.

The first screenshot above is an example of that working correctly for us as the formatting is clean enough to make it work.

However the second screenshot is really messy. I'll do my best to explain:

This one line of text is wrapped in many <div> elements with inline styles.  but the entire block of text including the lines above/below are not wrapped in a single common element for me to target.

In the first screenshot where it is working with my tagging implementation looks like this:


1 <div> element wrapping the entire block of text.
Morgan Maguire, CEO
Thanks for the above Kevin Andrews, Industrial Kevin .

Jitesh Dhuravala, DevIT Jitesh and Harsh Parikh, Tech Lead at DevIT Harsh , as we discussed this morning, please incorporate Kevin Andrews, Industrial Kevin 's comments in the document that explains the structure of these documents. Let's ensure everyone has a mutual understanding of how all the elements are getting identified (e.g., line breaks, headings, paragraphs, footnotes, etc.), and then we can better work towards resolving these issues.

Note that I've added Piyush Rathod, DevIT Piyush , Irit Weinfeld Irit , Paul Moon Paul and Nafiseh Arghandehpour, Legal Content Manager at ISLG Nafiseh   to this discussion, because I would expect this to cover some of the issues discussed here: Re: PDF to HTML Conversion testing: Indentation issue - TOLOGIX - PDF to HTML Conversion.

Thanks,

Morgan
Harsh Parikh, Tech Lead at DevIT
Morgan Maguire, CEO Morgan , We will provide the document which contains general overview of html elements that how well structured HTML is generated through algorithm.

Kevin Andrews, Industrial Kevin , There are 2 following possibilities where html structured generated nested <div> .

1)  2 Column Structure HTML:  Where we need to separate 2 <div> elements in Main <div> element.



2)  Sub Paragraph Structure : Where we need to created sub-paragraph <div>(red color) nested under Main Paragraph <div> (orange color).




Kevin Andrews, Industrial Kevin , Those nested <div> are generated based on our algorithm tool. It will complicated for us to change that structure. Let me know how we can help for this ?
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh the problem isnt so much that there are nested divs, but that there is no identifiers on those divs. Ideally every single instance of a block of text should have a wrapping identifier like class="paraText". As it is right now I have no way to target those blocks of text at all.

For example, in the above screenshot the divs that have width:50%; should also have the paraText class.

However because of the way the divs are formatted in the columns there will never be a way to highlight and tag just the left block of text or just the right block of text because each line of text is inside its own div. The only way to fix that would be to wrap the entire left column in one identifier, and the entire right column in one identifier.
Harsh Parikh, Tech Lead at DevIT
OK Kevin Andrews, Industrial Kevin .

Will do one thing in algorithm. We will set one common class="Paratag"  for all elements where text is wrapping.

You can use that "Paratag" class for identify the html element.

Does it work for you ??
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

One more thing we noticed in your HTML.

If we change the html structure as per attached screenshot. It means, If any sub-paragraph or bullet point is started inside main paragraph that time it is creating issues to display excerpts.

Please look into the following screen shot.

Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh  

What you're seeing in the screenshot above is expected behaviour

indicators are aligned to the paragraphs in which the excerpts exist.

In order for the nesting to work, we would need <div class="paraTag"> wrapping everywhere there is a red box in these images:

once that is done I will need a new export of your generated documents to review.
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh  
If that's the case then we're not going to be able to resolve issues in those sections of documents.
Harsh Parikh, Tech Lead at DevIT
Morgan Maguire, CEO Morgan , Please provide your feedback. As per dynamic HTML structure, we are not able to give that <div class="Paratag"> to whole box. 
Morgan Maguire, CEO
Thanks Harsh Parikh, Tech Lead at DevIT Harsh . Understood. 

I think we need to bring this into a broader discussion about how the HTML documents are getting structured. Therefore, let's prioritize getting the document prepared as we discussed above.

Note it is really concerns me that we can't identify the appropriate paragraphs in the document above given that the original PDF was structured appropriately as evidenced by the excerpt I highlighted in the screenshot below. If the original PDF has the appropriate structure to identify the paragraph, why wasn't this picked up in the converted HTML document?


Thanks,

Morgan
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan ,

We are using "ByteScoute" 3rd Party tool for read the text from PDF. This tool is providing text line by line.

In Two Column Structure, We need to divide one whole line in 2 portion. Because of that, We need to put first half line in one <div> elemnet and second half line in second <div> element. (Refer following screenshot)

Currently, As we discussed with Kevin, We are only facing excerpt problem in 2 column structure. Rather than 2 column structure we are able to set <div class="Paratag"> as common element.

Further more, We are communicate with our UI team to convert 2 separate <div> element in to one single <div> element to resolve this problem.

Team is working on it to resolve this as soon as possible.

We will keep you updated.
Morgan Maguire, CEO
Ok. Thanks for the explanation and update Harsh Parikh, Tech Lead at DevIT Harsh .

As I've mentioned above, it would be ideal to represent the text in the same column as the same paragraph (both for excepts purposes, and to properly represent the text), so let me know once the UI team has been able to take a closer look. 

Thanks,

Morgan 
Morgan Maguire, CEO
Hi Jitesh Dhuravala, DevIT Jitesh ,

I just got off a call with Ryan Knuth, Customer Support Manager at Industrial Ryan , and we decided it would be beneficial for us to produce a detailed document that provides a comprehensive overview of all the elements that are currently being used to generate HTML documents through the conversion tool. 

As a starting point, Ryan Knuth, Customer Support Manager at Industrial Ryan and Kevin Andrews, Industrial Kevin are going to consult and determine what details the document should contain. I'll review it, add any comments, and then I'll send you the list of requirements we expect to see in the document. You and Harsh Parikh, Tech Lead at DevIT Harsh can then review, and prepare a detailed document that explains all coded elements within a generated HTML.

The document will ensure everyone has a mutual understanding of how the HTML code is structured, and address any issues that may affect how we use the documents within the applications. It will also serve as a precursor to creating a more formal HTML coding manual.

Please let me know if you have any questions or concerns.

Thanks,

Morgan
Jitesh Dhuravala, DevIT
Hi Morgan Maguire, CEO Morgan ,

Sure, we will do it. Let us know how we make it easier as possible to understand html document. It is important at this point so we all in same page and get clarity of ongoing development that full fill your requirements.

Thanks,
Jitesh
Morgan Maguire, CEO
Perfect. Thanks Jitesh Dhuravala, DevIT Jitesh .

We'll get back to you soon with all the detail we'll need in the document.

Morgan 
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan and Kevin Andrews, Industrial Kevin ,

As we discussed above, The Team is working on to resolve two structure column selection issue and applying <div class="paratag"> to all places where text is wrapping in element.

Probably, It will be done by tomorrow. Kevin Andrews, Industrial Kevin , Does it possible for you to update the interface after we will give you new html as discussed above ? The reason behind this because we need to updated Analyzing/Tag HTML interface so we will proceed further with our R&D like extract paragraph tags and other things.
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh  As soon as I have the updated HTML structure I can make any necessary changes to my tagging logic and send you updated files promptly.
Harsh Parikh, Tech Lead at DevIT
OK Thanks Kevin Andrews, Industrial Kevin .

We will do our best to provide updated html structure before end of tomorrow.
Morgan Maguire, CEO
Harsh Parikh, Tech Lead at DevIT Harsh , further to my note above, please wait for our instructions before you produce a document outlining the HTML structure. I want to ensure it includes all the elements required for the design.

Ryan Knuth, Customer Support Manager at Industrial Ryan , let me know when you've got something for me to review.

Thanks,

Morgan
Ryan Knuth, Customer Support Manager at Industrial
Hi Morgan Maguire, CEO Morgan and Harsh Parikh, Tech Lead at DevIT Harsh

Kevin Andrews, Industrial Kevin and I are meeting about it this morning.

Thanks!

Ryan
Morgan Maguire, CEO
Great. Thanks Ryan Knuth, Customer Support Manager at Industrial Ryan .

Morgan
Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

Ryan Knuth, Customer Support Manager at Industrial Ryan , Kevin Andrews, Industrial Kevin and I have a call scheduled on Monday morning to discuss the HTML structure, and we'll integrate this into our discussion. From my perspective, the <div class="paratag"> appear to be identifying the paragraphs as expected, and the column structure looks good.

However, further to the screenshot below it appears that footnotes are getting inserted within the last <div class="paratag"> on the PDF page. This needs to be changed. Footnotes should be separated from the body text of the page (except for the <span class="supertext" linkid="_fntag"> that connects the relevant footnote to the body text).

Also, I found a similar problem with some of the headings. In the screenshot below, a heading is included in the previous paragraph. I understand how the conversion algorithm might interpret the heading as a sub-paragraph, but is there a way for us to prevent this from happening by identify the text as a heading based on the text font (e.g., bold, underlined, larger font, etc.)?


Thanks,

Morgan
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

We found one issue in HTML template. If we select multiple paragraphs then one paragraph has not selected. Please refer following video for more clarification.


Harsh Parikh, Tech Lead at DevIT
Thanks Kevin Andrews, Industrial Kevin ​.

Could you pleaese provide only updated code? Because it is difficult for us to find that change or replace whole js.
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh

Are you making changes directly within the minified javascript file I provided?

If so that's going to get extremely difficult for me to debug issues you're having going forward. This is why I suggested making your own file separate from mine since the beginning.

In my file the change looks like this. The highlighted quote was missing.

$(this).wrapInner('<span class="tagged__excerpt" data-excerpt="' + newid + '"></span>');
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

Thanks for information. 

Sorry for late reply. Actually,Yesterday I was on leave.

Actually, We need to do some changes in minified JS for dynamic Datatable rendering  and some  other function which conflicted in our structure.

We are not changing your code. We are just adding our relevant code in your function.
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

We have added " in tagged_excerpt which you mentioned above. but still we are facing same issue.

We are not able to highlighted multiple paragraphs.

Here, I have attached our sassquatch.min.js file for your reference.

Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh

I'm sorry, I am unable to debug a minified JS file. This is why I requested all custom Javascript you write be in a standalone file separate from the javascript I provided. The example I have here is working as expected:

http://tologix-islg-rebuild.s3-website.ca-central-1.amazonaws.com/analyze-and-tag.html

When I write my scripts I organize them by functionality and minify them into a single file at the end.

It's important that we're not making modifications directly to the modified scripts as the minification tool renders the functions ineligible.

The unminifed scripts are as follows:

These get compiled into a single file:


OR


Harsh Parikh, Tech Lead at DevIT Harsh  Please send the HTML of the document in your example video so I can accurately test the issue.
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

I have checked above mentioned URL and seems like issue is resolved now.

Please let us know when you will be completed your testing. So, Tomorrow we will integrate this change in our application.
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh

in your JS on line 304

change :
 n(this).find("> p").each

to:
 n(this).find("> *").each

This should drastically improve the issue outlined above.
Shrinivas Sambhare
Hi  Kevin Andrews, Industrial Kevin ,

In Analyzing/Tagging, We are facing challenges while loading saved Tags.It is not highlight selected Tag text by using ranges at load time of HTML File which already tagged. 

In your demo HTML, There is Tags saved in static HTML file itself but we could not save Tags directly into HTML file, so creating Tags Run-time inside of Tag there is challenge of fetching Range offset (startOffset,endOffset) because JS method referencing most parent element that is span tag created run-time while we tag some text and highlight text,

so can you help us to load Tag run-time using Ranges. we are asking you because it is difficult to find exact offset of second tag text inside outer tag text.

Thanks.
Kevin Andrews, Industrial
Hi Shrinivas Sambhare Shrinivas  

I'm working on writing a function to generate saved tagged excerpts on page load, however it would be helpful to have a sample of the data you're trying to use to generate tags on page load.
 
The UI for creating the tagged excerpts on the page does not have context as to the actual tags on the excerpt. You should be using a unique ID on the tagged excerpt which is used to map the excerpt to the tags that are attached. 

I won't be able to write the entire functionality to handle this for you.
Kevin Andrews, Industrial
Shrinivas Sambhare Shrinivas  

I think the easiest way of going about this would be to save the HTML of the document as it appears after tagging the document rather than generating all the tags on load.
Shrinivas Sambhare
Hi Kevin Andrews, Industrial Kevin ,

The UI for creating the tagged excerpts on the page does not have context as to the actual tags on the excerpt. You should be using a unique ID on the tagged excerpt which is used to map the excerpt to the tags that are attached.

we have already set unique ID run-time and based on that ID we have save our Excerpt into Database and we can load our Excerpt run time for single Tag but there is difficulty to load Tag into another Tag.

I think the easiest way of going about this would be to save the HTML of the document as it appears after tagging the document rather than generating all the tags on load.

We have already looked into this way, and we found that if we save our Excerpts into HTML file directly then migration of old data is very difficult to migrate into new application. Hence we don't have old Tag data into new HTML file.

Thanks.
Kevin Andrews, Industrial
Shrinivas Sambhare Shrinivas  

I don't know what your old data looks like and without that there is nothing I can do. If the only information I have to go on is a startOffset and endOffset it's not going to be possible to generate the tags properly on runtime with javascript.

The way it would have to be done in javascript requires looping over the data and wrapping the text in HTML tags programatically. The problem is every time a new HTML tag is rendered the offsets would change and would no longer be highlighted correctly.
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ​ and Morgan Maguire, CEO Morgan ​,

I think we need to take a call to discuss this issue broader way and also need to discuss about how we migrate  existing islg data in our new tagged feature.

Let me know your thoughts and will do call on next week.
Morgan Maguire, CEO
Ok. Sounds good. Would a call at 745am Vancouver time on Monday work  Harsh Parikh, Tech Lead at DevIT Harsh , Shrinivas Sambhare Shrinivas and Kevin Andrews, Industrial Kevin ? Please confirm, and I'll send a calendar invite with details.

Morgan

 
Kevin Andrews, Industrial
Morgan Maguire, CEO Morgan

We need to have a discussion internally about this issue at Industrial first. Ryan Knuth, Customer Support Manager at Industrial Ryan  is away today so we will need to get back to you tomorrow on a time that would work.
Morgan Maguire, CEO
Ok. Sounds good, Kevin Andrews, Industrial Kevin . Note that I have call scheduled with Ryan Knuth, Customer Support Manager at Industrial Ryan and Savannah Mitchell, Project Manager at Industrial Savannah at 11am Vancouver time as well.

Morgan 
Morgan Maguire, CEO
Hello Jitesh Dhuravala, DevIT Jitesh , Harsh Parikh, Tech Lead at DevIT Harsh and Shrinivas Sambhare Shrinivas ,

Ryan Knuth, Customer Support Manager at Industrial Ryan , Melissa Cowell, General Manager at Industrial Melissa , Kevin Andrews, Industrial Kevin and I had a call today about the issue above, and we believe it warrants a larger discussion on developing a plan for how we're migrating data between the old and new ISLG applications.

Savannah Mitchell, Project Manager at Industrial Savannah , will follow-up with proposed time, but we'll probably schedule the call at 7:45am Vancouver time on Monday or Tuesday.
 
Thanks,

Morgan 
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan and Savannah Mitchell, Project Manager at Industrial Savannah ,

Tomorrow, We have holiday in DEVIT.

Can we reschedule call on Wednesday (9th October) at same time ?
Morgan Maguire, CEO
Sorry about that Harsh Parikh, Tech Lead at DevIT Harsh ​.

Wednesday at the same time works for me.

Morgan
Savannah Mitchell, Project Manager at Industrial
Hi Morgan Maguire, CEO Morgan

Mel, Kev and I are unavailable on Wednesday. I can invite Kev to our biweekly meeting on Thursday?

Savannah
Morgan Maguire, CEO
Hi Savannah Mitchell, Project Manager at Industrial Savannah ,

Ok, but let's move up the meeting to 745am Vancouver time, and we'll make this the first item on the agenda. That way Kevin Andrews, Industrial Kevin can excuse himself afterwards, assuming there isn't anything else on the agenda that needs his input.

Thanks,

Morgan 
Savannah Mitchell, Project Manager at Industrial
Hi Morgan Maguire, CEO Morgan

We can do 8am Vancouver time, Mel, Guillaume and Kev are all in a meeting until then. 

Savannah
Morgan Maguire, CEO
OK. Sounds good. Let's move the meeting to start at 8am.

Morgan
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

As per your following code in Sasquatch.min.js, The multiple highlighted paragraph is taking whole page selection range. Actually we need only particular selected paragraph range. 


"" != t.toString() && (window.getSelection(), function () {
                var t = function (t) {
                    var e = t.commonAncestorContainer,
                        a = new Array(0),
                        o = new Array(0);
                    if (t.startContainer != e)
                        for (var s = t.startContainer; s != e; s = s.parentNode) a.push(s);
                    if (0 < a.length)
                        for (var s = 0; s < a.length; s++) {
                            var n = document.createRange();
                            s ? (n.setStartAfter(a[s - 1]), n.setEndAfter(a[s].lastChild)) : (n.setStart(a[s], t.startOffset), n.setEndAfter(a[s].nodeType == Node.TEXT_NODE ? a[s] : a[s].lastChild)), o.push
                        }
                    var i = new Array(0),
                        r = new Array(0);
                    if (t.endContainer != e)
                        for (var s = t.endContainer; s != e; s = s.parentNode) i.push(s);
                    if (0 < i.length)
                        for (var s = 0; s < i.length; s++) {
                            var d = document.createRange();
                            s ? (d.setStartBefore(i[s].firstChild), d.setEndBefore(i[s - 1])) : (d.setStartBefore(i[s].nodeType == Node.TEXT_NODE ? i[s] : i[s].firstChild), d.setEnd(i[s], t.endOffset)), r.unshift(d)
                        } {
                        if (!(0 < a.length && 0 < i.length)) return [t];
                        var l = document.createRange();
                        l.setStartAfter(a[a.length - 1]), l.setEndBefore(i[i.length - 1])
                    }
                    return o.push(l), response = o.concat(r), response
                }(window.getSelection().getRangeAt(0));
                d++;
                for (var e = 0; e < t.length; e++) a(t[e], e)
            }())


Is it possible for you to do this change to select only paragraph range rather than whole page ?
Morgan Maguire, CEO
Following-up on Harsh Parikh, Tech Lead at DevIT Harsh 's comment above. Kevin Andrews, Industrial Kevin , did we get this issue resolved?
 
Morgan 
Kevin Andrews, Industrial
Morgan Maguire, CEO Morgan
I apologize for the delay on my response. I'm not really understanding what the issue is here.  Harsh Parikh, Tech Lead at DevIT Harsh  I need a more detailed explanation of what the actual problem is before I can advise on how to fix it.
Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh and Kevin Andrews, Industrial Kevin ,

I suggest you setup a call to discuss and resolve the issue. Savannah Mitchell, Project Manager at Industrial Savannah , could you assist in setting this up.

Thanks,

Morgan 
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

Can we do call on Thursday 8:30 AM (Ottawa Time) ?
Savannah Mitchell, Project Manager at Industrial
Hi Harsh Parikh, Tech Lead at DevIT Harsh

Unfortunately Kevin is not available then. Are you free at 10:30 Ottawa time?
Harsh Parikh, Tech Lead at DevIT
Ok Np. Savannah Mitchell, Project Manager at Industrial Savannah ​. 10:30 ottawa time would ne Ok for us.
Harsh Parikh, Tech Lead at DevIT
Hi Savannah Mitchell, Project Manager at Industrial Savannah and Kevin Andrews, Industrial Kevin ,

Please confirm that We are going to take call on 10:30 AM Ottawa time today.

Skype Id : harsh.parikh05
Savannah Mitchell, Project Manager at Industrial
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

the zoom details are below:

Industrial is inviting you to a scheduled Zoom meeting.

Join Zoom Meeting
https://zoom.us/j/361713802?pwd=QllVSHM0Q1ZtMFlvYTk4REVZRmRBUT09

Meeting ID: 361 713 802
Password: 067965

One tap mobile
+16475580588,,361713802# Canada

Dial by your location
        +1 647 558 0588 Canada
        +1 646 558 8656 US (New York)
        +1 720 707 2699 US (Denver)
Meeting ID: 361 713 802
Find your local number: https://zoom.us/u/abTvh73RhC
Harsh Parikh, Tech Lead at DevIT
OK Thanks Savannah Mitchell, Project Manager at Industrial Savannah .
Savannah Mitchell, Project Manager at Industrial
Hi Harsh Parikh, Tech Lead at DevIT Harsh (cc: Morgan Maguire, CEO Morgan ), 

Here is our understanding of the problem:

Currently, the tags are based on the document range. But you would like the tags to start and finish based on paragraph range. 

We have provided markup for the templates, but to resolve the issue will require more in depth understanding of the technical requirements. 

From our perspective, this needs to be handled within the application development and not template development. We suggest having a call with the whole team to come to a solution. 

We do have a call scheduled for next Thursday, but ideally this should be worked out sooner. Let us know when you are available next week to discuss. 

Savannah

 
Morgan Maguire, CEO
OK. Thanks Savannah Mitchell, Project Manager at Industrial Savannah . I can be available tomorrow morning at 7:30am Vancouver time. Otherwise, I am available at 9am on Monday or 8:15am on Tuesday.

Morgan
Savannah Mitchell, Project Manager at Industrial
Morgan Maguire, CEO Morgan

Sounds good. We can make tomorrow at 7:30 work. We can't do right at 9am on Monday as we have an off-site meeting, but could do 9:30.

Savannah
Morgan Maguire, CEO
Ok. Let's shoot for tomorrow at 7:30am, but we'll push to 9:30am on Monday if Jitesh Dhuravala, DevIT Jitesh and Harsh Parikh, Tech Lead at DevIT Harsh can't make tomorrow work. Could you send a calendar invite with details.

Morgan
Jitesh Dhuravala, DevIT
Hi Morgan Maguire, CEO Morgan ,

Monday work from our side, please do schedule on Monday 9:30 am. 

Thanks,
Jitesh
Jitesh Dhuravala, DevIT
Hi  Morgan Maguire, CEO Morgan ,

In last call, You had asked approach document for Analyzing/Tagging which we are going to implement in order to achieve current and new ISLG tagged/cited data. We have prepared document describe how technically we will highlight tagged/cited data in Analyzing/Tagging for both current and new ISLG.

Please find attachment of Analyzing/Tagging approach document.


cc: Savannah Mitchell, Project Manager at Industrial Savannah , Kevin Andrews, Industrial Kevin  

Thanks,
Jitesh
Morgan Maguire, CEO
Hi Jitesh Dhuravala, DevIT Jitesh ,

Thank for this. Savannah Mitchell, Project Manager at Industrial Savannah , could you please ensure everyone on your end reviews this document in advance of the call on Wednesday, and then we'll discuss this approach a resolving any outstanding issues then.

Thanks,

Morgan 
Savannah Mitchell, Project Manager at Industrial
No problem, Morgan Maguire, CEO Morgan
Savannah Mitchell, Project Manager at Industrial
Hi Morgan Maguire, CEO Morgan , Jitesh Dhuravala, DevIT Jitesh , Harsh Parikh, Tech Lead at DevIT Harsh :

We have reviewed the above document and have some concerns about the suggested approach to document tagging which we'd like to discuss tomorrow:

- This approach still requires client side tag rendering which will negatively impact performance and is too heavy a task for browsers to handle which may result in users browsers crashing
- We don't understand why the paragraphs are being cloned. Is this only used to aid migration? How does it help? This adds significant complexity to the logic required for creating the tag markup
- How will this accommodate tags across paragraphs?

Thanks

Savannah
Morgan Maguire, CEO
Great. Thanks Savannah Mitchell, Project Manager at Industrial Savannah .

Jitesh Dhuravala, DevIT Jitesh , could you please review the concerns and questions above. It sounds like there are inherent problems with the proposed analyzing-tagging approach that will conflict with the design requirements, and will have adverse impacts on the performance of the application. Could you please give careful consideration to these issues, and be prepared to suggest a solution to the problem. It sounds like the problem cannot be overcome through modifications to the HTML template, and will require modifications to our analysing-tagging approach. Having said that, if you disagree, please explain how we can overcome these issues using your proposed approach. We need you and your team to take the lead on this issue, and come up with a technical solution.

We'll discuss more during the call tomorrow, but let's ensure we coming are to the discussion fully informed, and prepared to offer solutions.

Thanks,

Morgan   
Jitesh Dhuravala, DevIT
Hi Savannah Mitchell, Project Manager at Industrial Savannah ,

This approach still requires client side tag rendering which will negatively impact performance and is too heavy a task for browsers to handle which may result in users browsers crashing

Ans : Yes, It is client side tag rendering but it will not impact negatively because it is not rendering any extra resources by client side like files, images or ajax call. it will simply clone those text (paragraph) area which are cited (tagged) and display highlighted as per your requirements. We are not doing clone any extra text or whole document to reduce performance or browser crashing. It will simple clone only selected text on which admin had cited.

Morgan Maguire, CEO Morgan , currently we have been found this approach to do Analyzing/Tagging functionality for both current and new ISLG. We are sure by this approach we will achieved our requirements need as per Analyzing/Tagging story.


- We don't understand why the paragraphs are being cloned. Is this only used to aid migration? How does it help? This adds significant complexity to the logic required for creating the tag markup
- How will this accommodate tags across paragraphs?


Ans :  It is used to aid migration as well as new data. By this approach we can also highlight old data which are already cited in current application and obviously new application as well.

Savannah Mitchell, Project Manager at Industrial Savannah , We are need your help in particularly when tagging across paragraphs. currently with single paragraph, we have implemented and working fine as per expected but we are getting problem when selected across paragraphs ( multiple paragraphs ) because of your provided JS fetching whole document range rather than multiple selected text range only. if you guys provide such updated function ( JS ) which provide only selected paragraph range only when selecting multiple paragraph than it will help us otherwise we need to do R&D and work out in our JS to do this.


Morgan Maguire, CEO Morgan and Savannah Mitchell, Project Manager at Industrial Savannah , lets discuss more about this in today call and finalize approach. 

Thanks,
Jitesh
Morgan Maguire, CEO
Hi Jitesh Dhuravala, DevIT Jitesh ,

Following up on our discussions this week, please let us know when you have a prototype of the Analyzing/Tagging tools available for Kevin Andrews, Industrial Kevin 's review, and then he can use that to assess the work necessary to update and adapt the HTML templates to your approach.
 
Thanks,

Morgan 
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan and Kevin Andrews, Industrial Kevin ,

Tomorrow, We will provide you one test document in Analyze Data Capture task on rebuild.islg (Demo URL) and also provide you step to how to open the document to review tagging portion.

Because, We need to do lots of thing to re-create to prepare separate prototype and upload new prototype on server.

Kevin Andrews, Industrial Kevin , Does is it suitable for you to check on rebuild.islg ?
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin , Melissa Cowell, General Manager at Industrial Melissa and Savannah Mitchell, Project Manager at Industrial Savannah ,

Following, We have mentioned the URL and step to how you will reach the document for Analyze/Tag.

URL :  http://rebuild.investorstatelawguide.com/admin
User Name : Admin
Password : Admin@123

After successfully login, Please do following setp.

1 -  Click on Analysis in Progress: Data Capture link from left side menu under Document State menu

2-  Click on Document name

3- Now, You are able to select any paragraph and look how the Analyze/Tag is currently working now.

Cc : Morgan Maguire, CEO Morgan  
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh   Morgan Maguire, CEO Morgan

I have refactored the tagging logic to target the .para elements rather than the .document. I also created a new function that you can call from anywhere to get the current start/end offsets.

At any point you can use the variables 'startElement' or 'endElement' which are storing the start/end html element ID's of the selected range.

A working example of these variables and functions can be found at http://tologix-islg-rebuild.s3-website.ca-central-1.amazonaws.com/analyze-and-tag.html. Just make a selection and the start/end offsets will be displayed in an alert.

In tagging.js on line 102 you will find where I'm calling these example functions.

Start Offset
(paragraph-11 is what's stored in the variable 'startElement')
(175 is the offset returned by the function):

End Offset
(paragraph-13 is what's stored in the variable 'endElement')
(182 is the offset returned by the function):
Morgan Maguire, CEO
Kevin Andrews, Industrial Kevin , thank you for getting this done.

Harsh Parikh, Tech Lead at DevIT Harsh , will this satisfy the back-end requirements?

Morgan
Harsh Parikh, Tech Lead at DevIT
Thanks Kevin Andrews, Industrial Kevin   for helping us to resolve this issue.

Morgan Maguire, CEO Morgan , We will look into the JS and Html which Kevin provided and will get back to you soon.
Morgan Maguire, CEO
Great. Thanks Harsh Parikh, Tech Lead at DevIT Harsh . Let us know.

Morgan
Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

Could you provide us with an update on whether the issues above have been resolved, and whether there is anything we need to discuss during the team call on Friday.

Thanks,

Morgan 
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan ,

The above issue has resolved and we integrated in our application. Technically, currently we are facing only following one issue.

  • coloured line (matching the research tool colour) spanning the line height of the highlighted excerpt
We are facing the above issue while any user manually adjust the paragraph excerpt. But, We are working on it and R&D is going on.
 
Morgan Maguire, CEO
OK. Sounds good Harsh Parikh, Tech Lead at DevIT Harsh . Is there anything further we need to discuss as a group, or should I remove this from the agenda tomorrow? 
Morgan Maguire, CEO
Following up on discussions during recent calls concerning the issues above and on TargetProcess: https://industrialagency.tpondemand.com/RestUI/Board.aspx#page=board/5361190942734992086&appConfig=eyJhY2lkIjoiOTk1NDg2NkUwM0I1RTJGMzQ5NjgyOTdFRjk2NkRGN0YifQ==&ncPopup=bug/13348. What's the status on getting the analyzing and tagging features complete on ILG and ISLG. My understanding was that Jitesh Dhuravala, DevIT Jitesh were setting up a call with Kevin Andrews, Industrial Kevin to discuss the path forward for a solution. Has that happened yet? If not, please make that happen ASAP, and update me on the path forward. We're two weeks past the deadline on getting the ILG and ISLG admin sites complete, and I need to get the ILG subject matter expert trial underway.

Morgan
Morgan Maguire, CEO
Ok Savannah Mitchell, Project Manager at Industrial Savannah . I was hoping we would have had the call this week. We need to deal with this more urgently. Let's get this setup tomorrow.
Jitesh Dhuravala, DevIT
Hi Morgan Maguire, CEO Morgan and Savannah Mitchell, Project Manager at Industrial Savannah ,

We are available for any day. Please let us know your convenient day and time.

Thanks,
Jitesh
Savannah Mitchell, Project Manager at Industrial
Thanks Jitesh Dhuravala, DevIT Jitesh .

I sent you an invite for Tuesday, Jan 21 at 11am.

cc Morgan Maguire, CEO Morgan  
Morgan Maguire, CEO
Ok. Looks like the call is happening on Tuesday. Savannah Mitchell, Project Manager at Industrial Savannah can you please ensure you report back to be on the details of the call during our call later that day.

Also, my understanding is that Jitesh Dhuravala, DevIT Jitesh and his team will be creating a new HTML template that will conform with the HTML structure created by the PDF to HTML conversion tool. Kevin Andrews, Industrial Kevin is being consulted to help flag any issues that will need to be addressed, but this will be a DevIT lead initiative. I want to ensure that everyone understands their roles, minimize further back-and-forth, and ensure we achieve a quick and efficient resolution to this issue.

Thanks,

Morgan
Morgan Maguire, CEO
Savannah Mitchell, Project Manager at Industrial Savannah , could you please summarize the results of this morning's call below, and then we'll discuss at the top of the hour.

Thanks,

Morgan
Morgan Maguire, CEO
Hi Jitesh Dhuravala, DevIT Jitesh ,

I understand that you had your call this morning with Kevin Andrews, Industrial Kevin and Savannah Mitchell, Project Manager at Industrial Savannah . I'm not sure if this provided any assistance in resolving the above issue, but let's plan on discussing it during our call tomorrow with Devaang Bhatt Devaang . It is critically urgent that we get this issue resolved as soon as possible, so that we can move both the ISLG and ILG projects forward.

Thanks,

Morgan
Jitesh Dhuravala, DevIT
Hi Morgan Maguire, CEO Morgan ,

Yes, We had call with  Kevin Andrews Kevin and  Savannah Mitchell Savannah  and they are asked me to resolve current issue of multiple paragraph selection from DevIT so we will work on it and let you know as soon as possible. Thanks.


Thanks,
Jitesh
Jitesh Dhuravala, DevIT
Hi Morgan Maguire, CEO Morgan ,

We are on going to resolved issue of multiple paragraph selection and most of cases we have resolved and our QA is doing testing it.  Morgan Maguire, CEO Morgan  , It is not completed we are working on it, I am informing progress of this functionality and its seems like we are near to resolve it. Please check it and let me know your feedback.


Melissa Cowell, General Manager at Industrial Melissa and Kevin Andrews, Industrial Kevin  

Thanks,
Jitesh
Morgan Maguire, CEO
OK. Great, Jitesh Dhuravala, DevIT Jitesh . Glad to hear the team is making progress on resolving the issue. Let us know when everything is ready to go and move the appropriate TargetProcess cards into UAT (according to the new protocols: Development & Testing Process - TOLOGIX - ISLG App Rebuild), and Industrial will perform its testing to make sure everything is fulfilling the necessary requirements.  

Thanks,

Morgan
Melissa Cowell, General Manager at Industrial
Jitesh Dhuravala, DevIT Jitesh  

Thanks for the update, this is great news! 

To confirm, we will not be reviewing this feature or providing feedback until the cards are in UAT. 

Mel
Jitesh Dhuravala, DevIT
Ok Melissa Cowell, General Manager at Industrial Melissa , It will help us to hear from you about you have posted last issues provide in video has been getting resolved or not. We are working on it but our progress also want to confirm that we are going right way.

Thanks,
Jitesh
Morgan Maguire, CEO
Jitesh Dhuravala, DevIT Jitesh , I'd prefer to keep Industrial away from testing anything until it's complete from a development perspective. However, if you have specific questions or concerns about the requirements, please submit inquiries through the relevant cards, or discuss them during a call. I really want to avoid Industrial testing anything that isn't complete going forward.
 
Thanks,

Morgan