emory-libraries / aspace

0 stars 0 forks source link

Implement and configure banner plug-in #20

Closed erussey closed 1 year ago

erussey commented 2 years ago

Add plug-in for banner announcements: https://github.com/archivesspace-plugins/sandbox_header

This banner, most of the time, should not be on the site and should only be implemented in case of scheduled downtime or other urgent announcements as determined by the product owner, Core Systems, or LTDS leadership. Note that there is default text in the plug-in that will need to be changed for Emory use.

abelemlih commented 1 year ago

@rotated8 @erussey adding this plugin to our ArchivesSpace space is simple. We just need to create our own copy and customize the text and where the notice is displayed. By default, the notice is only displayed on the admin side.

This is a screenshot of what the notice looks like:

Screenshot 2023-01-25 at 12-25-32 ArchivesSpace Home.png

Alternatively, we could avoid using one extra repository to store the notice related functionality, and add it to our main plugin. The implementation of the notice is fairly simple, so adding our own implementation should be straightforward.

In #21, I will add more details regarding the ability to configure the notice text from the admin side instead of having to redeploy.

erussey commented 1 year ago

@abelemlih : Can we also apply this to the public interface side? That is where the need is most critical, though as we've said before, we'd like to be able to apply to public, admin, or both.

abelemlih commented 1 year ago

@erussey yes, we can apply it to both the public and admin interfaces

abelemlih commented 1 year ago

@erussey I have a PR ready for review, and this is what the banners will look like in both the admin and public interfaces:

Screenshot 2023-01-27 at 15-46-54 ArchivesSpace Home.png

Screenshot 2023-01-27 at 15-46-18 ArchivesSpace Public Interface ArchivesSpace Public Interface.png

Let me know if you have any feedback/questions!

maxdmayhew commented 1 year ago

Woops! My bad!

abelemlih commented 1 year ago

@erussey This ticket is ready for QA. The screenshots above display how the banner is set up for both the admin and public interfaces. Let me know if you have any questions/feedback!

erussey commented 1 year ago

This looks good to me.