Commit graph

121 commits

Author SHA1 Message Date
cdtank
3aa9d2879f 1. Partial fix for NIHVIVO-2150, now the temporal vis only shows line graph only for the last complete 10 years. 2011-04-13 16:23:02 +00:00
cdtank
44f4792df5 1. changed text in the side-bar for person level vis. Now when the "ego" person node is clicked we no longer display the co-author / co-pi vis link, since it is redundant. 2011-04-13 15:41:26 +00:00
cdtank
e76fb35492 1. Fix for error message not showing up when you switched the parameter in the temporal vis & there happens to be no data available for that parameter for that organization. 2011-04-13 14:23:55 +00:00
cdtank
ae43216396 1. In Temporal vis developed vis drilling up from lower level. (see http://issues.library.cornell.edu/browse/NIHVIVO-1800)
2. Refactored client-side code for temporal vis.
2011-04-12 17:49:53 +00:00
cdtank
f7452b1bce 1. Added dynamic reload of data instead of page refresh, for temporal graph vis.
2. Added link-textbox for viz of each parameter form the dropdown box in temporal vis.
3. Made sure that the choices are preserved when another option is selected from the dropdown box.
4. Refactor of some legacy front-end code for temporal vis.
5. Added legend for bars drawn below the graph.
6. Formatted the last cached at date time.
2011-03-31 15:37:32 +00:00
cdtank
0d21538a1d 1. Improved language for the message to be displayed when it takes a long time to display temporal vis.
2. Fix for unreadable y-axis numbers for huge values. (see http://issues.library.cornell.edu/browse/NIHVIVO-2277)
3. Changed display text for last cached at date.
2011-03-23 17:13:45 +00:00
cdtank
caa941049b 1. Updated front-end for temporal graph to display helpful message when it takes mnore than 10 seconds to get the data, most likely due to a cached version not available for the requested entity. 2011-03-22 20:59:59 +00:00
cdtank
4d008e00c5 1. Made use of the lastC 2011-03-21 22:40:27 +00:00
cdtank
c49e8d1d75 1. Completed the caching-like version for temporal graph for grants.
2. Changed the timeout for front-end getter for temporal vis data since the first time a user requests grant comparison it might take a long time.
2011-03-19 00:11:58 +00:00
cdtank
d00685eee0 1. Made changes so that in temporal vis, the pagination navs for the datatable are hidden if there is only one page worth of elements or no pages at all. (see http://issues.library.cornell.edu/browse/NIHVIVO-2191) 2011-03-03 21:59:05 +00:00
cdtank
8ba4e02968 1. Smoother transition for loading screen.
2. Fix for IE not reacting to change events.
2011-02-11 23:35:53 +00:00
cdtank
ad3497d0bc 1. Partial fix for NIHVIVO-2130. Now the downloadable csv file properly prints out all the authors, with same name. The right hand side bar still prints wrong values in case of authors with duplicate names.
2. Solution for 2 stage loading for temporal graph where now when the intial call is made to it, it returns with the markup & js lib includes & then makes an ajax call to get the data file in json format which is the used to render the linegraph & the table.
2011-02-11 19:06:49 +00:00
cdtank
a9214be4a2 1. Fix for people directly not attached to an organizations not showing up, if the organization happens to be higher up in the hierarchy where it has other sub-organizations beneath it.
2. Made changes to the front-end to reflect new content in temporal vis.
2011-02-04 22:36:23 +00:00
cdtank
da4cc41fa4 1. Fixed the javascript & style bug that appeared in different versions of IE for temporal graph vis. (see NIHVIVO-2035) 2011-02-04 18:46:05 +00:00
cdtank
49116a20b2 1. Changed wordings for CSV file downloads & Network Image files for co-author & co-investigator networks.
2. Changed Temporal Graph legend links to be save as other clickable links (blue-ish)
3. Changed wordings on temporal graph vis.
4. Changed default sorting to be first on counts (desc) & then entity names (asc)
5. Changed how the constants were intiated for temporal vis, this is preparation for other tasks.
6. Since now if no URI is provided to the tmeporal graph vis it defaults to the highest levbel org. Removed the AJAX call to a utilites servlet that calculated this beforehand.
2011-02-02 21:04:36 +00:00
cdtank
eb31c796e5 1. Fix for bar display bug in temporal graph vis (see NIHVIVO-1971). A minimum of 1 pixel is assigned to any bar. 2011-02-01 16:14:11 +00:00
cdtank
5cacc57292 1. Made changes so that on individual pages the div containers for network links & sparkline image/text is only generated if there is content to be shown. This as opposed to always creating it first, hiding it & then shoing the container if there was any content.
2. Made sure that network link DIVs are separated by border & padding only if there is need. Now if a person only has grants, on it's profile page there is no longer border & padding on top of the co-investiogator link.
2011-01-31 17:40:06 +00:00
cdtank
81f089389d 1. Fixed the bug (see NIHVIVO-1794) where wrong language was getting displayed in the sidebar for person level visualizations. 2011-01-26 22:01:59 +00:00
cdtank
f69e2eb904 1. Did minor refactor in preparation for saving the state & possibly just swapping daata instead of redirecting to a completely new page when the change in parameter happens on the temporal graph vis. 2011-01-26 18:15:17 +00:00
cdtank
e7e3fb41ec 1.Changed the style for when content for a parameter's comparison is loading. 2011-01-25 20:09:32 +00:00
cdtank
6faa26a872 1.Changed the style for when content for a parameter's comparison is loading. 2011-01-25 20:08:54 +00:00
cdtank
7dd38fc00d 1. Improved the behavior when the switch of parameter happens. 2011-01-25 01:28:11 +00:00
cdtank
1f7962a454 1. Made style changes to the temporal graph vis per Katy's suggestions.
2. Refactored the temporal graph views (based on different comparison parameters). Now there is one basic template from which different parameter templates inherit.
3. Did code cleanup for the same.
4. Removed GUI related javascript into separate file & include it in the common basic template for temporal graph vis.
5. Reflected the changes in the servlets as well.
2011-01-25 00:55:47 +00:00
cdtank
8a3f71f08f fixed license issue 2011-01-24 15:28:19 +00:00
cdtank
c920c84699 1. Refactored some visualziation helper functions spread across different files into one javascript file.
2. Fixed the bug NIHVIVO-1595. Now for https: sites the sparkline visualizations are rendered by generating a chart image url instead of going throught the google visualization API. This image is directly placed in the container. For http sites it follows the old procedure.
2011-01-22 01:14:42 +00:00
cdtank
6af3fee6b1 1. Changed layout per Katy's suggestion for Temporal Graph Vis.
2. Refactored javascript code for Temporal graph vis.
3. Fixed couple of bugs including the one in which an entity had only one publication the line graph showed weird behavior.
4. Modified the behavior of the temporal linear graph to always try to display last 10 years at least on the line graph.
2011-01-19 23:47:52 +00:00
cdtank
f6429af187 1. Made changes so that publication related visualization queries respect the 1.2 ontology's date proeprties & also pre-1.2 onotology data. It first attempts to get date using new property, failing which it sees if date is present in old property & proceeds accordingly.
2. Refactored code for temporal graph vis. Fixed couple of bugs in it.
2011-01-19 20:23:22 +00:00
cdtank
609e5fd763 1. Removed generic styles so that vivo-sitewide styles are not overridden
2. Changed manual script includes to let template it do for us.
3. Changed default 10 colors for temporal graph line bars.
2011-01-14 21:39:11 +00:00
cdtank
a4686f0f77 1. changed the layout & style for temporal graph vis.
2. Added latest version for datatable jquery plugin.
3. Changed pagination GUI for tmeporal graph vis.
2011-01-14 18:14:03 +00:00
bkoniden
51f108547a 1) Created a ftl for displaying Temporal vis Grants.
2) Made changes to util.js to reflect the state (grants or pubs)
2011-01-14 17:56:56 +00:00
cdtank
63a3e318ea 1. Added comment about the new visualization.topLevelOrg property for deploy.proeprties. Added similar content for install.txt.
2. Made front-end improvements to temporal graph vis per Katy's suggestions.
3. Made improvements to person level vis front-end.
2011-01-13 21:30:15 +00:00
bkoniden
9971e5fa2b Committing the following changes
1) Handling Null pointer Exceptions for EntityPubCount, EntityGrantCount and EntitySubOrganizationTypes
2) Removing the dependency on vis_mode parameter in the server side code. The class the individual belongs to is retrieved using vitroRequest.getWebappDaoFactory().getIndividualDao().getIndividualByURI(IndividualURI).isVClass(ClassURI)
3) On the client side, the vis_mode parameter is set(from the value passed on by the requesthandler) to differentiate between personURL and SubOrganizationTemporalGraphURL on drill down.
4) Added entityComparisonErrorActivator.ftl to handle edge cases (if the resultset of the queries is NULL)
2011-01-12 23:16:30 +00:00
cdtank
c7b9c208ef 1. Made changes to the URLs in the repository to use /visualization instead of /visualizationfm 2011-01-12 19:59:20 +00:00
cdtank
ee81f45917 1. Code cleanup & refactor of temporal graph front-end.
2. Added the feature that top 3 entities are always selected by default when page is loaded.
2011-01-11 22:42:56 +00:00
cdtank
84f5b029fa 1. Did a refactor of the javascript code for temporal graph vis.
2. Implemented the ellipsis feature for the legend row (containing the bar & label for selected entities). If the label is too long it will try to fit in the provided space & append "..." at the end.
2011-01-11 19:50:21 +00:00
cdtank
3cd9016715 1. Fixed the notification bug in temporal graph vis for IE. 2011-01-08 00:03:26 +00:00
bkoniden
a740497bb6 Committing the following changes
1) Added entry for entity_grant_count in visualizations-beans-injection-fm.xml
2) Styling changes in layout.css -- changed the styling for buttons.
3) util.js -- Removed hardcoding of URLs see NIH VIVO 1618 and 1619
4) Made queries for EntityGrantCount, EntityPubCount and EntitySubOrganizationTypes more generic. Added Export as CSV functionailty for EntityGrantCount
2011-01-07 21:59:59 +00:00
cdtank
c5904868c0 1. Added notification plugin for the temporal graph vis,
2. Made sure that notification appears when more than 10 entites are attempted to be compared.
2011-01-06 20:52:23 +00:00
cdtank
58336a27de 1. Fixed the bug in temporal graph vis, where more than 10 entities could be selected.
2. fixed the notification to show a proper error message & for decent amount of time.
3. Did major reactors to javascript code to make it go faster.
2011-01-06 18:25:04 +00:00
cdtank
65480ffee7 2011-01-05 23:31:17 +00:00
bkoniden
6c9ec68641 renaming messup with svn commit. so re-adding entitycomparison again. 2011-01-05 16:52:11 +00:00
bkoniden
c8b37b8271 Deleting entityComparison js files -- changed the name to entitycomparison. 2011-01-05 16:27:11 +00:00
cdtank
a127d6337d 1. Made style changes for the indivudal page in the sparkline visualization section.
2. Moved co-author n/w link from publication sparkline template to indiv*-sparkline*.ftl
2011-01-04 18:08:21 +00:00
cdtank
98a4887065 1. Refactored javascript includes for person level page to reuse the code instead of duplicating it between coauthorship & copiship.
2. Fixed "back to profile" link.
3. Removed now redundant js files.
2011-01-04 01:21:15 +00:00
bkoniden
c74821f302 A bunch of changes like
1) Freemarker versions of Co-PI visualizations. CoInvestigator.ftl, CoPIPersonLevel.ftl, person_level_fm-copi.js.
2) Styling changes to Temporal graph.
3) Adding co_author, co_pi and temporal graph icons.
4) ftls related to sparklines. (CoAuthorship and CoPI)
5) Styling changes to CoAuthor/CoPI visualizations -- page.css, coauthor_style.css, coinvestigator_style.css
2011-01-03 22:47:34 +00:00
cdtank
7568601dc4 1. Modified javascript for person level page to adapt tp freemarker changes.
2. Abstracted out the table generating code for sparklines out. This gives us flexibility to put the table wherever we want in the template.
3. Made changes to coauth person l;evel page to display all the content. TThe data is all there with links.
4. Adapted person pub count & coauth sparklines to adapt to new table generating template.
5. Changed coauth vis code gen to include a missing data value.
6. Fixed a bug in person level req handler.
2010-12-23 23:55:57 +00:00
cdtank
419c9dbfb5 1. Modified dependency injection bean to use proper packages.
2. Started the bifurcation process of person level into coauthor person level & copi person level.
3. Fixed person pub count sparkline to use new data structures.
4. Modified co athor vis code genrator to save some more data for use by the templates.
2010-12-23 16:51:03 +00:00
bkoniden
209c9b6a7b Made changes (css, jsp and js) to reflect the latest mockup. 2010-12-17 17:07:44 +00:00
cdtank
06523d402e 1. Changed vis architecture to serve 3 type of responses from 3 corresponding url patterns (standard, ajax, data).
2. Removed debug statements from publication sparkline ftl.
3. Reworked publication sparkline & utilities visualziation to ahere to new architecture.
4. Started work on co-authorship freemarkerization.
5. Removed FileResponseValues type per talks with Rebecca Y. & Nick C.
6. Temporarily disabled person grant count visualization (freemarker version).
2010-12-16 01:18:39 +00:00
bkoniden
313a2da5da committing persongrantcount related files,new Egocentric swf file, CoPIVisCodeGenerator, person_level.js (to include co-author and co-pi vis). 2010-12-15 17:20:57 +00:00