DOI-ONRR / onrr.gov-site

We will use this repo to manage our work on the onrr.gov website
12 stars 3 forks source link

Test Directus extensions in preview #3142

Closed greensomes closed 3 weeks ago

greensomes commented 1 month ago

With all the refactoring for the updated editor and extension build automation, all extensions need to be thoroughly tested in dev.

The new ONRR editor should be thoroughly tested for card blocks, tab blocks, and content blocks. All plugins should be validated, with special attention on the following:

Endpoints:

Hooks:

Jeff will coordinate a time for deploying the changes to dev for testing.

cthomasONRR commented 1 month ago

Christine's checklist for New Preview Site:

@greensomes I'm not able to upload an image. I get the "select an image" button to appear, but when I click on it nothing happens. image

Endpoints:

@greensomes I can link the documents, but the URLs are not correct. For example, the ONRR-4444 should have a URL of "onrr.gov/document/ONRR4444.pdf", but on the preview it's "preview/about/ONRR4444.pdf". Instead of having their file structure in the URL (as seen on the live site), all docs have "preview/about/filename".

Hooks:

@greensomes All the hooks worked except the Indian Gas Major Portion- I struggled to get the date updated (it reverted to Jan 2001), and when I uploaded the excel the CMS didn't read the data. So the table on the preview site is empty. image

Other things Christine tested:

@greensomes Is it possible to get all links EXCEPT PDFs to default to opening in the same tab? Right now they default to opening in a new tab.

eelzi-ONRR commented 3 weeks ago

I tested the text editor and endpoints, but no the hooks since I think you and Christine are working on them. Also tested accordions, deep nesting, and changing link targets. All worked great!

@greensomes - My one suggestion is to add black to the color palette. So that if we change text to a color we can easily change it back to black if we want.

AlexandracmONRR commented 3 weeks ago

I've tested the different blocks and the first set of test elements. It is working great! Other than what Christine and Erin said, I have nothing to add.

lpgoldstein commented 3 weeks ago

I'm going to close this one. Also tested. I can't get the color green to work for me but will keep trying.