Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
ae8d8fa
Added roles, reporting & remove empty columns
FireByteApplications Jan 13, 2026
339824b
Merge branch 'Develop' of https://github.com/jordancj/admin-portal in…
FireByteApplications Jan 13, 2026
88ae75e
Removed non-op bug and updated packages
FireByteApplications Jan 13, 2026
ac9add0
Resolve package-lock conflict
FireByteApplications Mar 3, 2026
daac22c
remove extra lockfile
FireByteApplications Mar 3, 2026
a8d23b2
resolve lockfile conflict
FireByteApplications Mar 3, 2026
7766c71
security: dependency vulnerability fixes (#18)
FireByteApplications Mar 3, 2026
db03140
package lockfile update
FireByteApplications Mar 3, 2026
4c6c33b
update package-lock to resolve merge conflicts
FireByteApplications Jun 8, 2026
b64220a
Change attendance types and update deps (#21)
FireByteApplications Jun 8, 2026
1e1a670
fix workflow
FireByteApplications Jun 8, 2026
c988ae9
fix workflow
FireByteApplications Jun 8, 2026
6db3076
Update gitignore for docker
FireByteApplications Jun 25, 2026
e46ffdc
Update package deps
FireByteApplications Jun 25, 2026
b58d6de
add api endpoints for creating incidents
FireByteApplications Jun 25, 2026
baaf49d
Update navbar to use page title
FireByteApplications Jun 25, 2026
e4f1eeb
Update vite config for file watching
FireByteApplications Jun 25, 2026
1cceb41
add a create incident page
FireByteApplications Jun 25, 2026
2bfaa8f
Change lockfiles and add bootstrap to npm
FireByteApplications Jun 26, 2026
d6a14ef
Add functionality to create incidents for role tracking
FireByteApplications Jun 26, 2026
a316fd0
Change reporting to new structure of data
FireByteApplications Jun 26, 2026
06d1b48
add Form validation
FireByteApplications Jun 26, 2026
fce1ed7
Frontend role and incident management - roles gated with pin
FireByteApplications Jun 26, 2026
141b06c
Update API and backkend for role and incidents
FireByteApplications Jun 26, 2026
1255f49
Add role reporting functionality
FireByteApplications Jun 27, 2026
874870d
Update API to support role reporting
FireByteApplications Jun 27, 2026
e822cc4
Add Pin gate to create-incidents
FireByteApplications Jun 27, 2026
30c635b
update workflow
FireByteApplications Jun 28, 2026
6f1dcc6
update workflows
FireByteApplications Jun 28, 2026
7216118
fix typo
FireByteApplications Jun 28, 2026
a3986ca
update workflow
FireByteApplications Jun 28, 2026
a21de32
update workflow
FireByteApplications Jun 28, 2026
a359bad
update workflows
FireByteApplications Jun 28, 2026
089bce9
update cookies (#26)
FireByteApplications Jun 28, 2026
9030fc5
Feature/roles (#27)
FireByteApplications Jun 30, 2026
37b97dd
Feature/roles (#28)
FireByteApplications Jun 30, 2026
1aa27a1
Feature/roles (#29)
FireByteApplications Jun 30, 2026
abfb886
Feature/roles (#30)
FireByteApplications Jun 30, 2026
eb5386f
Feature/roles (#31)
FireByteApplications Jun 30, 2026
eb74cb3
Feature/roles (#32)
FireByteApplications Jul 1, 2026
bcc0801
Feature/roles (#33)
FireByteApplications Jul 6, 2026
de3cf87
Feature/roles (#34)
FireByteApplications Jul 6, 2026
6cc5c8c
Feature/roles (#35)
FireByteApplications Jul 10, 2026
12160ba
Feature/roles (#36)
FireByteApplications Jul 10, 2026
0021f96
Feature/roles (#37)
FireByteApplications Jul 23, 2026
79ff8d7
Feature/roles (#38)
FireByteApplications Jul 23, 2026
85d25b8
Feature/roles (#40)
FireByteApplications Jul 23, 2026
26e2bca
Update custom domain settings for dev site (#43)
FireByteApplications Jul 27, 2026
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
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,20 @@ jobs:
# Pick API URL by branch name
- name: Select API base URL
run: |
if [ "${{ github.ref_name }}" = "Develop" ]; then
echo "VITE_API_BASE_URL=${{ secrets.API_URL_STAGING }}" >> $GITHUB_ENV
if [ "${{ github.ref_name }}" = "main" ]
then
echo "VITE_API_BASE_URL=${{ secrets.API_URL_PROD }}" >> $GITHUB_ENV
else
echo "VITE_API_BASE_URL=${{ secrets.API_URL_PROD }}" >> $GITHUB_ENV
echo "VITE_API_BASE_URL=${{ secrets.API_URL_STAGING }}" >> $GITHUB_ENV
fi

- name: Replace API origin in CSP
run: sed -i "s|__API_ORIGIN__|${{ env.VITE_API_BASE_URL }}|" frontend/staticwebapp.config.json
- name: Select env flags
run: |
if [ "${{ github.ref_name }}" = "main" ]; then
echo "VITE_STAGE=prod" >> $GITHUB_ENV
echo "VITE_EXPECTED_HOST=app.yourdomain.com" >> $GITHUB_ENV
else
echo "VITE_STAGE=staging" >> $GITHUB_ENV
echo "VITE_EXPECTED_HOST=" >> $GITHUB_ENV
fi
- name: Build And Deploy
id: builddeploy
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
.vscode
.deployment
dist
node_modules
node_modules
*docker*
mongo_init
mongo_init/*

Loading
Loading