Skip to content
Snippets Groups Projects
Commit f956174f authored by Yannis Barlas's avatar Yannis Barlas
Browse files

more readmes

parent 3b0a03ed
No related branches found
No related tags found
No related merge requests found
## component-app
The aim of this package is to group things that are shared by apps.
*Note:
To be moved back into xpub-collabra.*
\ No newline at end of file
## pubsweet-component-authentication
A module containing all the PubSweet components needed for authentication. This module uses UI elements from `pubsweet-ui` and brings in the currentUser reducer from `pubsweet-client` so that all the authentication-related redux code is in the same place. A `PrivateRoute` component is used to ensure that the current user is authenticated and loaded before a page is rendered.
*Note:
This should be merged with the default authentication components provided by pubsweet.*
## pubsweet-component-xpub-dashboard
A PubSweet component that provides the xpub dashboard, listing submissions that are available for the current user to take action on.
\ No newline at end of file
## pubsweet-component-xpub-manuscript
A PubSweet component that provides the interface for an author to edit their manuscript.
*Note:
To be replaced with `pubsweet-component-wax` once the issue with routing parameters is sorted out (currently Editoria uses "bookId" in routes while xpub uses "projectId" -- see [here](https://gitlab.coko.foundation/pubsweet/pubsweet-components/issues/56) for a proposal around this).*
\ No newline at end of file
## pubsweet-component-xpub-review
A PubSweet component that provides interfaces for editors to invite reviewers, reviewers to submit their reviews, and editors to make their decisions.
*Note:
Some of the container components for these pages are a bit complex, as they need to also connect child components that are nested deeper in the tree and pass them down as props - there may be a better solution to this.*
## pubsweet-component-xpub-submit
A PubSweet component that provides the form which the author completes before submitting a manuscript. It uses redux-form to handle the form state.
*Note:
The previously-released version of this component used JSON configuration to describe the form, and that can be implemented here too, once we know more about the types of input that are needed in submission forms for other journals.*
\ No newline at end of file
## xpub-bootstrap
Support for Bootstrap, in case any xpub apps want to use a PubSweet component that relies on Bootstrap being present.
\ No newline at end of file
## xpub-collabra
An MVP implementation of the first design sessions with [Collabra Psychology](https://www.collabra.org/), which allows a user to go through the process of creating a submission, assigning editors and reviewers, submitting reviews and submitting a decision.
\ No newline at end of file
## xpub-connect (pubsweet-connect)
This allows components to be defined as part of the composition of a functional component (as an alternative to handling data dependencies in the react lifecycle).
## xpub-edit (pubsweet-edit)
A configurable editor built with ProseMirror, allowing rich-text form inputs to have a defined schema and custom toolbars.
*Note:
This will be moved to pubsweet.*
## xpub-journal
`xpub-collabra` is built for a single journal. As there was no place for a journal in the data model, the journal configuration is passed into the app via this JournalProvider component.
*Note:
This will probably need to be replaced by journal configuration in the database, in order to support multiple journals in xpub apps.
To be revisited after we make a more final decision on xpub's data model.*
## xpub-selectors
Helper functions for common selectors used in redux compose, so that components don't need to know the unique shape of each part of the store.
*Note:
Some of these selectors will probably move to `pubsweet-client`.*
\ No newline at end of file
## xpub-validators
Common validator functions for form fields, for use with `redux-form`.
*Note
Likely generic enough to be moved to the pubsweet repo.*
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment