✔ Increase research topic limit to 100
Completed by Morgan M.
- Assigned to
-
Harsh P.
Jitesh D.
- Due on
- Notes
-
Further to the discussion in this message: https://3.basecamp.com/3691577/buckets/3565178/messages/1680724521#__subscriptions. Please migrate the changes from dev.islg to www.islg.
We have increased the Research Topic limit up to 100 on www.islg.
I'm testing on www.islg with my account ISLGtesting / ISLG4testing and saved research "Test 100." When going back in, opening that saved notepad, then adding new topics to it, it's taking a couple minutes to add the new topic to the list.
Thanks!
Ryan
Thanks,
Morgan
Ryan
We have changed logic which render the Research Topic data on popup and also optimize the Research Topic data fetch query and uploaded on dev.islg.
I have uploaded above changes on www.islg for testing purpose.
We have checked above scenario using Ryan's credentials and found that Research Topic Popup is opened within 1 to 2 seconds.
But if we having 100 of records under Research Topic then it is taking near about 1 minute to load all 100 record. For other Research Topic it will take 1 to 2 seconds.
Is it possible that any user will save 100 of records under one Research Topic ?
The loading time from the Research Topic window looks a lot better to me.
Thanks,
Morgan
It does seem faster for me with my large test notepad, but on first load can still take 20-30 seconds.
I'm not sure if it's just my test account, but the export DOC isn't showing any bookmarks in it. See attached.
The export DOC is working now on both dev.islg and www.islg.
For Loading 100 of bookmark records, I suggest that If we will use lazy loading functionality for bookmarks records then it will be loaded on demand when user scroll down.
(For ex. We will be fetched 20 records on each scroll down and If bookmark records are less than 20 than scroll will be hidden).
Please suggest.
The lazy load sounds fine to me. However, how would this function if the research topic is loaded into the Research Details window. Would there be slow down there as well?
Morgan
We don't need lazy load for Research Topic Title data. we will set lazy load for bookmark data under Research Topic title. it mean when you expand any research topic title and if bookmark record more than 20 then bookmark record will be loaded using lazy loading.
For an example, Ryan has save 100 bookmarks under Research Topic Title. so we will develope lazy load for those 100 records.
Hope this is fine.
At the same time, I wasn't referring to the research topic titles. I was referring to when the user opens the topic in the Research Details window (see screenshots below). What effect would 100 bookmark links have on this aspect of the application? Would there be significant load times? If so, should we introduce the lazy load feature here as well?
Also, what effect will the lazy load feature have on changing the order of bookmarks through drag/drop?
Thanks,
Morgan
Ryan
There will be no any effected on drag/drop functionality. It is working as it is.
We have developed lazy load for bookmark records and uploaded on dev.islg. Please check and let us know the feedback.
I've run some tests and I'm not seeing a large improvement in load time. In my test account, I'm still seeing initial loading times of my "Test 100" research details taking up to 30 seconds.
Ryan
We are looking in to it and try to improve the performance. Actually, The Encryption/Decryption algorithm is taking some time to decryption each record one by one and fill up in popup.
We will update you soon.
Note I don't want to spend an inordinate amount of time on this issue, but I assume this work will help inform us on how to resolve these issue in the rebuilt environment?
Morgan
We are making Rebuild with new technology and well manner database structure and project architecture. so, we are keeping this thing in mind that we will not face any performance issue in ISLG Rebuild.
For existing application we need to change whole function of loading Research Topic Bookmarks and it will take some time.
Can we start to change whole loading method of Research Topic Detail ?
Please suggest.
Before we proceed, I have two queries:
Morgan
2. Can we run a query to determine the highest number of bookmarks that have been added to a research topic by active users on www.islg (excluding any accounts used for testing or associated with the Tologix or Investor-State LawGuide groups)? This will help us determine if this a material issues to current users, and whether we need to spend the resources at this point to fix it, or leave it for the new platform.
- We have run query on www.islg database and found that highest 97 bookmarks have been added in one research topic by active users.
Following, I have attached report of bookmark count of all active users with column Subscriber Name, Research Topic Tile and
bookmark count.
Please take note that Research Topic Tile is in encrypted format.
Ok. If users are adding that many bookmarks, we better resolve the problem. Please go ahead and implement the fix.
Thanks,
Morgan
We are working on it. we tried different method like lazy loading, paging but we didn't get as much performance which we need.
The reason is Decryption of all bookmarks record one by one. Now, we are going to try encrypt & decrypt all bookmark records through SQL query.
We will keep you updated.
Morgan
We have done Encryption / Decryption through SQL and changed the loading bookmarks data in both Research Window and Popup on dev.islg
Now, The performance of loading bookmarks has been massively improved. Please check and let us know the feedback.
Please take a note that we have also updated already existing bookmarks data through SQL encryption method on dev.islg
Wow. It's a huge improvement in loading times. It doesn't look like we even need the lazy loading feature any more.
Also, just confirm the settings on the current configuration,
Morgan
Morgan
I've found a few bugs to look into please:
Ryan
We need to impose a limit up to 200 topics and 200 bookmarks within each topic.
I think performance will be remain same up to 200 records.
I'm currently out of the office. I'll test the fixes on Monday.
However, just to confirm, the system will be able to handle 200 topics at 200 bookmarks per topic (i.e., a maximum of 40,000 bookmarks)?
Thanks,
Morgan
Everything is working well for me.
Also,
Thanks,
Morgan
Note: www.islg is the same. Was this functionality ever available, or is it a regression?
To reproduce:
1) Bookmark a link
2) In the notepad, delete the bookmark
3) Click the bookmark icon again for the same link
I'm note sure if #2 above is in the existing requirements, but it makes sense to add it.
Morgan
For #2 issue, We can not directly "un-bookmark" the link by clicking on blue bookmark icon. We can remove the bookmark link from Research Window using Delete button. When you delete the bookmark from Research Window then it will be automatically "un-bookmark" (i.e Remove the blue icon from page).
Please suggest.
The issue #3 Re-adding deleted bookmark issue has resolved on dev.islg.
For Scrolling issue (#1), Still I am not able to reproduce the issue from my end. Could you please tell us which OS and browser you tested ?
For issues #2, I don't want to spend anymore time on this issue. We'll leave things as is where the user needs to delete the bookmark from the Research Details.
Thanks,
Morgan
I've run testing and confirmed #3 is resolved. For the scrolling issue, I'm seeing it on Chrome/Mac and Firefox/Mac. I don't see the issue when testing on Windows from my end.
Thanks!
Ryan
I'm not able to reproduce issue #1, it's scrolling as expected. Could this be a Mac issue?
Also,
Thanks,
Morgan
I don't have access to a Mac, so I can't provide any testing feedback.
Thanks,
Morgan
It doesn't seem to be happening anymore if I wait for a second to scroll, rather than moving the cursor immediately into the Notepad window and attempting to scroll. It's not happening every time, so I don't think we should spend anymore time on it.
Thanks!
Ryan
Thanks,
Morgan
It will not cause any performance issue but the loading time might be increase some level (near about 1 minute) because system will be going to fetch 40,000 record. I think this will be OK and we should migrate this task on www.islg.
Let me know when we migrate this task on www.islg.
1 minute loading times are not acceptable. Please lower the limit to 100 topics and 100 bookmarks per topic.
Thanks,
Morgan
When we will merge to www.islg ?
This thing will take approx near about 30 to 35 seconds to load.
Please Suggest
We have set the limit up to 100 in our local environment and tested it for both Research Topic and Bookmarks.
Tomorrow, We will migrate this change on www.islg (Ahmadabad Morning time 10 AM). Because We need to pull down live site for half n hour to update old research topic and bookmark data through SQL encryption/decryption method.
We will also set the offline page during that time.
Hope this is Fine.
Also, what will users see if they navigator to the site during the down time? We need to ensure the notice is something informative. Could you please provide a sample?
Thanks,
Morgan
Following, Attached html file will be run while any user navigator to the site during down time.
Thanks,
Morgan
We have migrated this task on www.islg and all are working fine. We have also encrypted the already exists Notepad data using SQL Encryption Method.
Please check and let us know the feedback.
Thanks,
Morgan
Ryan
I've done some testing on www.islg and it seems to be working very well, but I did notice an issue with bookmarking Dispute Document results. This could be an existing issue, but I'll log it here in case it's a regression.
I'm seemingly only able to bookmark one set of results. See attached video where I perform one search, bookmark it, then perform a second search, and the results for the second one are already bookmarked.
I'm seeing the same problem. This definitely has to be resolved. I'm wondering if this has to to with the fact that the bookmark description doesn't include any details on what was included in the documents directory (e.g., term searched in the search field, filters applied, etc.). I'm fairly certain this resolved in previous versions.
Thanks,
Morgan
We are working on this issue and tomorrow we will be uploaded on dev.islg.
Above Dispute Document bookmark issue has resolved on dev.islg. Please check and let us know the feedback.
Note : Please clear your cache and refresh the Dispute Page before test this functionality.
Morgan, If you need to change the format of bookmark description then Please tell us.
Morgan, we may want to take a look at how we separate the filters within the bookmark, specifically when there are a lot. See screenshot of some searches I've bookmarked on dev.islg where I've selected several different filters. We're using "|" and commas to separate, but it's not entirely obvious in some cases.
We dealt with this a long time ago when we originally built the tool in 2014. The following document, provides requirements on what should be included in bookmark descriptions:
Section 4(a) deals specifically with bookmark descriptions under the Dispute Documents tab.
Thanks,
Morgan
We have updated the Dispute Document bookmark description as per attached word file and uploaded on dev.islg.
Please take a note that If user selects multiple check-boxes in filter then we separated the value with "-". Because There is no description available in word document if multiple check-boxes selected in Dispute Document Tab.
For Ex. If user selects English & Spanish language then bookmark description will be displayed English-Spanish.
Let's used " + " to indicate more than one filter selection from the same type (e.g. English + Spanish), and " | " to indicate additional filter types (e.g., English + Spanish | Albania - Greece BIT (1991) + Argentine - United States BIT (1991)).
Using hyphens doesn't work, because they are found in the text for the labels of treaties and arbitration rules.
Thanks,
Morgan
As per above comment of Morgan, We have changed the bookmark description format of Dispute Document set and uploaded on dev.islg.
Please check and confirm.
I've found some formatting issues and a functional issue. See below:
Thanks!
Ryan
Above all issues have been resolved and uploaded on dev.islg.
Please remove all your existing bookmarks under "Dispute Doc testing - 0509" and check again.
Ryan
The "++" issue has bee nresolved on dev.islg. Please check and confirm.
Morgan
We have migrated this task on www.islg. Please check and confirm. Please clear your cache or refresh the page properly to load all JS files.
Things looks good to me.
Morgan
Thanks!
Ryan
Morgan