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

Create a current RFA view #89

Open
eichmann opened this issue Feb 21, 2020 · 9 comments
Open

Create a current RFA view #89

eichmann opened this issue Feb 21, 2020 · 9 comments
Assignees

Comments

@eichmann
Copy link
Member

Pull data from our RFA cache for display on the main landing page

@eichmann eichmann added this to User Interface Design in Website Redesign Feb 21, 2020
@eichmann
Copy link
Member Author

The two immediate options are an iframe wrapping a JSP lurking in labs and a batch daemon that pushes RFA entities into Drupal via the API.

@amikaili
Copy link
Member

I would be glad to explore the Spring Batch option? Do these RFA entities currently reside in a Postgres database (and connected to the current WordPress site)? Please send the Url (for the RFA View)?

@amikaili
Copy link
Member

@eichmann
Copy link
Member Author

@amikaili A launch daemon on wintermute runs daily, poplating nih_foa schemas on neuromancer, wintermute and colossus. That daemon also triggers the Lucene index regeneration on guardian (aka labs.cd2h.org). The widget on the landing page is a custom block ("NIH FOA") with an iframe that executes the embedded_search.jsp page with a query of "informatics". While this is a pretty flexible mechanism, the iframe is sandboxed, and hence doesn't inherit any of the landing page CSS, so fonts, bullets, etc. differ. I'd like to figure out how to expose the main CSS to the sandbox, but I also definitely want to implement this through the API and/or GraphQL module to do this more natively.

@eichmann
Copy link
Member Author

A little element inspection with Chrome and the iframe now styles similarly to the surrounding blocks.

@amikaili
Copy link
Member

Under the Manage display tab, for configuring each Custom Block (Admin>>Structure>>Block layout>>Custom block library >> Edit Block content style)the third column "PARENT" can be set to "content". Please see the image below and let me know if this would help (I lost Admin to the site)?

@amikaili
Copy link
Member

Screen Shot 2020-02-24 at 10 20 24 AM

@eichmann
Copy link
Member Author

@amikaili - iframes always get sandboxed. Note that I checked your roles - you're still an Author and and Administrator, same as me...

@amikaili
Copy link
Member

OK my bad I logged in and got the Admin back. BTW could you please help with the question Anita just posted to SLACK (web-redesign channel) about NCBI TAXONOMY)? Thanks!

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

No branches or pull requests

3 participants