sul-dlss / happy-heron

Self-Deposit for the Stanford Digital Repository (SDR): H2 is a Rails web application enabling users to deposit scholarly content into SDR
Apache License 2.0
10 stars 2 forks source link

inception deck notes #69

Closed jcoyne closed 4 years ago

jcoyne commented 4 years ago

Goal

UI Mockups

https://projects.invisionapp.com/share/EQXC9CLKCR2

New technology

ViewComponent

Previously used in Argo. https://github.com/github/view_component

ActionCable

We will use Rails' ActionCable (WebSockets) framework for updating clients without requiring long-polling, e.g., for notifications.

Passenger Standalone

Work with Ops to deploy the application via Passenger Standalone (required for ActionCable).

Bootstrap 5

Currently a release candidate. This version has no-jquery. https://blog.getbootstrap.com/2020/06/16/bootstrap-5-alpha/ https://v5.getbootstrap.com/

ActiveStorage

For file uploads. New in rails 6. We also use this in sdr-api. https://github.com/rails/rails/tree/master/activestorage#active-storage

StimulusJS

Where client-side logic is needed, we will use Stimulus JS, and will use Capybara feature tests to test it.

StimulusReflex (IF NEEDED)

Should we find we absolutely need a more reactive front-end to accomplish the goals of H2, we will investigate StimulusReflex. (We previously looked into Motion but rejected and removed it in #79.

Architecture

A user comes to H2 and composes a draft which is stored in the database. When they say "deposit" the system transcodes to cocina and pushes to dor-services-app (or sdr-api?).

Priorities

Other things

peetucket commented 4 years ago

Added this all to inception deck in progress -- keep editing there as needed: https://docs.google.com/presentation/d/1A7p3NP7YPnyK5o_sXnMAM1EJPy5lIP84g1YRzCNvE5I

peetucket commented 4 years ago

Are there limited permissions on this repo? was planning to just close this issue, but I have no close button.

mjgiarlo commented 4 years ago

@peetucket :speech_balloon:

Are there limited permissions on this repo? was planning to just close this issue, but I have no close button.

There were! But now there aren't any longer; good eye. Thanks for doing this, Peter.