Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: build update, use firebase, clean up #46

Merged
merged 174 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
a9e9618
build: node 20, node-sass --> sass
eldu Jan 11, 2024
c67b3b8
build: update react-scripts, vega, vega-lite
eldu Jan 12, 2024
8dd4095
feat: add to gitignore
eldu Jan 12, 2024
65c671f
fix: file paths
eldu Jan 12, 2024
2a50933
build: npm install [email protected]
eldu Jan 12, 2024
70b531f
fix: Assign instance to a variable before exporting as module default…
eldu Jan 12, 2024
7bc0a33
build: npm install [email protected]
eldu Jan 12, 2024
39c3f98
build: npm uninstall vue
eldu Jan 12, 2024
3c59f25
build: npm install react@latest
eldu Jan 12, 2024
13f3f4e
build: npm install react-dom@latest
eldu Jan 12, 2024
6dac003
build: npm install redux@latest
eldu Jan 12, 2024
930d011
build: npm install redux-saga@latest
eldu Jan 12, 2024
3e7a8a6
build: npm install react-redux@latest
eldu Jan 12, 2024
3e98215
build: npm install react-router-dom@latest, fix: syntax
eldu Jan 12, 2024
97ad822
build: npm install react-bootstrap@latest
eldu Jan 12, 2024
bd7ca9c
build: npm install react-bulma-components@latest
eldu Jan 12, 2024
3b8be36
build: npm install react-spinners@latest
eldu Jan 12, 2024
7590216
build: npm install react-redux@latest
eldu Jan 12, 2024
10c5b65
build: npm uninstall react-test-renderer
eldu Jan 12, 2024
7e2cd61
build: npm install reactstrap@latest
eldu Jan 12, 2024
20935fb
build: npm install @fortawesome/fontawesome-svg-core@latest
eldu Jan 12, 2024
d9cdeac
build: npm install @fortawesome/free-regular-svg-icons@latest
eldu Jan 12, 2024
63459e9
build: npm install @fortawesome/free-solid-svg-icons@latest
eldu Jan 12, 2024
4047ff1
build: npm install @fortawesome/react-fontawesome@latest
eldu Jan 12, 2024
cd812d6
build: npm install vega-embed@latest
eldu Jan 12, 2024
62ee6f4
build: npm uninstall styled-components
eldu Jan 12, 2024
2ed5951
build: npm install firebase-tools@latest
eldu Jan 12, 2024
2fd8329
build: npm install isomorphic-fetch@latest
eldu Jan 12, 2024
a5c2e41
build: npm uninstall babel-eslint
eldu Jan 12, 2024
7112484
build: npm install prettier@latest
eldu Jan 12, 2024
10b2050
feat: add tool-versions
eldu Jan 12, 2024
95123f7
build: npm uninstall react-tap-event-plugin
eldu Jan 12, 2024
b47e372
build: npm audit fix
eldu Jan 12, 2024
6294f6d
refactor: delete import ReactDOM from "react-dom"
eldu Jan 12, 2024
f8e9c82
build: npm uninstall jest-fetch-mock
eldu Jan 12, 2024
2adb314
build: npm uninstall nightwatch
eldu Jan 12, 2024
0d4bc3f
build: npm install prettier@latest
eldu Jan 12, 2024
89bd6d0
build: update github actions
eldu Jan 12, 2024
8448b6b
build: add back in nightwatch, i see the json file
eldu Jan 12, 2024
754410a
feat: add firebase, read firestore, refactor redux store
eldu Jan 23, 2024
575793c
refactor: add back in loading
eldu Jan 23, 2024
2c5bee4
feat: add prettier, husky, and eslint
eldu Jan 23, 2024
fda4e05
lint: prettier
eldu Jan 23, 2024
a8d4f01
lint: eslint
eldu Jan 23, 2024
9c65803
refactor: remove tests
eldu Jan 23, 2024
ccad5a5
feat: add husky
eldu Jan 23, 2024
63b4014
feat: husky
eldu Jan 23, 2024
cbe33ac
lint: fix
eldu Jan 23, 2024
cb11d03
fix: pre-commit permissions
eldu Jan 23, 2024
2caa323
lint: fix linting warnings
eldu Jan 23, 2024
1e1f5d1
wip: add pub refactor
eldu Jan 24, 2024
b3318b6
refactor: delete actions, client, reducer, sagas
eldu Jan 24, 2024
5c58d0b
refactor: file renames
eldu Jan 24, 2024
e9ecc7d
build: npm uninstall keycloak-js, redux-saga
eldu Jan 24, 2024
401bc64
build: npm uninstall isomorphic-fetch
eldu Jan 24, 2024
bb1840f
build: npm uninstall babel-preset-react-app
eldu Jan 24, 2024
021f848
Merge branch 'feat-lint' into feat-add-pub
eldu Jan 24, 2024
9a57ced
Merge pull request #47 from brown-ccv/feat-firestore
eldu Jan 25, 2024
96dc040
Merge pull request #53 from brown-ccv/feat-lint
eldu Jan 25, 2024
cc98b9f
refactor: add publication modal
eldu Feb 5, 2024
d735ef0
feat: add manual form
eldu Feb 5, 2024
5b82333
feat: add formik to manual form
eldu Feb 5, 2024
50f263f
refactor: error message for doi
eldu Feb 5, 2024
c61446a
refactor: transition of form
eldu Feb 5, 2024
a4ef47f
fix: initial Values
eldu Feb 5, 2024
3ab3ab3
feat: validation
eldu Feb 5, 2024
123b12d
style: required asterisk
eldu Feb 5, 2024
d233313
style: required asterisk
eldu Feb 5, 2024
09e03f3
refactor: restrict date
eldu Feb 5, 2024
b61ec57
feat: check against publications for exists
eldu Feb 5, 2024
d674550
fix: bugs
eldu Feb 5, 2024
6d5e67c
wip: add to firebase
eldu Feb 6, 2024
b716419
fix: error message
eldu Feb 6, 2024
168e3db
refactor: collection document structure
eldu Feb 6, 2024
c4aaed4
refactor: hook to watch publications collection
eldu Feb 6, 2024
9d9bb70
fix: undefines
eldu Feb 6, 2024
2540879
refactor: firebase utils
eldu Feb 6, 2024
a4149e4
doc: custom react hook
eldu Feb 6, 2024
9e55f3b
fix: css UGH
eldu Feb 6, 2024
d95e1a9
refactor: remove unused util function
eldu Feb 6, 2024
091be9e
refactor: remove html tags in abstract
eldu Feb 6, 2024
9755c85
refactor: types file
eldu Feb 6, 2024
7b5dbce
refactor: linting
eldu Feb 6, 2024
b06aa57
refactor: remove import
eldu Feb 6, 2024
7f4ea58
feat: loading
eldu Feb 6, 2024
fedfdaa
refactor: delete old files
eldu Feb 6, 2024
0ab4ee4
refactor: small things
eldu Feb 6, 2024
c4d2ff2
refactor: form control feedback and some refactor
eldu Feb 6, 2024
778c5a3
feat: add auth functions
eldu Feb 6, 2024
324b7d5
refactor: nav bar and all this css, sorry
eldu Feb 6, 2024
4b3e796
build: remove unused stylesheets and update
eldu Feb 6, 2024
f3724e8
feat: basic logging in
eldu Feb 6, 2024
d9db7a3
fix: add dispatch as a dependency
eldu Feb 6, 2024
4d840ef
refactor: move usePublicationsCollection up the hierarchy
eldu Feb 7, 2024
7ff9039
refactor: move usePublicationsCollection up the hierarchy
eldu Feb 7, 2024
05002cf
doc: add in a todo for pagination
eldu Feb 7, 2024
a4cab04
feat: adds in date stuff
eldu Feb 7, 2024
c702ab0
fix: pr review - add s and fix date stuff
eldu Feb 8, 2024
0613d43
Merge branch 'feat-add-pub' into feat-login
eldu Feb 8, 2024
3b34aa5
refactor: clean up the login / out flow
eldu Feb 8, 2024
f0569be
refactor: signInWithRedirect --> signInWithPopup
eldu Feb 13, 2024
23ebaa1
feat: add pub only if logged in
eldu Feb 14, 2024
c6e490c
Merge pull request #55 from brown-ccv/feat-add-pub
eldu Feb 15, 2024
f18d4c2
wip: to tanstack
eldu Feb 15, 2024
39e1b7a
wip: to tanstack
eldu Feb 15, 2024
a4990ba
Merge branch 'build-update' into feat-login
eldu Feb 15, 2024
3b4b52f
refactor: pr revisions - remove comments
eldu Feb 15, 2024
69cad1a
Merge pull request #66 from brown-ccv/feat-login
eldu Feb 15, 2024
84cf201
refactor: js --> tsx
eldu Feb 16, 2024
5b3bf27
wip: yearChart
eldu Feb 26, 2024
2264886
feat: yearChart switch between year and month
eldu Feb 26, 2024
807e34b
refactor: remove warnings and clean up branching
eldu Feb 26, 2024
5de321c
refactor: add in original styling
eldu Feb 26, 2024
824a4bf
refactor: delete yearChart.json
eldu Feb 26, 2024
7f684b0
refactor: clarify select to selectedYear
eldu Feb 26, 2024
2e291f2
fix: click
eldu Feb 26, 2024
e5f225d
fix: click
eldu Feb 26, 2024
24a7bb7
refactor: use date field
eldu Feb 27, 2024
cd6d560
refactor: remove actions
eldu Feb 27, 2024
54369c7
refactor: formatting
eldu Feb 27, 2024
e66a492
refactor: up the limit a little bit
eldu Feb 27, 2024
b3004d9
refactor: Use some basic React Bootstrap components
eldu Feb 27, 2024
b2c54a7
Merge branch 'build-update' into refactor-tanstack
eldu Feb 27, 2024
ae57867
fix: some dependencies that were trouble
eldu Feb 27, 2024
b36e2f0
style: Table Controls
eldu Feb 27, 2024
ed1186b
fix: missing package lock
eldu Feb 27, 2024
3cf95a2
fix: pr revisions, add in missing filter!
eldu Feb 28, 2024
797eb49
fix: pr revisions, remove print
eldu Feb 28, 2024
730bfdc
refactor: pr revisions, year chart just highlights selected year
eldu Feb 28, 2024
df9a796
refactor: remove _table.scss
eldu Feb 29, 2024
2ab4f6f
style: fix theme colors
eldu Feb 29, 2024
f9e2b30
style: closer to original table
eldu Feb 29, 2024
9474cbd
refactor: font awesome icon
eldu Feb 29, 2024
8af8f41
refactor: tanstack columns
eldu Feb 29, 2024
ac59cf5
refactor: sorting icon
eldu Feb 29, 2024
2ad9a31
style: refactor out _addPub.scss
eldu Feb 29, 2024
0934920
build: remove reactstrap
eldu Feb 29, 2024
fb02993
style: clean up some more style
eldu Feb 29, 2024
024da4a
style: clean up some more style
eldu Feb 29, 2024
d486873
style: fix table controls
eldu Feb 29, 2024
8515c6a
style: refactor to same same
eldu Feb 29, 2024
dc7cc26
style: fix div
eldu Feb 29, 2024
00816cf
wip: why is this table resizing so hard
eldu Mar 1, 2024
bac55c1
fix: most of my table resizing sadness
eldu Mar 1, 2024
3c8b9e7
fix: pagination
eldu Mar 1, 2024
8bf6240
refactor: move out components
eldu Mar 1, 2024
c19aa86
refactor: more clean up
eldu Mar 1, 2024
c1c147f
refactor: more clean up
eldu Mar 1, 2024
9c6229a
refactor: more clean up
eldu Mar 1, 2024
8e10aec
refactor: remove unneeded flex
eldu Mar 1, 2024
18249c1
refactor: merge party
eldu Mar 1, 2024
a2a73a6
Merge pull request #69 from brown-ccv/refactor-year-chart
eldu Mar 1, 2024
11cd4e7
Merge branch 'build-update' into refactor-tanstack
eldu Mar 1, 2024
5af92a5
fix: package-lock.json
eldu Mar 1, 2024
8dff126
refactor: clean up
eldu Mar 1, 2024
53fdaae
refactor: sorting icons
eldu Mar 1, 2024
f696930
fix: clicking header
eldu Mar 1, 2024
0cedba2
fix: quick fix for footer. trying to not touch the rest ! :scream:
eldu Mar 1, 2024
d16c5e1
refactor: pagination clean up
eldu Mar 1, 2024
00f03be
refactor: some more style clean up
eldu Mar 4, 2024
bfea3cb
refactor: some more style clean up
eldu Mar 4, 2024
2b9d6d3
docs: add issue number for word cloud
eldu Mar 4, 2024
12c4c8f
Merge pull request #72 from brown-ccv/refactor-tanstack
eldu Mar 7, 2024
1ef2b13
build: npm uninstall seamless-immutable
eldu Mar 7, 2024
b1a9ca7
refactor: delete more files
eldu Mar 7, 2024
8c420a0
refactor: delete more files
eldu Mar 7, 2024
79653ac
wip: test on preview
eldu Apr 10, 2024
b39d004
wip: test on preview again
eldu Apr 15, 2024
c1260c7
wip: test on preview again
eldu Apr 15, 2024
e1ff051
feat: update user on firebase
eldu Apr 16, 2024
6fcb4fc
refactor: subscribe to user
eldu Apr 16, 2024
2ed0d56
feat: show add pub if user is in ccv
eldu Apr 16, 2024
67d3c4b
fix: unsubscribe user
eldu Apr 16, 2024
206167e
Merge pull request #80 from brown-ccv/feat-google-group
eldu Apr 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
Expand Down
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,20 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

keycloak.json
serviceAccount.json

# checkpoints
.ipynb_checkpoints

#kubernetes
*.key
*.cer

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

keycloak.json
firebase.json

# checkpoints
.ipynb_checkpoints
10 changes: 10 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const brownPrettierConfig = require('@brown-ccv/prettier-config');

/** @type {import("prettier").Config} */
module.exports = {
// Base config
...brownPrettierConfig,
// Custom settings
singleQuote: false,
jsxSingleQuote: false,
};
1 change: 0 additions & 1 deletion .prettierrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.11.0
13 changes: 0 additions & 13 deletions Project.toml

This file was deleted.

9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# ccvpubs-frontend
The frontend for the CCV Publications WebApp (https://publications.ccv.brown.edu). Deployed automatically using firebase and github actions.

The frontend for the CCV Publications WebApp (https://publications.ccv.brown.edu). Deployed automatically using firebase and github actions.

**NOTE:** Preview deployments will not work for the authenticated part of the app (adding publications) due to the dynamism of the redirect URL.

## Installation

* git clone this repository
* cd ccvpubs-frontend
* npm install
- git clone this repository
- cd ccvpubs-frontend
- npm install

## Available Scripts

Expand Down
Loading
Loading