catalyst-ui
v4.0.0-alpha.39
Published
catalyst-ui =========== This project updates the underlying react components used by [Catalyst Portal](https://gitlab.sisutils.uc.edu/psadmins/portal/catalyst-portal).
Downloads
268
Readme
catalyst-ui
This project updates the underlying react components used by Catalyst Portal.
Any component changes will occur in this project.
Install dependencies:
NPM and Node are required locally. This project is built using Node 6, but will run on any stable release.
npm install
Initialize and update the assets submodule:
git submodule init
git submodule update
Compile and run staging environment:
npm start
Make changes as needed and test locally. Once completed, bump the version number ( see package.json for current number )
Git commit with tags
git tag -a v4.0.0-alpha.28 -m'my comment'
git push origin feature/92 --tags
npm version 4.0.0-alpha.XX
Once tested and ready, you must publish to NPM.
Before publishing:
npm run build-lib
Publish to NPM
npm login
Get credentials from PWVault by searching for NPM Login
(username arus
)
npm publish . --scope public
Update Catalyst Portal to reflect any additional changes needed.
Example change for IS016617
In this example, we're adding text under the Advisor tile to include a link to Advisor information (in this case, it goes to Civitas)
You'll first make the changes to Catalyst-ui project, which is the foundation of the catalyst-portal project.
open AcademicProfile.jsx
Add the text at the location you want. In this case, we're adding some simple HTML at line 41.
Define it as a variable at the bottom of the file, if you want to make it easy to update later.
I can't go over how all of this code works. If you're smart, you can figure it out.