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

VUU-333: Implement layout server #970

Merged
merged 255 commits into from
Nov 21, 2023
Merged
Changes from 1 commit
Commits
Show all changes
255 commits
Select commit Hold shift + click to select a range
be745d0
restore double quotes
hyhydev Jan 5, 2023
278524d
Merge branch 'main' into feat/typescript-uplift-filter
hyhydev Jan 5, 2023
d8cd0ea
Merge pull request #1 from ScottLogic/feat/typescript-uplift-filter
hyhydev Jan 5, 2023
7fdb3ff
Merge branch 'main' into feat/typescript-uplift-layout
hyhydev Jan 6, 2023
3479ceb
layout-provider
hyhydev Jan 6, 2023
7f0e893
layout-reducer
hyhydev Jan 6, 2023
6ad6753
layout-view
hyhydev Jan 6, 2023
a412855
palette
hyhydev Jan 6, 2023
da5cd1f
palette
hyhydev Jan 6, 2023
c362302
placeholder
hyhydev Jan 6, 2023
1278b9b
layout-view decomment
hyhydev Jan 6, 2023
bfbf179
registry
hyhydev Jan 6, 2023
c559cb7
rollback multi filter dropdown
hyhydev Jan 6, 2023
dcbd318
Merge pull request #13 from ScottLogic/fix/typescript-uplift-filter-mr
hyhydev Jan 6, 2023
cca1af2
Merge branch 'main' into feat/typescript-uplift-layout
hyhydev Jan 6, 2023
06a9e15
Merge branch 'finos:main' into main
hyhydev Jan 8, 2023
9d2133c
Merge branch 'finos:main' into main
hyhydev Jan 9, 2023
ef419db
Merge branch 'finos:main' into main
hyhydev Jan 10, 2023
d059244
stack
hyhydev Jan 11, 2023
a8bcc5b
tabs
hyhydev Jan 11, 2023
d6e02cd
config wrapper
hyhydev Jan 11, 2023
5d09920
tools
hyhydev Jan 11, 2023
3cd34b5
utils
hyhydev Jan 11, 2023
009d368
layout top level
hyhydev Jan 11, 2023
822a576
Merge branch 'main' into feat/typescript-uplift-layout
hyhydev Jan 11, 2023
1207cfc
Merge branch 'finos:main' into main
hyhydev Jan 11, 2023
0934a8a
Merge branch 'main' into feat/typescript-uplift-layout
hyhydev Jan 11, 2023
70b2763
revert flexbox layout change
hyhydev Jan 11, 2023
c96fd69
restore lost semicolon
hyhydev Jan 11, 2023
7321f4f
missing space
hyhydev Jan 11, 2023
bcbb252
change action to a type union
hyhydev Jan 12, 2023
181e402
Merge pull request #14 from ScottLogic/feat/typescript-uplift-layout
hyhydev Jan 12, 2023
21acc6c
Update README.md
Joe-Dunleavy Jan 13, 2023
c61e943
Merge branch 'main' of github.com:ScottLogic/finos-vuu into main
hyhydev Jan 16, 2023
78447ed
Merge branch 'main' of https://github.com/ScottLogic/finos-vuu
Joe-Dunleavy Jan 16, 2023
8d38575
Merge branch 'finos:main' into main
hyhydev Jan 19, 2023
096c613
Merge branch 'finos-main' into sl-main
cfisher-scottlogic Sep 14, 2023
3ed1917
Merge finos-main -> SL-main
cfisher-scottlogic Sep 18, 2023
fc5115f
Sync with Finos main
pling-scottlogic Sep 18, 2023
dbe29bd
Merge pull request #43 from ScottLogic/sync-with-finos-main
pling-scottlogic Sep 18, 2023
8edb6f9
VUU-41 style fixes
vferraro-scottlogic Sep 18, 2023
4b7bbce
VUU-41 rename css variable to --vuu
vferraro-scottlogic Sep 20, 2023
9860472
Manage layout persistence via interface (#55)
pling-scottlogic Sep 22, 2023
444364d
VUU25: Initialise module
cfisher-scottlogic Sep 21, 2023
3e8e738
VUU25: Basic Controller infrastructure
cfisher-scottlogic Sep 21, 2023
7061d64
VUU25: Implement Layout & Metadata models
cfisher-scottlogic Sep 21, 2023
d444cad
VUU25: Add OpenAPI docs (Swagger)
cfisher-scottlogic Sep 22, 2023
2bb9c0a
VUU25: Add basic H2 database
cfisher-scottlogic Sep 22, 2023
55aa632
VUU25: Implement DTOs
cfisher-scottlogic Sep 22, 2023
4809e11
Merge pull request #56 from finos/main
vferraro-scottlogic Sep 25, 2023
304506f
Merge pull request #44 from ScottLogic/feature/VUU-41-fix-styling
vferraro-scottlogic Sep 25, 2023
f92841b
VUU-27 interface to return promises
vferraro-scottlogic Sep 25, 2023
e0d6728
VUU25: Change server port and swagger URL
cfisher-scottlogic Sep 26, 2023
2cbb5e2
VUU25: Wire up Controller, Service and Repository for full implementa…
cfisher-scottlogic Sep 26, 2023
4f3f4cb
VUU25: Implement model mapper to replace manual entity<->DTO conversion
cfisher-scottlogic Sep 26, 2023
a455ad2
VUU-47 add methods for loading and saving tempLayout
vferraro-scottlogic Sep 27, 2023
f426b4e
VUU-47 use loadLayoutById in LayoutList
vferraro-scottlogic Sep 27, 2023
02bb6af
VUU-47 remove unused files
vferraro-scottlogic Sep 27, 2023
13283dd
VUU-47 update other examples to use new hook
vferraro-scottlogic Sep 27, 2023
9b2f6ff
VUU25: Fix one-to-one entity persistence issue
cfisher-scottlogic Sep 28, 2023
9fa31e7
Calculated column (#882)
heswell Oct 1, 2023
58085a5
add vuu tooltip component (#885)
heswell Oct 1, 2023
4c036e1
VUU-47 improve naming
vferraro-scottlogic Oct 2, 2023
34798c6
VUU-47 use placeholder in defaultLayout
vferraro-scottlogic Oct 2, 2023
7b0c780
Merge branch 'main' of https://github.com/ScottLogic/finos-vuu into s…
vferraro-scottlogic Oct 2, 2023
c5e295e
VUU-47 update docs with new naming
vferraro-scottlogic Oct 2, 2023
fcd17c0
remove duplicate CSS
vferraro-scottlogic Oct 2, 2023
c590db3
Merge pull request #64 from ScottLogic/sync-SL-main
vferraro-scottlogic Oct 2, 2023
731b03d
Merge branch 'main' of https://github.com/ScottLogic/finos-vuu into V…
vferraro-scottlogic Oct 3, 2023
2eac507
VUU-47 fix layoutList styling
vferraro-scottlogic Oct 3, 2023
4e91e94
VUU-47 add loaded layouts to layout view
vferraro-scottlogic Oct 4, 2023
a7ed2bd
VUU25: Pluralise layout endpoint resource
cfisher-scottlogic Oct 4, 2023
ed7f151
VUU25: Amend annotations, javadocs, and updateLayout signature in the…
cfisher-scottlogic Oct 4, 2023
7d72461
VUU25: Add javadocs to definition field in LayoutDTOs
cfisher-scottlogic Oct 4, 2023
2653ab1
VUU25: Remove no args constructor on entities
cfisher-scottlogic Oct 4, 2023
29a71ce
VUU25: Replace layoutRepository with metadataRepository in LayoutServ…
cfisher-scottlogic Oct 4, 2023
42f4863
VUU25: Add date to create layout HTTP response body
cfisher-scottlogic Oct 4, 2023
10e53ad
VUU25: Introduce MetadataService
cfisher-scottlogic Oct 4, 2023
d677a0b
VUU-47 rename currentLayout to applicationLayout
vferraro-scottlogic Oct 5, 2023
715cbac
VUU25: Create layout controller unit tests (backend)
cfisher-scottlogic Oct 3, 2023
9895e10
VUU25: Create layout integration tests (backend)
cfisher-scottlogic Oct 5, 2023
3990408
VUU25: Add global exception handling to give appropriate HTTP responses
cfisher-scottlogic Oct 5, 2023
13142bb
VUU25: Rename LayoutResponseDTO to GetLayoutResponseDTO
cfisher-scottlogic Oct 5, 2023
681dd93
VUU25: Reformatting
cfisher-scottlogic Oct 5, 2023
7b5dc5a
VUU25: Make deleteLayout generate 404 if layout does not exist (backend)
cfisher-scottlogic Oct 5, 2023
c766c58
VUU-47 make defaultLayout closeable and update features
vferraro-scottlogic Oct 9, 2023
09b9e73
VUU25: Downgrade Java 17 -> 11 and Springboot 3 -> 2
cfisher-scottlogic Oct 9, 2023
dd5c120
VUU25: Change DB persistence from file to in-memory
cfisher-scottlogic Oct 9, 2023
594e454
Merge branch 'VUU25-layout-server' into VUU25-layout-server-with-tests
cfisher-scottlogic Oct 9, 2023
07c179a
VUU25: Fix issues caused by downgrading Java & Springboot
cfisher-scottlogic Oct 9, 2023
11b08f7
Weekly sync (upstream pull)
cfisher-scottlogic Oct 9, 2023
5fcb328
VUU25: Write description for layout-server pom.xml
cfisher-scottlogic Oct 10, 2023
9030700
VUU-27 interface to return promises
vferraro-scottlogic Sep 25, 2023
a751c49
VUU-54: Validate IDs in LocalLayoutPersistenceManager
pling-scottlogic Sep 28, 2023
bdd994b
VUU-54: Mock get/saveLocalEntity
pling-scottlogic Sep 28, 2023
cf30025
VUU-54: Refactor promises
pling-scottlogic Oct 2, 2023
8f4efae
VUU-54: Remove unnecessary asyncs
pling-scottlogic Oct 5, 2023
237cf0b
VUU-54: Use string union to distinguish layouts/metadata
pling-scottlogic Oct 5, 2023
d7228da
VUU-54: Rename variables
pling-scottlogic Oct 5, 2023
55fd644
VUU-54: Convert layout types to interfaces
pling-scottlogic Oct 5, 2023
e236f84
VUU-54: Extract loadAndFilter method
pling-scottlogic Oct 5, 2023
e2f80dd
VUU-54: Replace filter with find
pling-scottlogic Oct 5, 2023
bd68ee2
VUU-54: Rename validateId variables
pling-scottlogic Oct 5, 2023
080880a
VUU-54: Change vars to lets
pling-scottlogic Oct 5, 2023
0e8e78a
VUU-54: Update imports for consistency
pling-scottlogic Oct 5, 2023
e24f496
VUU-54: Add comment to explain filter(Boolean)
pling-scottlogic Oct 6, 2023
6e91966
VUU-54: Refactor tests
pling-scottlogic Oct 6, 2023
7ac0227
VUU-54: Extract expectError
pling-scottlogic Oct 6, 2023
e945aa2
VUU-54: Remove loadAndFilter method
pling-scottlogic Oct 10, 2023
51a364b
VUU-54: Remove removeEntry method
pling-scottlogic Oct 10, 2023
b1017ab
VUU-52: Add E2E tests to CI
pling-scottlogic Oct 4, 2023
5980507
VUU-52: Use commit hash for cypress-io
pling-scottlogic Oct 6, 2023
dfacb9c
VUU-52: Add comment to explain full SHA
pling-scottlogic Oct 9, 2023
1c05d6b
VUU25: Implement interface for Metadata DTOs
cfisher-scottlogic Oct 10, 2023
ccf3d9a
Merge branch 'main' of https://github.com/ScottLogic/finos-vuu into V…
vferraro-scottlogic Oct 10, 2023
d4f6319
VUU-47 rename imports
vferraro-scottlogic Oct 10, 2023
a0b2630
Merge branch 'VUU25-layout-server' into VUU25-layout-server-with-tests
cfisher-scottlogic Oct 10, 2023
550083a
VUU-59 set up notification context
vferraro-scottlogic Oct 10, 2023
82af047
VUU-47 fix cypress test
vferraro-scottlogic Oct 10, 2023
9dd96c1
Update vuu-ui/packages/vuu-layout/src/layout-persistence/LayoutPersis…
vferraro-scottlogic Oct 10, 2023
da096c4
VUU-47 remove unused import
vferraro-scottlogic Oct 10, 2023
aca2050
Merge branch 'VUU-47-link-layoutProvider-and-layoutManagerProvider' o…
vferraro-scottlogic Oct 10, 2023
3d9b958
Merge pull request #58 from ScottLogic/VUU-47-link-layoutProvider-and…
vferraro-scottlogic Oct 10, 2023
3c32c6a
VUU25: Create layout service unit tests (backend)
cfisher-scottlogic Oct 10, 2023
3d5697b
VUU25: Add test for transactional nature of LayoutService.createLayout()
cfisher-scottlogic Oct 10, 2023
3d25ff8
VUU25: Remove unnecessary LayoutController unit tests
cfisher-scottlogic Oct 10, 2023
b9ec7ca
VUU25: Mock out model mapper in LayoutController tests
cfisher-scottlogic Oct 10, 2023
bee7f43
VUU25: Remove TODO
cfisher-scottlogic Oct 11, 2023
67e5a52
Merge branch 'main' into VUU25-layout-server
cfisher-scottlogic Oct 11, 2023
6629880
VUU25: Move 'updated date' logic from DTO to service for update layou…
cfisher-scottlogic Oct 11, 2023
098bec6
VUU-59 notifications with animation
vferraro-scottlogic Oct 11, 2023
90545b0
VUU25: Move updateLayout logic from mapper in controller to setters i…
cfisher-scottlogic Oct 11, 2023
416028f
Merge branch 'VUU25-layout-server' into VUU25-layout-server-with-tests
cfisher-scottlogic Oct 11, 2023
9e4bb3f
VUU-59 revert changes to imports
vferraro-scottlogic Oct 11, 2023
6f97b5d
VUU25: Fix tests for recent changes in layout server
cfisher-scottlogic Oct 11, 2023
6116b28
VUU25: Remove unnecessary autogenerated content
cfisher-scottlogic Oct 11, 2023
4613103
VUU25: Make create layout (with a valid layout) integration test more…
cfisher-scottlogic Oct 11, 2023
9b0931a
VUU-59 change toast timeout
vferraro-scottlogic Oct 13, 2023
2831725
VUU-59 change notificationType to enum
vferraro-scottlogic Oct 13, 2023
90fbade
VUU-27 remotePersistenceManager implementation
vferraro-scottlogic Oct 16, 2023
eecde0b
VUU-27 https in baseUrl
vferraro-scottlogic Oct 16, 2023
6c0de9a
VUU25: Increase max length of screenshot column
cfisher-scottlogic Oct 16, 2023
ae2d2cc
VUU25: Change create layout endpoint to return whole layout object
cfisher-scottlogic Oct 16, 2023
00bb5d2
Merge branch 'VUU25-layout-server' into VUU25-layout-server-with-tests
cfisher-scottlogic Oct 16, 2023
4d46371
VUU25: Fix tests for new create layout response
cfisher-scottlogic Oct 16, 2023
8a6d60a
VUU25: Simplify LayoutControllerTest test name
cfisher-scottlogic Oct 16, 2023
dd7838d
VUU-59 improvements to example and add comments
vferraro-scottlogic Oct 16, 2023
d0ca229
VUU25: Fix tests for changed unidirectional Layout<->Metadata relatio…
cfisher-scottlogic Oct 16, 2023
43c9825
Merge branch 'main' of https://github.com/ScottLogic/finos-vuu into s…
vferraro-scottlogic Oct 17, 2023
fecd505
Merge pull request #77 from ScottLogic/sync-main
vferraro-scottlogic Oct 17, 2023
94ab0bb
VUU-27 add cors config
vferraro-scottlogic Oct 18, 2023
e2bc781
Merge pull request #72 from ScottLogic/VUU-59-Toast-Notifications
vferraro-scottlogic Oct 18, 2023
7034f42
VUU-27 improve error messages
vferraro-scottlogic Oct 20, 2023
f5eb9ae
VUU-27 improve error
vferraro-scottlogic Oct 20, 2023
a3a93b2
VUU-27 add type for LayoutMetadataDto
vferraro-scottlogic Oct 20, 2023
18ec1cf
VUU-27 remove redundant instantiation of persistenceManager
vferraro-scottlogic Oct 20, 2023
847f7c1
VUU-27 improvements to unit tests
vferraro-scottlogic Oct 20, 2023
63ea32e
Merge branch 'main' of https://github.com/ScottLogic/finos-vuu into V…
vferraro-scottlogic Oct 20, 2023
50afdc4
VUU25: Implement layout server (#57)
cfisher-scottlogic Oct 20, 2023
20cead2
VUU-27 make fetch method explicit for "GET"
vferraro-scottlogic Oct 20, 2023
524ae69
Merge branch 'main' into VUU25-layout-server-with-tests
cfisher-scottlogic Oct 20, 2023
e097743
VUU-70: Create resource for application layouts
pling-scottlogic Oct 13, 2023
b5e0476
VUU-70: Add integration tests
pling-scottlogic Oct 16, 2023
957148b
VUU-70: Add unit tests for controller
pling-scottlogic Oct 17, 2023
fe5c279
VUU-70: Fix service test
pling-scottlogic Oct 17, 2023
fc8e069
VUU-70: Extract constant for default layout file
pling-scottlogic Oct 17, 2023
108b087
VUU-70: Adjust whitespace
pling-scottlogic Oct 17, 2023
fe796e6
VUU-70: Use AttributeConverter for JsonNode
pling-scottlogic Oct 18, 2023
c231404
VUU-70: Remove DTO annotations
pling-scottlogic Oct 19, 2023
cc13be9
VUU-70: Rename method
pling-scottlogic Oct 19, 2023
306dbec
VUU-70: Refactor getApplicationLayout
pling-scottlogic Oct 20, 2023
c547efa
VUU-70: Standardise DTO casing
pling-scottlogic Oct 20, 2023
5fbc41b
VUU-70: Return 500 on failed JSON read
pling-scottlogic Oct 20, 2023
27ceb94
VUU-70: Adjust exception handling
pling-scottlogic Oct 23, 2023
4d99722
VUU-27 add check for date
vferraro-scottlogic Oct 23, 2023
a3b63ff
VUU-27 allow BASE_URL env variable
vferraro-scottlogic Oct 23, 2023
8602b70
VUU-70: Implement custom error responses
pling-scottlogic Oct 23, 2023
300b897
VUU25: Fix tests since merging in main with BaseMetadata
cfisher-scottlogic Oct 23, 2023
e36c635
VUU25: Fix exception not being resolved due to invalid parameters
cfisher-scottlogic Oct 23, 2023
4a8b62e
VUU-70: Update javadocs
pling-scottlogic Oct 23, 2023
436d437
VUU25: Add response body content message assertion for non-200 test r…
cfisher-scottlogic Oct 23, 2023
3772c26
VUU-70: Revert application properties
pling-scottlogic Oct 24, 2023
2c548ad
VUU-27 test improvements
vferraro-scottlogic Oct 24, 2023
333a244
VUU25: Cleanup conflict resolution mistakes from merge commit
cfisher-scottlogic Oct 24, 2023
9b08ad1
#900 disable failing test
keikeicheung Oct 17, 2023
671bb06
Update check on viewport and context menu (#913)
heswell Oct 18, 2023
37e1617
Tidy package and type issues (#914)
heswell Oct 18, 2023
d7f1076
add Layout Management Provider to sample apps (#917)
heswell Oct 18, 2023
17773da
Drag drop provider (#918)
heswell Oct 19, 2023
f4942cd
Filterbar styling (#919)
heswell Oct 22, 2023
22c80c3
move test schemas out of showcase (#920)
heswell Oct 22, 2023
80ab0d2
Update dependency electron to v22 [SECURITY] (#894)
renovate[bot] Oct 23, 2023
6490a65
bump vite, vitest versions to latest (#921)
heswell Oct 23, 2023
7303e99
Instrument picker (#923)
heswell Oct 23, 2023
340d517
reinstate ignore for inlined-wotker so stub file doesn't get overwrit…
heswell Oct 23, 2023
cb49a88
VUU-27 refactor to not use appendAndPersist
vferraro-scottlogic Oct 24, 2023
3cfbe20
VUU-70: Add DefaultApplicationLayoutLoader
pling-scottlogic Oct 24, 2023
4c2b809
VUU-70: Rename controller test methods
pling-scottlogic Oct 24, 2023
4251502
VUU25: Modify exception handling for deleteLayout
cfisher-scottlogic Oct 24, 2023
b115e53
Merge branch 'main' of https://github.com/ScottLogic/finos-vuu into V…
vferraro-scottlogic Oct 24, 2023
4183dad
Merge branch 'main' of https://github.com/ScottLogic/finos-vuu into V…
vferraro-scottlogic Oct 24, 2023
f5dbbc7
VUU-27 extract updatedLayout vars
vferraro-scottlogic Oct 24, 2023
1935ee9
VUU-27 add types for responses
vferraro-scottlogic Oct 25, 2023
4d6b475
VUU-89 make metadata and layout share ids
vferraro-scottlogic Oct 25, 2023
679155b
Merge pull request #74 from ScottLogic/VUU-27-remote-layout-management
vferraro-scottlogic Oct 25, 2023
f6d0f8d
VUU-89 fix integration tests
vferraro-scottlogic Oct 25, 2023
7dd8233
VUU25: Improve non-200 response messages
cfisher-scottlogic Oct 25, 2023
d9b27da
VUU-70: Rename header key for username
pling-scottlogic Oct 26, 2023
8f15b28
VUU-70: Remove POST endpoint
pling-scottlogic Oct 26, 2023
ade3ec4
Merge branch 'VUU25-layout-server-with-tests' of https://github.com/S…
vferraro-scottlogic Oct 27, 2023
8557deb
VUU-89 set metadata.id in Layout id setter and test improvements
vferraro-scottlogic Oct 30, 2023
88baa47
Merge finos:main -> sl:main
cfisher-scottlogic Oct 30, 2023
787fc37
VUU-89 add unit test for Layout
vferraro-scottlogic Oct 31, 2023
043fed7
VUU-89 add id to response and service to return layout
vferraro-scottlogic Nov 1, 2023
7ab6d30
VUU-70: Remove @Validated annotation
pling-scottlogic Nov 1, 2023
5ad3a79
VUU-70: Make integration test constants private
pling-scottlogic Nov 1, 2023
76b2280
VUU-89 sort imports and remove unneeded annotation
vferraro-scottlogic Nov 1, 2023
7965bb5
Merge finos:main -> sl:main
cfisher-scottlogic Nov 1, 2023
5c86765
VUU86: Add tests for layout server (#68)
cfisher-scottlogic Nov 3, 2023
6c93a6a
merge main in VUU-70
vferraro-scottlogic Nov 6, 2023
72e1370
Merge branch 'main' of https://github.com/ScottLogic/finos-vuu into V…
vferraro-scottlogic Nov 6, 2023
398a7e4
VUU-70 improve exception handling and clean-up
vferraro-scottlogic Nov 7, 2023
67c3672
VUU-70 fix comment
vferraro-scottlogic Nov 7, 2023
881afe1
VUU-70 remove helper method
vferraro-scottlogic Nov 8, 2023
64e0dcf
Merge pull request #78 from ScottLogic/VUU70-application-layout-resource
vferraro-scottlogic Nov 8, 2023
c3fb3ca
Merge branch 'main' of https://github.com/ScottLogic/finos-vuu into V…
vferraro-scottlogic Nov 8, 2023
5cce83a
Update layout-server/src/main/java/org/finos/vuu/layoutserver/reposit…
vferraro-scottlogic Nov 8, 2023
0bc6ef3
Update layout-server/src/main/java/org/finos/vuu/layoutserver/model/L…
vferraro-scottlogic Nov 8, 2023
b3949a2
VUU-89 re-add unit test
vferraro-scottlogic Nov 8, 2023
2c4b94b
Merge branch 'VUU-89-fix-layoutID' of https://github.com/ScottLogic/f…
vferraro-scottlogic Nov 8, 2023
69c9f7f
Merge pull request #92 from ScottLogic/VUU-89-fix-layoutID
vferraro-scottlogic Nov 8, 2023
ac9cddc
VUU-71: Interact with server for application layouts
pling-scottlogic Oct 25, 2023
956840d
VUU-71: Extract app layout in remote manager
pling-scottlogic Nov 10, 2023
1511551
VUU-71: Rename variable
pling-scottlogic Nov 10, 2023
63f8f47
VUU-71: Apply auto formatting
pling-scottlogic Nov 10, 2023
c3bfd03
Sync mains (pull) (#106)
cfisher-scottlogic Nov 13, 2023
a863c9f
VUU80: Refactor Dialog styling to fix multiple components (#100)
cfisher-scottlogic Nov 13, 2023
eea27db
Sync mains (pull) (#107)
cfisher-scottlogic Nov 14, 2023
906cfe5
Merge branch 'sl-main' into VUU333-layout-server
pling-scottlogic Nov 14, 2023
3f84541
VUU-333: Post-merge fix
pling-scottlogic Nov 14, 2023
77e2472
VUU-96: Convert Date to LocalDate
pling-scottlogic Nov 15, 2023
e2ca70f
VUU-81 layout definition as ObjectNode
vferraro-scottlogic Nov 10, 2023
a9af147
VUU-81 remove unused imports
vferraro-scottlogic Nov 10, 2023
5911f5f
VUU-81 remove redundant annotation and tidy up
vferraro-scottlogic Nov 14, 2023
2b92e9e
VUU-81 make const naming consistent in unit tests and add comments
vferraro-scottlogic Nov 15, 2023
2b3ad22
VUU-81 remove stringify() for definition in POST
vferraro-scottlogic Nov 16, 2023
1ad1522
VUU-81 improve naming in test
vferraro-scottlogic Nov 17, 2023
7fdeaa7
Merge pull request #104 from ScottLogic/VUU-81-definition-as-JsonNode
vferraro-scottlogic Nov 17, 2023
b55f1e4
SLVUU-27: Add allowed origins to CORS config
pling-scottlogic Nov 17, 2023
9d060cf
SLVUU-113: Add `process.env.LOCAL` flag to `esbuild.mjs` (#116)
cfisher-scottlogic Nov 20, 2023
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
Prev Previous commit
Next Next commit
VUU-27 add check for date
  • Loading branch information
vferraro-scottlogic committed Oct 23, 2023
commit 4d99722b29961f3b2a6fe4180d13e1a2b50cf30e
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ afterEach(() => {
})

describe("createLayout", () => {
it("persists to local storage with a unique ID", async () => {
it("persists to local storage with a unique ID and current date", async () => {
const { id, created } = await persistenceManager.createLayout(
metadataToAdd,
layoutToAdd
Expand All @@ -91,6 +91,7 @@ describe("createLayout", () => {
id,
};

expect(created).toEqual(formatDate(new Date(), "dd.mm.yyyy"));
expect(persistedMetadata).toEqual([expectedMetadata]);
expect(persistedLayout).toEqual([expectedLayout]);
});
Expand Down