Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArachisPheno: Customization #3

Closed
sdash-github opened this issue Mar 27, 2020 · 39 comments
Closed

ArachisPheno: Customization #3

sdash-github opened this issue Mar 27, 2020 · 39 comments
Assignees

Comments

@sdash-github
Copy link

The ArachisPheno doesn't have to be an exact replicate of the Arabidopsis portal. We will need only certain features, at least, in the beginning. This issue is to help us gradually settle on which features, UI included, we need. The features list should evolve as we work through the site and the data we have keeping in mind the flexibility factor for future needs.

@svengato
Copy link
Collaborator

I am happy to make a first attempt at customization (for your review).

  1. Are there any restrictions on image sources? (I will look for public peanut images, PeanutBase seems to only have small ones)
  2. Whom should we list as collaborators? (NCGR, Iowa State, etc) I will also credit the original AraPheno project.

@sdash-github
Copy link
Author

sdash-github commented Mar 27, 2020

A few thoughts about this.

Header

-- The PB (PeanutBase) image at the top left is sort of the representative image we have been using in presentations and posters.
(https://peanutbase.org/sites/all/themes/peanutbase_theme/images/peanutbase_logo.png)
-- Along with this the header color scheme and the PeanutBase text will make it look like part of PeanutBase (guiding theme here is: As much as possible it should not look like foreign to PB).

Iframe

-- We have successfully used, at PB and LIS, Iframing independent sites into a PB page to give it a very native look while preserving the top level UI-Navigation elements.
-- Examples are:
(https://peanutbase.org/gbrowse_aradu1.0),
(https://peanutbase.org/germplasm/gigwa), etc.

If we decide to use it within an Iframe, probably it should be when the data is public. So the CSS parts for mainly the header part may be kept minimal and flexible for later consideration.

@sdash-github
Copy link
Author

sdash-github commented Mar 27, 2020

About the credit:

Let me think about a bit more, as it is being developed, initially, with funding from a project and if we need to acknowledge this fact explicitly.
But you can go ahead with what seems suitable to you for now and we revisit the issue later.

@svengato
Copy link
Collaborator

  1. Who should be the e-mail contact person?
  2. Copyright dates? (2020?)

@sdash-github
Copy link
Author

  1. In the final version I think it should be (https://peanutbase.org/contact) which is a list of individual emails.
    But for now during development I don't want to flood everybody's inbox unnecessarily. You can keep your or my email, sdash@ncgr.org, depending on how often it is triggered when you are working on the site.
  2. Today's date is fine with me.

@adf-ncgr
Copy link

from Sven:

Customization is partially accomplished. None of it is checked in yet, but it should be visible on the development site. The plan is to do it in three waves: (a) AraPheno -> ArachisPheno and other species changes, (b) institutional changes, (c) spelling and grammar corrections.

regarding the image question from earlier, maybe the current weedy backdrop could simply be replaced with a solid color and the small image Sudhansu suggested from the main site be put somewhere without trying to make it fill space.

We'll need to gut/replace the news/twitter items. my personal preference would be to just go minimalist, by commenting out blocks where we think we might put something someday, and just focus on core functionality as much as possible.
I'd suggest we disable the RNA-seq slider as well as whatever the thingy is that wants to use flash.

@svengato
Copy link
Collaborator

Do we want to keep any of the links on the Links page? Some are Arabidopsis-centric.

Besides PeanutBase, are there any we should add? (for example, the Community links on PeanutBase)

@svengato
Copy link
Collaborator

I do not see an easy way to guarantee that the (small) peanut part of the background image will be visible. See what you think of the one I have up now. Some actual peanuts appear as you scroll down.

@adf-ncgr
Copy link

very peanut-ty, but a bit hard to read the text. I'll defer to Sudhansu on questions of style, though.

@sdash-github
Copy link
Author

I am working on a quick and simple mockup of the front page for Sven with the idea that it can be iframed in PB when necessary.

@svengato
Copy link
Collaborator

I made a simpler version combining your suggestions, see what you think of it.

@sdash-github
Copy link
Author

Here is a GoogleDrive slide that should give you an idea of a simple interface.
https://docs.google.com/presentation/d/11KW-OFo0IYQQ2a--P1bH7LXmViNp-tOoWfFGf1HIZC4/edit#slide=id.g828d4cbe32_0_80

  • I have conceived it to fit into the PB theme and future iframe-ing. We may want to keep it as flexible blocks that we can shuffle if necessary.
  • The blocks I have shown are only suggestive and may change. I haven't thought about it yet.
    (I am preparing data and will have a better idea of the block elements and other UI elements as we start looking at the data)
  • I am thinking of removing the word 'public' from the front page block titles as that may imply we have private data too. We don't know that yet-- but that will be great if we can have both public and priv datasets.
  • Let us evolve the look and feel as we go.

@svengato
Copy link
Collaborator

I will leave the background like this for now, and move on to replacing the AraPheno institutions and links.

@sdash-github
Copy link
Author

But do you plan to revisit and change the look later?

@svengato
Copy link
Collaborator

Yes, we can evolve it as we go.

@svengato
Copy link
Collaborator

I started customizing the institutional links, and removed AraPheno news items. Is there a peanut Twitter feed?

@sdash-github
Copy link
Author

sdash-github commented Mar 28, 2020

Yes, pl see (https://peanutbase.org) footer (https://twitter.com/peanutbaseorg)

@svengato
Copy link
Collaborator

I replaced (or commented out) institutional links over the weekend, and corrected the most obvious spelling and grammar mistakes this morning. Still to do:

  1. "How to Cite ArachisPheno" FAQ
  2. Remaining references to arapheno.1001genomes.org
  3. Remaining "arapheno" references (module and settings) in the python code
  4. Process for adding and curating studies and phenotypes
  5. How to generate download.zip
  6. Remove commented-out institutional links
  7. Configure DOI and e-mail servers
  8. Follow up on getting the Docker version to work (this version is uncontainerized)
  9. Remove other undesired features (Flash, RNASeq?)
  10. Confirm that we do not need the "Impressum" in the footer (is that a European legal requirement?)
    11-99. Anything else you notice.

@svengato
Copy link
Collaborator

svengato commented Apr 1, 2020

Do we have a DataCite account (or "prefix")?
https://search.datacite.org
This is for linking studies to citations.

@svengato
Copy link
Collaborator

svengato commented Apr 1, 2020

For now, I replaced all uses (as opposed to mentions) of "arapheno.1001genomes.org" in our HTML files with "<BASE_URL>". <BASE_URL> should eventually be our production site.

@sdash-github
Copy link
Author

sdash-github commented Apr 1, 2020 via email

@svengato
Copy link
Collaborator

svengato commented Apr 1, 2020

Okay, I will look into replacing it with PubMed.

@svengato
Copy link
Collaborator

svengato commented Apr 3, 2020

Please let me know if we need more (or less) institutional links before the presentation (see the About and Links pages).

@sdash-github
Copy link
Author

sdash-github commented Apr 3, 2020 via email

@sdash-github
Copy link
Author

sdash-github commented Apr 3, 2020 via email

@svengato
Copy link
Collaborator

svengato commented Apr 3, 2020 via email

@sdash-github
Copy link
Author

Yes, remove. I couldn't immediately find any markup for strikethrough.

@svengato
Copy link
Collaborator

svengato commented Apr 3, 2020

Feel free to make those institutional changes (depending on mood).

@svengato
Copy link
Collaborator

svengato commented Apr 6, 2020

e-mail is now configured correctly, at least for this development version. For example, ArachisPheno automatically sends the user a status message when they submit a study or it gets curated or published.

@svengato
Copy link
Collaborator

svengato commented Apr 7, 2020

The Download Database feature (from the Home page) now works (except for some issues with the PLINK output, which should be fixable). As in the original AraPheno, it only downloads a preexisting database archive, it does not generate one on the fly. To generate such a snapshot, run
python manage.py generate_database_dump
from the command line (from the ArachisPheno/arapheno directory).

However, this earlier issue

Here is a GoogleDrive slide that should give you an idea of a simple interface.
https://docs.google.com/presentation/d/11KW-OFo0IYQQ2a--P1bH7LXmViNp-tOoWfFGf1HIZC4/edit#slide=id.g828d4cbe32_0_80

omits the Download Database, Take a Tour, and Feedback & Issues features. Let me know if you really want to remove those.

@sdash-github
Copy link
Author

sdash-github commented Apr 7, 2020 via email

@svengato
Copy link
Collaborator

svengato commented Apr 7, 2020

Tentative changes - let me know if they satisfy the above requests.

  • Commented out the Home page introductory text, leaving only the global search box. (5)
  • Also changed the example global search terms.
  • Commented out Download Database and Take a Tour features. (2,3)
  • Feedback & Issues now links to the PeanutBase contact page. (4)

@sdash-github
Copy link
Author

sdash-github commented Apr 7, 2020 via email

@svengato
Copy link
Collaborator

svengato commented Apr 7, 2020

Looks like we can get the data via REST API without having to login--

Confirmed - I will prioritize fixing that.

@svengato
Copy link
Collaborator

svengato commented Apr 7, 2020

The REST API should be secure now - try it while logged out.

@sdash-github
Copy link
Author

sdash-github commented Apr 7, 2020 via email

@svengato
Copy link
Collaborator

svengato commented Apr 7, 2020

  1. The idea is not to remove, but to gradually introduce them as we go
    and feel the necessity.
  2. Therefore, hiding those interfaces is the ideal solution for now. And
    please document how/where you hid them so that I can revisit them later.

To restore the Data Download and Take a Tour features, undo the relevant HTML comment tags from this commit (lines 69 & 74, 87 & 95, and 106-107): f5503fa

@svengato
Copy link
Collaborator

svengato commented Apr 8, 2020

Shall we close this one and split off individual issues?

@sdash-github
Copy link
Author

sdash-github commented Apr 8, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants