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

Production Update: Validation & Filtration #182

Merged
merged 395 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
395 commits
Select commit Hold shift + click to select a range
b18bc9d
1. removing date parsing from processcensus.tsx -- parsing has been m…
siddheshraze Apr 1, 2024
2cb7eb4
1. restructuring upload system -- added segments subfolder to highlig…
siddheshraze Apr 2, 2024
f466a85
beginning Jest test unit test process -- some implementations complete
siddheshraze Apr 4, 2024
f9ddf85
partial test cases added for generic datagrid and macros
siddheshraze Apr 4, 2024
d534b9e
reorganizing file structure to increase visibility and adding API rou…
siddheshraze Apr 4, 2024
6673731
saving changes. Will resume dev shortly
siddheshraze Apr 10, 2024
7d63f0c
updated .gitignore pulled in from main
siddheshraze Apr 10, 2024
38d2a09
manually implemented validation routes replaced with dynamic routes w…
siddheshraze Apr 11, 2024
d052326
deprecated API routes removed
siddheshraze Apr 11, 2024
2564025
running cleanup command on codebase -- removing unused imports, reorg…
siddheshraze Apr 12, 2024
25173f8
adding tests and formatting
siddheshraze Apr 15, 2024
193ef16
Bug fixes:
siddheshraze Apr 17, 2024
8354149
reformatting to ensure that existing datagrids work while adding rest…
siddheshraze Apr 18, 2024
8d469ae
1. removing default dialog prompt
siddheshraze Apr 18, 2024
5fdfca9
printing system fixed. css bug in rainbow icon resolved. context refe…
siddheshraze Apr 18, 2024
13ad448
next version
siddheshraze Apr 18, 2024
5465984
beginning process of integrating new subquadrats table into system. a…
siddheshraze Apr 19, 2024
b24b1bf
removing data files
siddheshraze Apr 19, 2024
71d0fb0
I thought I'd removed sample data and stuff already but it's been ad…
siddheshraze Apr 19, 2024
1d82c7b
Merge remote-tracking branch 'origin/main' into feature-development, …
siddheshraze Apr 19, 2024
e96c9b4
merging updates to feature-development in
siddheshraze Apr 19, 2024
f964a76
Project-wide changes:
siddheshraze Apr 22, 2024
61d97d9
applying eslint changes across project. Replaced fetchall endpoints w…
siddheshraze Apr 23, 2024
88e76ff
removing package-lock.json and forcing update to latest versions univ…
siddheshraze Apr 23, 2024
86736ec
fixing validation bug, adding subquadrat ID row to measurements, fixi…
siddheshraze Apr 26, 2024
ac03a99
full-scope changes. Beginning dynamic API routing system construction…
siddheshraze May 3, 2024
28587fd
slug api routing system seems to be somewhat stable now. It's been mo…
siddheshraze May 3, 2024
580a83c
Large-scale changes:
siddheshraze May 10, 2024
5ee2f3a
rework continued. Saving changes before attempting integration of a c…
siddheshraze May 15, 2024
c9ce02f
attempting full-scope breakdown of sidebar file into interlocking sub…
siddheshraze May 16, 2024
614f16f
never mind, lift has been scheduled for future release due to LOE tim…
siddheshraze May 16, 2024
391f73a
okay, large-scale changes seem to be working. quadratpersonnel datagr…
siddheshraze May 17, 2024
e586625
removing progress dialog's independent API calls and replacing with c…
siddheshraze May 19, 2024
f6336b9
1. upload system updated integrated into new schema
siddheshraze May 22, 2024
df4e384
Documentation changes -- other changes still pending, but removed dep…
siddheshraze May 27, 2024
1c45173
core changes:
siddheshraze Jun 3, 2024
e7bfe6e
minor edit to ensure utc applied
siddheshraze Jun 3, 2024
dcd4449
need to build out and update documentation as contract end is approac…
siddheshraze Jun 4, 2024
c147afe
saving changes -- might be removing this shortly.
siddheshraze Jun 4, 2024
6ecd948
test
siddheshraze Jun 4, 2024
042f239
resetting -- seems like this isn't going to work
siddheshraze Jun 4, 2024
c10318e
removing storybook installation -- needs to be a future development t…
siddheshraze Jun 5, 2024
8855213
adding missing .pem file
siddheshraze Feb 23, 2024
11f8b0f
resolving merge issues
siddheshraze Jun 5, 2024
eb3e56a
partial save -- should not be merged
siddheshraze Jun 5, 2024
84fabe0
documentation changes
siddheshraze Jun 6, 2024
f8d95fa
workspace docs file
siddheshraze Jun 6, 2024
9a92fa0
Merge branch 'main' into forestgeo-app-aardvark
siddheshraze Jun 6, 2024
943231c
resolving package.json error
siddheshraze Jun 6, 2024
6c3e5bf
basic postvalidation route setup and added
siddheshraze Jun 16, 2024
0e4d8af
partial changes made, saving.
siddheshraze Jun 20, 2024
a9320c1
merging from main
siddheshraze Jun 20, 2024
e6cc348
Merge remote-tracking branch 'origin/postvalidation-statistics' into …
siddheshraze Jun 20, 2024
6b876a1
saving changes -- need to resolve mysql connection state being set to…
siddheshraze Jun 21, 2024
09bc009
Adding additional emergency settings to ensure that connection is not…
siddheshraze Jun 21, 2024
be3593d
Add or update the Azure App Service build and deployment workflow config
siddheshraze Jun 21, 2024
18f7b1d
Remove the Azure App Service build and deployment workflow config
siddheshraze Jun 21, 2024
776cce4
attempting to add development livesite job to test without needing to…
siddheshraze Jun 21, 2024
2979da5
build failure -- testing
siddheshraze Jun 21, 2024
30b40d3
wildcards and next cache steps added. Wildcards will ensure that all …
siddheshraze Jun 21, 2024
c255060
received failed login error -- added dedicated login step
siddheshraze Jun 21, 2024
b9b72bd
login step seems to be causing new issues -- commenting out and attem…
siddheshraze Jun 21, 2024
3c0042b
accidentally deleted main build step, restoring and commenting out cu…
siddheshraze Jun 21, 2024
487f6bf
accidentally using wrong publish profile reference
siddheshraze Jun 21, 2024
cd477bf
not sure why, but next-auth login is not being permitted on developme…
siddheshraze Jun 21, 2024
38ec052
trying more stuff to see if I can get the development-based authentic…
siddheshraze Jun 21, 2024
6b888c7
need to fix base nextauth url
siddheshraze Jun 21, 2024
37990ac
accidentally made the change backwards
siddheshraze Jun 21, 2024
ed10f40
temp -- saving changes. tried updating packages and that broke everyt…
siddheshraze Jun 21, 2024
d6c1ed7
minor formatting changes, adding enhanced shortcut implementation to …
siddheshraze Jun 24, 2024
bb89dcd
adding framework for icon customization as versions change
siddheshraze Jun 24, 2024
51b5531
renaming branch
siddheshraze Jun 24, 2024
400e1b5
acacia version signature incorporated. Shell folder system and icon s…
siddheshraze Jun 24, 2024
550eef8
icon updated to forestgeo-app central
siddheshraze Jun 24, 2024
5e55442
saving changes. Mostly styling updates and reworkings to reduce code …
siddheshraze Jun 25, 2024
d24f1a4
Adding changelog and version explanation
siddheshraze Jun 25, 2024
e3a3be6
first-round error export function created. Pending testing -- will up…
siddheshraze Jun 25, 2024
5c324be
testing potential resolution to vitest get-stream issue
siddheshraze Jun 27, 2024
20c5426
extensive core schema changes. Triggers and changelog system implemen…
siddheshraze Jul 1, 2024
525e93d
incorporating SQL structure. Minor changes made to other authenticati…
siddheshraze Jul 5, 2024
c08b6a3
PlotRDS type was updated to remove usesSubquadrats, but summary page …
siddheshraze Jul 5, 2024
5715810
decided to re-add the usesSubquadrats property to the PlotRDS type to…
siddheshraze Jul 5, 2024
e99b46b
migration script has been updated to target the sinharaja data source…
siddheshraze Jul 8, 2024
ea06968
accidentally forgot to incorporate methods to handle pool reinitializ…
siddheshraze Jul 9, 2024
042bded
changelog:
siddheshraze Jul 17, 2024
6bc8a7e
1. added resetschema.sql function to reset testing schema
siddheshraze Jul 17, 2024
44728d3
skipping rollovermodal unit tests -- they're not up-to-date and don't…
siddheshraze Jul 17, 2024
73ac210
- refactoring changes and centralizing features.
siddheshraze Jul 22, 2024
6c772ca
Updating modules and fixing a small emotioncache error.
siddheshraze Jul 23, 2024
efc9d5d
saving changes -- pushing to dev
siddheshraze Jul 24, 2024
385df3d
re-enabling feedback form
siddheshraze Jul 24, 2024
825bcdd
github feedback modal is throwing environmental errors, but only when…
siddheshraze Jul 24, 2024
5eeb3b0
Found the issue -- needed to update workflow to incorporate new env v…
siddheshraze Jul 24, 2024
0dd2a4c
vitest bug found, determined to be thrown by potentially outdated ver…
siddheshraze Jul 24, 2024
65580ab
Adding default error pages to all routes. Will later customize to eac…
siddheshraze Jul 25, 2024
c621588
minor additions made here to clarify which error page is which
siddheshraze Jul 25, 2024
076d4e1
1. view system has been updated to use materialized views instead of …
siddheshraze Jul 31, 2024
9753627
fixing links in middleware. Attempted to upgrade next-auth to v5 but …
siddheshraze Jul 31, 2024
d47e4a2
minor updates through npm-check-updates
siddheshraze Jul 31, 2024
8e04600
partial commit - saving changes to ensure that resetting will not rem…
siddheshraze Aug 5, 2024
c1127a1
Prettier and ESLint successfully integrated into project. Package.jso…
siddheshraze Aug 5, 2024
f4390e7
1. Applying prettier changes.
siddheshraze Aug 5, 2024
ff819f8
1. minor enhancements to the measurements-oriented datagrid to displa…
siddheshraze Aug 6, 2024
320ac7c
1. minor enhancements to the measurements-oriented datagrid to displa…
siddheshraze Aug 6, 2024
85e3cb7
saving changes. Dashboard system reconfigured and validations page ad…
siddheshraze Aug 7, 2024
11e9df5
Full-scale formatting. Baseline dashboard has been completed. Baselin…
siddheshraze Aug 8, 2024
555e307
Accidentally deleted validation API routes, restoring. Formatting and…
siddheshraze Aug 12, 2024
cbfd04d
Saving changes. Continuing reworking of validation CRUD system and be…
siddheshraze Aug 13, 2024
dff7860
Removing row pending/failed validations grids from validations page. …
siddheshraze Aug 13, 2024
94e376b
missed a file for some reason
siddheshraze Aug 13, 2024
f4bdc5c
Accidentally messed up structuring of datamapper file (bugs introduce…
siddheshraze Aug 13, 2024
3605928
partial save. resolving baseline changes for validation CRUD system a…
siddheshraze Aug 15, 2024
f5ca6f0
Breaking changes being saved. Partial completion of core updates to v…
siddheshraze Aug 18, 2024
649404d
Broken utils functions have been corrected. Personnel upload has been…
siddheshraze Aug 18, 2024
63a9017
Continuing correction process to upload system to ensure it's working…
siddheshraze Aug 20, 2024
afaac25
Revamping personnel datagrid to display role information along with r…
siddheshraze Aug 20, 2024
01d1cad
incorporating documentation sources. Beginning refactor and integrati…
siddheshraze Aug 21, 2024
d54d51c
Additional documentation started. Will continue expanding the full se…
siddheshraze Aug 22, 2024
f8e3276
New documentation stack completed. Pending review and feedback
siddheshraze Aug 22, 2024
aab6c36
first-attempt documentation github pages deployment
siddheshraze Aug 23, 2024
7435304
corrections and adding test/deployment steps for safety
siddheshraze Aug 23, 2024
7db391f
separated build-and-deploy into dedicated jobs. attempted fix for doc…
siddheshraze Aug 23, 2024
dc5481e
bug fixes for test-docs step
siddheshraze Aug 23, 2024
4aaa542
still breaking. trying to add fixes
siddheshraze Aug 23, 2024
68c95e5
artifacts directory creation is failing.
siddheshraze Aug 23, 2024
d7641e2
don't have direct permissions to touch github dir, using github_works…
siddheshraze Aug 23, 2024
f92a6d7
removing test-docs job. Let's see if this works better or worse
siddheshraze Aug 23, 2024
5e906ac
forgot to remove references to test-docs after deleting it
siddheshraze Aug 23, 2024
bd83549
deploy-docs is failing. Trying to implement a fix
siddheshraze Aug 23, 2024
f33a035
formatting error
siddheshraze Aug 23, 2024
a2273b2
trying a new approach
siddheshraze Aug 23, 2024
80f95f7
saving changes. partial updates made to validations system and proces…
siddheshraze Aug 26, 2024
6af591e
system changes. attempting to add roles interaction interface to pers…
siddheshraze Aug 26, 2024
a8f7a67
Merge branch 'forestgeo-app-acacia' of https://github.com/Smithsonian…
siddheshraze Aug 26, 2024
2d167e4
restructuring. Centralizing functionality and expanding validation CR…
siddheshraze Aug 27, 2024
b063769
continuing restructure of upload and validation process
siddheshraze Aug 27, 2024
18bfedc
saving changes. Upload structure has been confirmed and dynamic valid…
siddheshraze Aug 29, 2024
3cc5410
adding updated package information
siddheshraze Aug 29, 2024
6f8f32f
continuing to try and restructure the specieslimits system, the valid…
siddheshraze Sep 3, 2024
a3254ff
vitest was causing build crashes, trying repair
siddheshraze Sep 3, 2024
c2ea0cf
vitest issues are persisting.
siddheshraze Sep 3, 2024
cab2160
login errors -- nextauth is unable to find secret for some reason??
siddheshraze Sep 3, 2024
f9543e1
nextjs is still throwing a prerender pages error at all of my website…
siddheshraze Sep 4, 2024
ec39cfa
for some reason, login is failing. log stream is reporting SIGNIN_OAU…
siddheshraze Sep 4, 2024
e2d3769
comment typo
siddheshraze Sep 4, 2024
46e003f
readding nextauth url endpoint. app seems to keep redirecting to loca…
siddheshraze Sep 4, 2024
693c4f4
nextauth route had the wrong environmental variables??
siddheshraze Sep 4, 2024
d7dec8b
Running out of options -- system has resolved into an OAuthSignInErro…
siddheshraze Sep 4, 2024
1ebc0a1
trying something new for a change. Maybe this'll work??
siddheshraze Sep 4, 2024
5e34e5d
still not sure what's going on.
siddheshraze Sep 4, 2024
d6bc405
Typos are still occurring. Still trying to figure out why the oauthsi…
siddheshraze Sep 4, 2024
28a33b6
okay, i think I managed to get the local authentication working again…
siddheshraze Sep 4, 2024
4b5cf0a
Development website seems to be properly resolved. Not sure what the …
siddheshraze Sep 5, 2024
57ec6c2
full-scope changes. debounce added to layout files and selection syst…
siddheshraze Sep 6, 2024
37155c0
continuing the stabilization effort. Deeper explanation of changes wi…
siddheshraze Sep 10, 2024
07c4195
overhaul. datagrid system revamped into a single-point interaction sy…
siddheshraze Sep 11, 2024
98c25b9
Stabilization is almost completed. Testing has been completed for all…
siddheshraze Sep 12, 2024
aef80d8
isolated implementation has been resolved to address all supporting d…
siddheshraze Sep 13, 2024
6a51feb
resolving build errors.
siddheshraze Sep 13, 2024
4e44ec9
continuing the stabilization process. data baseline testing is confir…
siddheshraze Sep 13, 2024
38bbe1e
adding plotID parameter to postvalidation. Need to still integrate it…
siddheshraze Sep 13, 2024
97e81c5
minor visual change to enforce census date measurement rendering on d…
siddheshraze Sep 13, 2024
a420d83
Merge branch 'main' into forestgeo-app-acacia
siddheshraze Sep 16, 2024
b2b85e7
saving changelog changes and siteconfigs updates
siddheshraze Sep 16, 2024
7862099
adding console logging statements to debug login failures
siddheshraze Sep 17, 2024
7a71360
created access-denied page to act as an endpoint for unallowed permis…
siddheshraze Sep 18, 2024
7827bbb
1. cleaning tests -- tests need to be reimplemented in full to accoun…
siddheshraze Sep 24, 2024
f721d1a
quick update to change the package.json file
siddheshraze Sep 24, 2024
e11b782
formatting
siddheshraze Sep 24, 2024
2decf65
following feedback -- removing reentry data modal from use. Component…
siddheshraze Sep 24, 2024
2462135
adding template staging and drafting tables. updating package-lock. a…
siddheshraze Sep 25, 2024
7ed7b1c
creating draft interaction datagrid for msv_draft. formatting/cleanup…
siddheshraze Sep 25, 2024
e766499
integrating draft msv into fixeddata and testing render via isolated …
siddheshraze Sep 25, 2024
91681bf
simple API endpoint to take signed in user's information and retrieve…
siddheshraze Sep 26, 2024
32045ae
handleUpsertForSlices updated to correctly apply data propagation fro…
siddheshraze Sep 26, 2024
5784edb
fixing view implementations to remove additional formatting changes i…
siddheshraze Sep 26, 2024
b2fdcaf
temp -- saving changes
siddheshraze Sep 26, 2024
b17a270
removing deprecated tests. slight mods to poolmonitor. utils test case
siddheshraze Sep 27, 2024
f8774aa
Merge timekeeping.ts from main-rollover-modal-hotfix into development…
siddheshraze Sep 27, 2024
f44515f
testing solution to uploaded file view error (process env var isn't b…
siddheshraze Sep 30, 2024
2ba0920
adding repair to fix broken uploaded file view azure storage connection
siddheshraze Sep 30, 2024
5ae466f
enhancing datamapper and updating deprecated modules
siddheshraze Sep 30, 2024
b954ca5
saving changes. Need to integrate updates from main in
siddheshraze Oct 1, 2024
0ffbf70
Merge branch 'main' into development-baobab
siddheshraze Oct 1, 2024
0dbf0d9
debugging. minor changes to remove or disable features that shouldn't…
siddheshraze Oct 2, 2024
891e1cb
Merge branch 'main-disable-pending-features-hotfix' into development-…
siddheshraze Oct 2, 2024
a076e98
Merge branch 'development-baobab' into forestgeo-app-baobab
siddheshraze Oct 2, 2024
f4faad4
build error -- resolving
siddheshraze Oct 2, 2024
8cebb50
Broken utils functions have been corrected. Personnel upload has been…
siddheshraze Oct 2, 2024
07756ef
Merge branch 'main' into development
siddheshraze Oct 2, 2024
d523991
feature upgrades. multiline form system implemented and set up to act…
siddheshraze Oct 4, 2024
cf6e48f
Restructure and implementation of the multiline form interaction are …
siddheshraze Oct 10, 2024
fb3bf0c
Merge branch 'hotfix-fixing-census-quadrat-relation' into forestgeo-a…
siddheshraze Oct 11, 2024
8d82121
Merge branch 'forestgeo-app-baobab' into development
siddheshraze Oct 11, 2024
1d099bc
Merge branch 'hotfix-fixing-census-quadrat-relation' into forestgeo-a…
siddheshraze Oct 11, 2024
b38965f
merge conflict missed a line
siddheshraze Oct 11, 2024
b21ba24
Merge branch 'hotfix-fixing-census-quadrat-relation' into forestgeo-a…
siddheshraze Oct 11, 2024
54b0e42
requisite repairs to the quadrats processing system to make sure that…
siddheshraze Oct 11, 2024
ab8997c
scrubbing old datagrid instances that aren't used anymore
siddheshraze Oct 15, 2024
f4ecb86
continuing postvalidation construction. saving changes here to test a…
siddheshraze Oct 17, 2024
77f0fc3
first-iteration postvalidation UI is completed. need to apply final t…
siddheshraze Oct 18, 2024
4424121
postvalidation query testing is complete. integrated into sidebar suc…
siddheshraze Oct 18, 2024
6d4e6f5
Merge branch 'forestgeo-app-development' into development
siddheshraze Oct 18, 2024
5cd20db
Multiline Data Entry & Post Validation System (#179)
siddheshraze Oct 18, 2024
87dcf99
minor fix -- forgot to add missing function call in view full table grid
siddheshraze Oct 18, 2024
821e03d
Merge branch 'development' into forestgeo-app-development
siddheshraze Oct 18, 2024
68496ee
Removing old width formatting from form column declarations
siddheshraze Oct 18, 2024
5bf7df9
applying linter changes
siddheshraze Oct 18, 2024
491ff63
missed some sections that needed to be updated (interacting with quad…
siddheshraze Oct 21, 2024
780ad20
Merge branch 'development' into forestgeo-app-development
siddheshraze Oct 21, 2024
06e4cf8
version upgrades. mui materialui modules have been deprecated so need…
siddheshraze Oct 21, 2024
41ea9a3
grid version has been deprecated. raising versions to grid2
siddheshraze Oct 21, 2024
4c7164d
fixing version name
siddheshraze Oct 21, 2024
b631b3c
Merge branch 'development' into forestgeo-app-development
siddheshraze Oct 21, 2024
06bd5d9
continuing to attempt bug fixes
siddheshraze Oct 21, 2024
7cc5194
adding default handling to address missing headers and fill them in w…
siddheshraze Oct 21, 2024
69c8436
updates: incorporating download as form csv format button to retrieve…
siddheshraze Oct 22, 2024
0b38f66
fixing issues with file upload and processing system. bugs were found…
siddheshraze Oct 22, 2024
4a9fa72
commenting out unnecessary part of file upload process due to massive…
siddheshraze Oct 22, 2024
4121e3e
fixed broken postvalidation query. added manual connection release st…
siddheshraze Oct 23, 2024
2a88b9f
corrections and system cleaning
siddheshraze Oct 23, 2024
3f68a51
saving changes. beginning upgrade process to v15 in separate branch
siddheshraze Oct 28, 2024
0b92150
updated README
siddheshraze Oct 29, 2024
7c39798
class manager system implemented to handle sql connections and their …
siddheshraze Nov 4, 2024
1071ce7
removing unneeded stub types packages
siddheshraze Nov 5, 2024
2ed5947
removing packages flagged by npx depcheck as unused to trim applicati…
siddheshraze Nov 5, 2024
d90d9ac
trim operation completed and tested. beginning custom filtration syst…
siddheshraze Nov 5, 2024
c4ffbc2
quick filtration system implemented. save capabilities pending.
siddheshraze Nov 8, 2024
7b7ce94
saving intermediary changes. Setting up completed query passthrough t…
siddheshraze Nov 8, 2024
9c26de2
quick filtration system complete. query retainment and export system …
siddheshraze Nov 14, 2024
427e445
documentation updates
siddheshraze Nov 15, 2024
0864b19
dedicated docs workflow attempt
siddheshraze Nov 15, 2024
d170c5d
tests are broken due to refactoring of the connection system. Removin…
siddheshraze Nov 15, 2024
73e5017
Merge branch 'development' into forestgeo-app-development
siddheshraze Nov 15, 2024
1738d1e
documentation updates
siddheshraze Nov 15, 2024
4ab9eca
fixing documentation workflow
siddheshraze Nov 15, 2024
764e471
technical change to trigger documentation workflow
siddheshraze Nov 15, 2024
a603878
workflow updates
siddheshraze Nov 15, 2024
7b2cd7f
triggering doc workflow
siddheshraze Nov 15, 2024
f9abc89
fixing artifact version
siddheshraze Nov 15, 2024
5846f60
triggering docs 2.0
siddheshraze Nov 15, 2024
95538e8
initial formatting fix.
siddheshraze Nov 18, 2024
8a34acf
saving changes.
siddheshraze Nov 18, 2024
38e76cf
updating package-lock
siddheshraze Nov 18, 2024
6a773c8
saving changes
siddheshraze Nov 18, 2024
371d11d
customized filtration system refined. error/valid/pending highlightin…
siddheshraze Nov 25, 2024
b08b852
snackbar reconfigured into dedicated array structure to allow multipl…
siddheshraze Nov 25, 2024
2130be8
overhaul of validation error display completed. validation sequence t…
siddheshraze Nov 26, 2024
d234406
cleanup
siddheshraze Nov 26, 2024
b6d3a47
Merge branch 'development' into forestgeo-app-development
siddheshraze Nov 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
101 changes: 101 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: Build, Test, and Deploy Writerside Documentation

on:
push:
branches: # Trigger on push to any branch
- "*"
paths:
- "frontend/documentation/**" # Only run on changes in the documentation folder
workflow_dispatch:

permissions:
id-token: write
pages: write

env:
INSTANCE: 'documentation/fad'
ARTIFACT: 'webHelpFAD2-all.zip'
DOCKER_VERSION: '243.21565' # Writerside's recommended Docker version

jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout repository
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

# Step 2: Build Writerside documentation
- name: Build docs using Writerside Docker builder
uses: JetBrains/writerside-github-action@v4
with:
instance: ${{ env.INSTANCE }}
artifact: ${{ env.ARTIFACT }}
docker-version: ${{ env.DOCKER_VERSION }}
args: --verbose

# Debug: List artifacts directory
- name: List artifacts directory
run: ls -la artifacts/

# Step 3: Save artifact with build results
- name: Save artifact with build results
uses: actions/upload-artifact@v4
with:
name: docs
path: |
artifacts/${{ env.ARTIFACT }}
artifacts/report.json
retention-days: 7

test:
needs: build
runs-on: ubuntu-latest
steps:
# Step 1: Download artifacts
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: docs
path: artifacts

# Step 2: Test Writerside documentation
- name: Test documentation
uses: JetBrains/writerside-checker-action@v1
with:
instance: ${{ env.INSTANCE }}

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: [build, test]
runs-on: ubuntu-latest
steps:
# Step 1: Download artifacts
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: docs

# Step 2: Unzip the artifact
- name: Unzip artifact
run: unzip -O UTF-8 -qq '${{ env.ARTIFACT }}' -d dir

# Step 3: Set up GitHub Pages
- name: Setup Pages
uses: actions/configure-pages@v4

# Step 4: Package and upload Pages artifact
- name: Package and upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: dir

# Step 5: Deploy to GitHub Pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

34 changes: 17 additions & 17 deletions .github/workflows/dev-forestgeo-livesite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Node.js version
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.4
with:
node-version: '18.x'
node-version: '20.x'

- name: create env file (in frontend/ directory) -- development
id: create-env-file-dev
Expand All @@ -48,22 +48,22 @@ jobs:
echo OWNER=${{ secrets.OWNER }} >> frontend/.env
echo REPO=${{ secrets.REPO }} >> frontend/.env

- name: Cache node modules
uses: actions/cache@v2
with:
path: frontend/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
# - name: Cache node modules
# uses: actions/cache@v2
# with:
# path: frontend/node_modules
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
# restore-keys: |
# ${{ runner.os }}-node-

- name: Cache Next.js build
uses: actions/cache@v2
with:
path: frontend/build/cache
key: ${{ runner.os }}-next-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/.next/cache') }}
restore-keys: |
${{ runner.os }}-next-
${{ runner.os }}-next-${{ hashFiles('**/package-lock.json') }}
# - name: Cache Next.js build
# uses: actions/cache@v2
# with:
# path: frontend/build/cache
# key: ${{ runner.os }}-next-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/.next/cache') }}
# restore-keys: |
# ${{ runner.os }}-next-
# ${{ runner.os }}-next-${{ hashFiles('**/package-lock.json') }}

- name: move into frontend --> npm install, build, and test
run: |
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/main-forestgeo-livesite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build-app-production:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment: development
environment: production

steps:
- uses: actions/checkout@v4
Expand All @@ -30,7 +30,6 @@ jobs:
echo AZURE_AD_CLIENT_SECRET=${{ secrets.AZURE_AD_CLIENT_SECRET_PRODUCTION }} >> frontend/.env
echo AZURE_AD_CLIENT_ID=${{ secrets.AZURE_AD_CLIENT_ID_PRODUCTION }} >> frontend/.env
echo AZURE_AD_TENANT_ID=${{ secrets.AZURE_AD_TENANT_ID_PRODUCTION }} >> frontend/.env
echo NEXTAUTH_URL=${{ secrets.NEXTAUTH_URL_DEV }} >> frontend/.env
echo NEXTAUTH_SECRET=${{ secrets.NEXTAUTH_SECRET }} >> frontend/.env
echo AZURE_SQL_USER=${{ secrets.AZURE_SQL_USER }} >> frontend/.env
echo AZURE_SQL_PASSWORD=${{ secrets.AZURE_SQL_PASSWORD }} >> frontend/.env
Expand Down Expand Up @@ -86,7 +85,7 @@ jobs:
deploy-app-production:
needs: build-app-production
runs-on: ubuntu-latest
environment: development
environment: production

steps:
- name: Download build artifact
Expand All @@ -103,4 +102,4 @@ jobs:
app-name: 'forestgeo-livesite'
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_PRODUCTION }}
package: frontend/build/standalone
package: frontend/build/standalone
69 changes: 34 additions & 35 deletions frontend/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@

1. FixedData cases' queries updated to correctly work with updated schemas
2. New tables/cases added:
1. `personnelrole`
2. `sitespecificvalidations`
3. `roles`
4. `measurementssummary`
5. `viewfulltable`
1. `personnelrole`
2. `sitespecificvalidations`
3. `roles`
4. `measurementssummary`
5. `viewfulltable`

###### POST

Expand All @@ -142,18 +142,18 @@

1. Postvalidation summary statistics calculation endpoint
2. Statistics queries:
1. `number of records by quadrat`
2. `all stem records by quadrat (count only)`
3. `live stem records by quadrat (count only)`
4. `tree records by quadrat (count only)`
5. `number of dead or missing stems by census`
6. `trees outside of plot limits`
7. `stems with largest DBH/HOM measurements by species`
8. `all trees that were recorded in last census that are NOT in current census`
9. `number of new stems per quadrat per census`
10. `quadrats with most and least new stems per census`
11. `number of dead stems per quadrat per census`
12. `number of dead stems per species per census`
1. `number of records by quadrat`
2. `all stem records by quadrat (count only)`
3. `live stem records by quadrat (count only)`
4. `tree records by quadrat (count only)`
5. `number of dead or missing stems by census`
6. `trees outside of plot limits`
7. `stems with largest DBH/HOM measurements by species`
8. `all trees that were recorded in last census that are NOT in current census`
9. `number of new stems per quadrat per census`
10. `quadrats with most and least new stems per census`
11. `number of dead stems per quadrat per census`
12. `number of dead stems per species per census`

#### frontend/app/api/refreshviews/[view]/[schema]/route.ts

Expand Down Expand Up @@ -220,7 +220,7 @@
3. customized cell and edit cell rendering added
4. some exceptions exist -- for instances where specific additional handling is needed, column states are directly
defined in the datagrid components themselves.
1. `alltaxonomiesview` -- specieslimits column customized addition
1. `alltaxonomiesview` -- specieslimits column customized addition

#### GitHub Feedback Modal

Expand Down Expand Up @@ -250,18 +250,18 @@
1. The DataGridCommons generic datagrid instance has been replaced by the IsolatedDataGridCommons instance, which
isolates as much information as possible to the generic instance rather than the existing DataGridCommons, which
requires parameter drilling of all MUI X DataGrid parameters. Current datagrids using this new implementation are:
- `alltaxonomiesview`
- `attributes`
- `personnel`
- `quadratpersonnel`
- `quadrats`
- `roles`
- `stemtaxonomiesview`
- `alltaxonomiesview`
- `attributes`
- `personnel`
- `quadratpersonnel`
- `quadrats`
- `roles`
- `stemtaxonomiesview`
2. found that attempting to use typescript runtime utilities to create "default" initial states for each RDS type was
causing cascading failures. Due to the way that runtime utility functions work, no data was actually reaching the
datagrids importing those initial states
1. replaced with manual definition of initial states -- planning on centralizing this to another place, similar to
the `datagridcolumns.tsx` file
1. replaced with manual definition of initial states -- planning on centralizing this to another place, similar to
the `datagridcolumns.tsx` file
3. `measurementssummaryview` datagrid instance added as a replacement to the previously defined summary page

#### Re-Entry Data Modal
Expand Down Expand Up @@ -307,20 +307,19 @@
7. materialized view reload has been adjusted to be optional. user should be able to continue the process even if one or
more of the views fails.

---
---

### SQL Updates

1. Schema has been been updated -- new tables added:
1. `roles` - outlines user roles
2. `specieslimits` - allows setting min/max bounds on measurements
3. `specimens` - recording specimen data (added on request by ForestGEO)
4. `unifiedchangelog` - partitioned table that tracks all changes to all tables in schema. All tables have triggers
that automatically update the `unifiedchangelog` on every change
5. `sitespecificvalidations` - for specific validations applicable only to the host site
1. `roles` - outlines user roles
2. `specieslimits` - allows setting min/max bounds on measurements
3. `specimens` - recording specimen data (added on request by ForestGEO)
4. `unifiedchangelog` - partitioned table that tracks all changes to all tables in schema. All tables have triggers
that automatically update the `unifiedchangelog` on every change
5. `sitespecificvalidations` - for specific validations applicable only to the host site
2. validation stored procedures have been deprecated and removed, replaced with `validationprocedures` and
`sitespecificvalidations` tables
3. migration script set has been completed and tested
4. trigger definitions have been recorded
5. view implementations have been updated

Loading
Loading