Commit graph

169 commits

Author SHA1 Message Date
cdtank
cc58112373 1. Fix for the flicker in appearance of the Temporal Graph Link for highest Level org on the "organizations" page. Made change so that the link is hidden by default & only shown when we have a link to report back. 2011-02-01 17:41:17 +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
mb863
183c620890 NIHVIVO-1972: Increased size of pie chart in menupage people 2011-02-01 15:24:49 +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
nac26
10a9f8750b NIHVIVO-1948 Pulled pagination out into its own function so it can be called by the default file and any product extension. Also introduced scrolling to getIndividuals(). Not sure if we'll keep this. 2011-01-31 04:04:23 +00:00
nac26
5e22691146 NIHVIVO-1073 Menu page refactoring. Removed temporary placeholder files and introduced pie charts on menu pages. UI team will compare with bar graphs on home page and determine whether we'll stick with one type over the other or throw them both into the mix. 2011-01-28 18:27:01 +00:00
mb863
7580db63e0 NIHVIVO-1315, NIHVIVO1316: Added ellipses to link "more" for showing more core:overview content 2011-01-26 22:17:19 +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
nac26
bac2011271 NIHVIVO-1073 Pagination for browsing individuals 2011-01-26 14:33:13 +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
mb863
1343472ca0 NIHVIVO-1315: Added jQuery HTML Truncator for for showing "more"/"less" content with core:overview data property 2011-01-24 21:21:09 +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
nac26
5a30680747 NIHVIVO-1073 Markup and stylesheet cleanup. 2011-01-18 11:46:52 +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
nac26
58b492214e NIHVIVO-1073 NIHVIVO-641 Refactoring default vitro level behavior of menupages (does not assume any classes and is not ontology aware). Introducing the ability to proxy the default behavior defined in browseByVClass.js and define something different in browseByVClassPeople.js with how we render the retrieved individuals. 2011-01-14 15:15:32 +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
nac26
c6f0d227a9 Refactored approach for inserting visualization links on menu pages. Still hoping to remove JavaScript altogether based on outcome of NIHVIVO-1681 2011-01-13 14:00:56 +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
cdtank
7e9bcdaab2 1. Created folder structure for the theme components (css, images, js) so that visualizations can become theme agnostic.
2. Modified FreeMarkerized (FM) sparklines on the profile page to actually make calls to freemarker version of person publication count sparkline. (TODO: currently the code to replace "/visualization" with "/visualizationfm" is hard coded. Thsi will be resolved once change is made in IndividualController to call FM personPubCount controller.)
3. Added new templates for FM version of visualizations. 
4. Added a new bean which recognized FM versions of visualizations.
5. Created FM branch of the visualization architecture & Person publication count visualization.
6. For Person pub count abstracted out the html/javascript code creator to be on the front end itself. (TODO: refactor SparklineData VO to remove attributes that save the html/js code.)
2010-12-13 20:07:51 +00:00
bkoniden
5dbe8f00b1 Added licensing information to the files I created. Deleted freemarker files/folders that i've created inside src/edu/cornell/mannlib/vitro/webapp/visualization. Since chintan is working on Freemarker-ization, he's going to take care of it. 2010-11-30 22:42:34 +00:00
bkoniden
22ae33bab6 Integrating the latest swf file and added changes to person_level.js accordingly. 2010-11-29 17:23:40 +00:00
bkoniden
4bb68f332e Fixed the bug related to "loading up Co-Author/Co-PI" visualizations and their dependency on the domain name. 2010-11-23 23:02:39 +00:00
bkoniden
415670e28d Fixed the problem of Axis text not being in the middle. 2010-11-23 19:43:53 +00:00