-
Notifications
You must be signed in to change notification settings - Fork 1
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
482 dataset details page provision level view table #609
Merged
GeorgeGoodall-GovUk
merged 75 commits into
main
from
482-dataset-details-page-provision-level-view-table
Nov 12, 2024
Merged
Changes from all commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
f1c091b
Merge commit '00281c82ae7b3a77cb201725db7e03678523cffb' into 482-data…
GeorgeGoodall 1633dbb
add initial routing
GeorgeGoodall 87c2fc6
add example params to table
GeorgeGoodall 0b02013
have table show
GeorgeGoodall 4d70354
have table span whole page
GeorgeGoodall d176f03
add navigation to the top
GeorgeGoodall fae5f0b
Merge remote-tracking branch 'origin/main' into 482-dataset-details-p…
GeorgeGoodall 3c2bb3e
get the task count for the navigation and also update param name
GeorgeGoodall 336a89f
update nav item name and move
GeorgeGoodall 4d62339
have table output real data
GeorgeGoodall bc0daba
add pagination
GeorgeGoodall 218f05d
fix tests
GeorgeGoodall 92985d7
Merge commit 'e927f0d2c0b4ab5c1814ff6b30507b4d456a4bfe' into 482-data…
GeorgeGoodall 491af4e
moved middleware to common and added tests
GeorgeGoodall 8680e16
move middleware to common
GeorgeGoodall 89c2db1
remove duplicate middleware
GeorgeGoodall 4f4219e
add tests for extract json fields from entities
GeorgeGoodall a8b8b0d
add tests for replace underscore in entities
GeorgeGoodall 27a3c1f
move set default params into common, added tests for dataview
GeorgeGoodall fa6c9d7
have req.parsedParams always overwrite req.params even if values are …
GeorgeGoodall 380c335
remove scripts block
GeorgeGoodall cf34d76
fix test
GeorgeGoodall 46fb950
update template schema
GeorgeGoodall cd4876e
update test name
GeorgeGoodall 3e965dd
improve tests
GeorgeGoodall 9647ed5
remove duplicate tests
GeorgeGoodall 8be9b1d
ensure issues is defined
GeorgeGoodall d084deb
Update src/middleware/dataview.middleware.js
GeorgeGoodall-GovUk 70766a3
Update src/middleware/dataview.middleware.js
GeorgeGoodall-GovUk 2c8945e
Merge commit '70766a37b284f4df03df6ce5f2bb48f0614688c8' into 482-data…
GeorgeGoodall ab0cdbb
Update src/middleware/common.middleware.js
GeorgeGoodall-GovUk fea553e
Merge commit 'ab0cdbb9b4fe4c4e90e661a40f7356340eb661b3' into 482-data…
GeorgeGoodall 282e811
Update src/middleware/dataview.middleware.js
GeorgeGoodall-GovUk 306c991
avoid potential overwrite of entity keys
GeorgeGoodall 2a19718
linting
GeorgeGoodall 7007128
Merge branch '482-dataset-details-page-provision-level-view-table' of…
GeorgeGoodall cbc4bfd
Update src/middleware/common.middleware.js
GeorgeGoodall-GovUk f12a941
add check to pagination method
GeorgeGoodall f159cf8
added more tests
GeorgeGoodall e3a939c
Merge branch '482-dataset-details-page-provision-level-view-table' of…
GeorgeGoodall 42bd900
add check on extractJsonFieldsFromEntities
GeorgeGoodall 4133172
improved tests around the get max page middleware
GeorgeGoodall 5444224
Revert "Update src/middleware/dataview.middleware.js"
GeorgeGoodall 35ecef7
Revert "Update src/middleware/dataview.middleware.js"
GeorgeGoodall 2124549
Revert "Update src/middleware/dataview.middleware.js"
GeorgeGoodall 7002824
have view data after tasklist in navigation
GeorgeGoodall bb5fe11
update table schema
GeorgeGoodall cf548f0
have numbers and links format differently
GeorgeGoodall 2c7c985
update title
GeorgeGoodall d5b7cd2
update tab text
GeorgeGoodall bdd1ff2
update other tab name
GeorgeGoodall 2352459
wrap table in grid column full
GeorgeGoodall d58f091
Revert "have view data after tasklist in navigation"
GeorgeGoodall 4859171
fix bugs around page number
GeorgeGoodall e3bfe59
remove how to fix block
GeorgeGoodall 7aeee9c
have line output indicating data range
GeorgeGoodall 0161b78
fix tests
GeorgeGoodall f93321e
add some tests for set offset
GeorgeGoodall 0705d51
use safe Number.isNaN
GeorgeGoodall 1880b92
make sure to use math.ceil for getting pageNumber
GeorgeGoodall 3693703
have the column headers as the unique field names
GeorgeGoodall 5724382
improve link detection to not consider substrings
GeorgeGoodall 0e419e1
Update src/middleware/dataview.middleware.js
GeorgeGoodall-GovUk 87a2064
Update src/middleware/dataview.middleware.js
GeorgeGoodall-GovUk 4d8f856
Merge branch 'main' into 482-dataset-details-page-provision-level-vie…
GeorgeGoodall-GovUk 3987f00
linting
GeorgeGoodall f08845e
fix tests
GeorgeGoodall 2c7ec20
Merge branch 'main' into 482-dataset-details-page-provision-level-vie…
GeorgeGoodall-GovUk 281dad8
Merge commit 'a89489aa3fc65e5746306a64113fe2456d0c9edb' into 482-data…
GeorgeGoodall 2835a03
Merge commit '2e993a763e3c9c80db42be0955ed682c34417f89' into 482-data…
GeorgeGoodall a2207e5
make column titles in the data view the same as the raw specification…
GeorgeGoodall dee5f70
make sure check column names are still prettified
GeorgeGoodall 6df2a22
fix tests
GeorgeGoodall 165fcf2
fix tests
GeorgeGoodall fc6013d
Merge remote-tracking branch 'origin/main' into 482-dataset-details-p…
GeorgeGoodall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Add input validation and enhance field mapping flexibility
The function lacks validation for required properties and has hardcoded field names. Consider:
📝 Committable suggestion