Commit graph

77 commits

Author SHA1 Message Date
nac26
541ee8b4d2 NIHVIVO-2048 removed menupage--classgroup-organizations.ftl and any accommodations made for it 2011-02-05 17:45:33 +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
nac26
15e9eeb8dc NIHVIVO-1073 Forgot to apply change to message displayed when no individuals are found for requested letter in alphabet to browseByVClassPeople.js 2011-02-03 22:32:01 +00:00
nac26
d59e10466a NIHVIVO-1995 Forgot to apply the new wipeSlate() function to browseByVClassPeople.js in r2512 2011-02-03 17:29:28 +00:00
nac26
5d8f0a4cd0 NIHVIVO-1995 Refactored scrolling behavior and added function to determine whether user has already scrolled past the top of the browse section. NIHVIVO-2007 Had to change <nav> for pagination to <div> because IE was choking on this for some reason. Wouldn't style it and also wouldn't act on the event listeners. As part of this work, also refactored the sequence in how new content replaces existing content on an Ajax request, which I think improves the experience during loading (NIHVIVO-1742). 2011-02-03 13:55:06 +00:00
nac26
fd49b9f942 NIHVIVO-1997 Removed pie charts and class group browse from menu pages due to current limitations of individual counts for classes. This should all be brought back from the dead in the future once we implement counts based on most specific type. 2011-02-03 03:06:45 +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
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