Coder Social home page Coder Social logo

noctua-landing-page's Introduction

Noctua Search

An interface for the Search API

Endpoint

api/search

  • Default sorting is date DESC recent models
  • Default n models per page
  • All the parameters are optional and by default it should bring recent n models with 'Date DESC'

Parameters

Parameter Format Comments
gps (optional) list<gp> A list of one or more gps in a model (AND operator)
goterms (optional) list<goterm> A list of one or more GO terms in a model (AND operator)
pmids (optional) list<pmid> A list of one or more pmids in a model (AND operator)
taxa (optional) list<taxon> A list of one or more taxon
Model Meta
title (optional) string Partial String (contains) so it works like the current landing page
states (optional) list<state> A list of one or more model states 'development, production, closed, review, delete' (OR operator)
contributors (optional) list<contributor> A list of one or more contributors in a model (AND operator)
groups (optional) list<group> A list of one or more groups(provided by) in a model (AND operator)
date (optional) date model date)
Pagination (optional, none or all)
page int Page number
offset int Page Offset
limit int Page Size

Return

total count matched models for progressive pagination when one needs second page

A list of

Parameter Format Comments
model id iri A model id
matched nodes list<iri> A list of one or more matched individual nodes
Model Meta
model title string A model title, first title annotation is fine if many
model state string A model's state
model date string A model modified date
model contributors List<contributor> A list of model's contributors
model groups List<groups> A list of model's groups (provided by)

Development server

Run npm start for a dev server. Navigate to http://localhost:4203/. The app will automatically reload if you change any of the source files.

noctua-landing-page's People

Contributors

kltm avatar tmushayahama avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

noctua-landing-page's Issues

Task 1 - Welcome message for the NLP

Task requirement from Noctua Landing Page Project

  • Create a welcome message
  • Integrate and design the welcome message in the landing page (should be scrollable and not fixed)

Linked to #2

"exact term" is no longer default

Since the last update, it appears that searching on the exact term in no longer the default. One has to check the box to make it the default. I never had to do this before so I assume 'exact term' was the default.

Task 1 - Update the navigation bar look and feel and links

Task requirement from Noctua Landing Page Project

The navigation bar should have the same design as the one used on geneontology.org. Links to HTML pages and SASS from GO site:

The GO logo should also be clickable and redirect to the main geneontology.org site.

The navigation bar should also contain two links:

  • About Noctua
  • Curation Manual

As well as a dropdown icon on the right for login/account preferences

Linked to #2

SARS-CoV2 is listed as a blank entry in the browse species list

Creating the ticket here since this is where the issue is visible, although the work may need to be done elsewhere.

The Browse species menu has a blank entry that, when clicked, shows three SARS-COV2-containing models.

We need to update the Browse species menu to list the proper species name for SARS-COV2.

Task 1 - global overview

This task relates to the layout and UI components of the Noctua Landing Page.

Notes:

  • This repository will be based on the code of Noctua Search. As much as possible, this should be kept modular for sharing with Noctua Form and ART
  • Unless (medium) or (low) is defined, the task is considered a high priority

Navigation bar / header

  • share header with geneontology.org
  • links & menu (left): GO website, About Noctua, Curation Manual
  • login / account preference (right)

Footer

  • same disclaimer as geneontology.org

Left content (BorderLayout.LEFT)

  • welcome message (TBD by @vanaukenk)
  • search/Browse panel (left) must be opened/unfolded by default
  • remove filter button as essentially the same as search
  • in Search panel, check with @vanaukenk for the appropriate orders of options (eg GO term, GP, PMID, etc)
  • (medium priority) in search panel
    • add search by species
    • add search by specific & range date
    • fix term / gp autocomplete to show both label & id
  • (medium priority) browse panel
    • use AGR species icon ? or look for SVG
    • add browse by species
    • add browse by date (specific & range)

Main content (BorderLayout.CENTER)

  • show number of models; when search, show number of results / number of models
  • GO-CAM table based on Noctua Search
    • add pagination (use MinervaAPI &count parameter)
    • remove "Apps" icon
    • table columns: Title, Date, Status, Contributors, Edit (form/graph), Export (GPAD/OWL)

Tooltips

  • @vanaukenk revisit current tooltips and see what to change (eg Search -> Search GO-CAMs; @cmungall do we want Search models to be more generic ?)

Consider adding an 'announcements' banner

It might be helpful users if we could add an 'announcements' banner to the Noctua landing page that could be used to announce, amongst other things, planned outages.

This would likely be an effective way of reaching active Noctua users.

Not a high priority issue for now.

Browse by Species field is wrong size

@tmushayahama noticed the fields for each species are not large enough and cuts off top/bottom of text. Might be solved by increasing the width of that field to use up some of the blank real estate, would definitely be solved by increasing the height.
image

Clear should clear all values

When I search using the Date Range and then try to reset the search by pressing 'Clear' at the bottom of the page, only the End Date cleared.

The Start Date retained the date I'd entered previously.

New bug in mousing over form and graph icons

This is a new bug with the latest workbench updates.

On Noctua-dev, when I mouse over the form icon to the right of a model, the resulting text says 'Form Editor' (which is new text).
But now, if I move my mouse to the graph icon, the 'Form Editor' text doesn't go away and I can't click on the graph icon.
I have to move my mouse to another part of the landing page, come back, and can only get to the graph icon if I steer clear of the form icon, i.e. move my mouse from the far right side of the page.

This doesn't happen on production Noctua. I can move my mouse from the form to the graph icon and always get the right mouseover text and ability to click on the graph icon.

Figure out a way to limit what groups are listed on the landing page

The list of groups on the landing page reflects what is in the groups.yaml file, but that yaml file contains a number of groups that likely do not have annotations in GO nor will ever create GO-CAM models.

We need to make this list more user friendly by coming up with a subset that reflects GO content and Noctua use.

Putting this ticket here since this issue manifests on the landing page, but the work may require tickets in other trackers.

Enable searching on obsolete terms

It would be useful to be able to search for an obsolete term on the landing page. For example, if there is an obsolete term, I could ask ' show me all models/annotations that have an annotation to a term that has been obsoleted. '
This is important for the times that we fall behind the deadline time table for the spreadsheet reviews

Getting all annotations to an obsolete term in a single search

As an add-on or perhaps concurrently with #98, the MGI curators would also like to be able to do a search that returns all annotations to obsolete terms. #98 allows for the search of individual terms, but curators would find it useful to be able to do the more global search to see if they have missed any clean-up. In those cases, they might not know which specific term on which to search.
ping @LiNiMGI

Standardize Organism filter

Hello,

For all fields except for 'Organism', each box has 'filter by X'; while Organism has "Add organism filter" and is greyed out, see screenshot:

image

Is it possible to

  • Change the text to 'Filter by organism'
  • make the text the same color as other boxes

(Reported by Swiss-Prot curators:)

Thanks, Pascale

add ability to filter on model id from the landing page

A curator has asked for the ability to search on a model id from the landing page instead of having to paste it into the url. When doing QC reports, it is often easiest to find models by model id because that is what is listed in the GPAD properties. We should allow users to filter by model id on the landing page and it should become a user story for the ART.
ping @hdrabkin @vanaukenk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.