Skip to content
Open
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
c1fa531
manage travel request
habaumugisha1 Jan 15, 2021
ff26cba
correcting actions travel-request-fetching actions' error handling an…
Noel2002 Feb 18, 2021
a713e4b
filling the data fetch from database in the dialog box
Noel2002 Feb 18, 2021
6160577
removing return column in view modal and positioning date well on the…
Noel2002 Feb 20, 2021
e386159
styling side drawer and adding functional drop downs
Noel2002 Feb 21, 2021
14551c5
using dotenv base url in travel requests' fetching actions
Noel2002 Feb 23, 2021
2e449be
fixing the postioning of pagination bar
Noel2002 Feb 24, 2021
c6fa4fd
Displaying appropriate error message when an error while approving tr…
Noel2002 Feb 26, 2021
b40d61f
customizing view request dialog
Noel2002 Feb 28, 2021
6954493
refactoring codes
Noel2002 Feb 28, 2021
6e9a2e9
adding approved badge to approved requests
Noel2002 Mar 1, 2021
b5d6fca
adding user details and accomodation detals on the cards
Noel2002 Mar 1, 2021
da17baf
fixed the update request action to make approve and reject works
Noel2002 Mar 2, 2021
b513091
categorising requests
Noel2002 Mar 2, 2021
d5c77a6
customizing view modal actions and handling image errors
Noel2002 Mar 2, 2021
3478b11
clean up
Noel2002 Mar 2, 2021
0a4d429
removing package-lock
Noel2002 Mar 3, 2021
b6d74eb
Merge branch 'develop' into ft-manage-request
Noel2002 Mar 3, 2021
2a1bfc0
merging cont'
Noel2002 Mar 3, 2021
01b0478
adding responsiveness to viewModal and requestCard
Noel2002 Mar 4, 2021
efd2faf
Merge branch 'develop' into ft-manage-request
Noel2002 Mar 4, 2021
84c0f54
updating snapshots
Noel2002 Mar 5, 2021
30114c8
adds notification component
Cyusa144 Mar 9, 2021
3a06451
adds in app notifications
Hirwacardinalloic Mar 10, 2021
087439e
Adding actions, reducer for notification
Hirwacardinalloic Mar 11, 2021
d2d4ae4
adds notifications directly using pusher
Cyusa144 Mar 17, 2021
f107a8b
deletes src/components/nclude
Cyusa144 Mar 17, 2021
60befbc
adds counts on badge
Cyusa144 Mar 19, 2021
a5abfe3
gets a single notification
Cyusa144 Mar 21, 2021
1f3852a
adds notification details
Cyusa144 Mar 25, 2021
491fca6
rebasing
Cyusa144 Mar 25, 2021
83d1a2c
reading the notification
Cyusa144 Mar 27, 2021
3829a84
updated notification icon
Cyusa144 Mar 27, 2021
dba73cf
removed unecessary components and commented lines
Cyusa144 Mar 27, 2021
be7d7d7
adds notification tests
Cyusa144 Mar 28, 2021
bf569ba
adds google authentication
Cyusa144 Mar 30, 2021
7324110
Merge branch 'develop' into ft-receive-notification
Cyusa144 Mar 31, 2021
329c960
updates package lock
Cyusa144 Mar 31, 2021
d90ecb9
rebasing
Cyusa144 Mar 31, 2021
583daa7
updates packages
Cyusa144 Mar 31, 2021
6f934a2
resolving build problem
Cyusa144 Apr 1, 2021
ef73e05
removing untracked files
Cyusa144 Apr 1, 2021
5675948
removing untracked files
Cyusa144 Apr 1, 2021
2fff918
removing untracked files
Cyusa144 Apr 1, 2021
61eea80
resolving failing test issue
Cyusa144 Apr 1, 2021
f7dd17a
resolving problems
Cyusa144 Apr 1, 2021
1b074fe
merging with develop to solve failing test issue
Cyusa144 Apr 1, 2021
050517e
removing untracked files
Cyusa144 Apr 2, 2021
0494f14
Merge branch 'develop' into ft-receive-notification
Cyusa144 Apr 3, 2021
37c6e91
Merge branch 'develop' into ft-receive-notification
Cyusa144 Apr 3, 2021
6d30ca7
updates managernav component
Cyusa144 Apr 3, 2021
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
18 changes: 9 additions & 9 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
["@babel/transform-runtime"]
]
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
["@babel/transform-runtime"]
]
}
64 changes: 32 additions & 32 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
# Description

This set up a project from scratch without using npx create-react-app


## Type of change

Please check the options that are relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

# How should this be manually tested or reproduced?

- Clone this repo
- Run the command `npm i`
- Run the command `npm start`

# Checklist:

- [X] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules

# Screenshots (if applicable)
# Description
This set up a project from scratch without using npx create-react-app
## Type of change
Please check the options that are relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
# How should this be manually tested or reproduced?
- Clone this repo
- Run the command `npm i`
- Run the command `npm start`
# Checklist:
- [X] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
# Screenshots (if applicable)
62 changes: 31 additions & 31 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm run coverage
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm run coverage
74 changes: 37 additions & 37 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
.DS_STORE
node_modules
scripts/flow/*/.flowconfig
.flowconfig
*~
*.pyc
.grunt
_SpecRunner.html
__benchmarks__
build/
remote-repo/
coverage/
.module-cache
fixtures/dom/public/react-dom.js
fixtures/dom/public/react.js
test/the-files-to-test.generated.js
*.log*
chrome-user-data
*.sublime-project
*.sublime-workspace
.idea
*.iml
.vscode
*.swp
*.swo
.env
packages/react-devtools-core/dist
packages/react-devtools-extensions/chrome/build
packages/react-devtools-extensions/chrome/*.crx
packages/react-devtools-extensions/chrome/*.pem
packages/react-devtools-extensions/firefox/build
packages/react-devtools-extensions/firefox/*.xpi
packages/react-devtools-extensions/firefox/*.pem
packages/react-devtools-extensions/shared/build
packages/react-devtools-extensions/.tempUserDataDir
packages/react-devtools-inline/dist
packages/react-devtools-shell/dist
.DS_STORE
node_modules
scripts/flow/*/.flowconfig
.flowconfig
*~
*.pyc
.grunt
_SpecRunner.html
__benchmarks__
build/
remote-repo/
coverage/
.module-cache
fixtures/dom/public/react-dom.js
fixtures/dom/public/react.js
test/the-files-to-test.generated.js
*.log*
chrome-user-data
*.sublime-project
*.sublime-workspace
.idea
*.iml
.vscode
*.swp
*.swo
.env
packages/react-devtools-core/dist
packages/react-devtools-extensions/chrome/build
packages/react-devtools-extensions/chrome/*.crx
packages/react-devtools-extensions/chrome/*.pem
packages/react-devtools-extensions/firefox/build
packages/react-devtools-extensions/firefox/*.xpi
packages/react-devtools-extensions/firefox/*.pem
packages/react-devtools-extensions/shared/build
packages/react-devtools-extensions/.tempUserDataDir
packages/react-devtools-inline/dist
packages/react-devtools-shell/dist
packages/react-devtools-scheduling-profiler/dist
Loading