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

Update dependency electron to v22 [SECURITY] #894

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 5, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
electron ^16.0.7 -> ^22.0.0 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.

GitHub Vulnerability Alerts

CVE-2022-36077

Impact

When following a redirect, Electron delays a check for redirecting to file:// URLs from other schemes. The contents of the file is not available to the renderer following the redirect, but if the redirect target is a SMB URL such as file://some.website.com/, then in some cases, Windows will connect to that server and attempt NTLM authentication, which can include sending hashed credentials.

Patches

This issue has been fixed in all current stable versions of Electron. Specifically, these versions contain the fixes:

  • 21.0.0-beta.1
  • 20.0.1
  • 19.0.11
  • 18.3.7

We recommend all apps upgrade to the latest stable version of Electron.

Workarounds

If upgrading isn't possible, this issue can be addressed without upgrading by preventing redirects to file:// URLs in the WebContents.on('will-redirect') event, for all WebContents:

app.on('web-contents-created', (e, webContents) => {
  webContents.on('will-redirect', (e, url) => {
    if (/^file:/.test(url)) e.preventDefault()
  })
})

For more information

If you have any questions or comments about this advisory, email us at [email protected].

Credit

Thanks to user @​coolcoolnoworries for reporting this issue.

CVE-2023-39956

Impact

Apps that are launched as command line executables are impacted. E.g. if your app exposes itself in the path as myapp --help

Specifically this issue can only be exploited if the following conditions are met:

  • Your app is launched with an attacker-controlled working directory
  • The attacker has the ability to write files to that working directory

This makes the risk quite low, in fact normally issues of this kind are considered outside of our threat model as similar to Chromium we exclude Physically Local Attacks but given the ability for this issue to bypass certain protections like ASAR Integrity it is being treated with higher importance. Please bear this in mind when reporting similar issues in the future.

Workarounds

There are no app side workarounds, you must update to a patched version of Electron.

Fixed Versions

  • 26.0.0-beta.13
  • 25.5.0
  • 24.7.1
  • 23.3.13
  • 22.3.19

For more information

If you have any questions or comments about this advisory, email us at [email protected]

CVE-2023-5217

Heap buffer overflow in vp8 encoding in libvpx in Google Chrome prior to 117.0.5938.132 and libvpx 1.13.1 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.


Release Notes

electron/electron (electron)

v22.3.25: electron v22.3.25

Compare Source

Release Notes for v22.3.25

Other Changes

v22.3.24: electron v22.3.24

Release Notes for v22.3.24

Other Changes

v22.3.23: electron v22.3.23

Release Notes for v22.3.23

Other Changes

v22.3.22: electron v22.3.22

Release Notes for v22.3.22

Fixes

Other Changes

v22.3.21: electron v22.3.21

Compare Source

Release Notes for v22.3.21

Fixes

  • Fixed unnecessary package.json check on built-in modules. #​39425

Other Changes

v22.3.18: electron v22.3.18

Compare Source

Release Notes for v22.3.18

Other Changes

v22.3.17: electron v22.3.17

Compare Source

Release Notes for v22.3.17

Other Changes

v22.3.16: electron v22.3.16

Compare Source

Release Notes for v22.3.16

Other Changes

v22.3.15: electron v22.3.15

Compare Source

Release Notes for v22.3.15

Other Changes

v22.3.14: electron v22.3.14

Compare Source

Release Notes for v22.3.14

Other Changes

v22.3.13: electron v22.3.13

Compare Source

Release Notes for v22.3.13

Other Changes

v22.3.12: electron v22.3.12

Compare Source

Release Notes for v22.3.12

Other Changes

v22.3.11: electron v22.3.11

Compare Source

Release Notes for v22.3.11

Other Changes

v22.3.10: electron v22.3.10

Compare Source

Release Notes for v22.3.10

Other Changes

v22.3.9: electron v22.3.9

Compare Source

Release Notes for v22.3.9

Other Changes

  • Fixed drag-and-drop crash on Wayland. #​38199

v22.3.8: electron v22.3.8

Compare Source

Release Notes for v22.3.8

Fixes

  • Fixed crash when executing eval in the utility process. #​38156 (Also in 23, 24, 25)

v22.3.7: electron v22.3.7

Compare Source

Release Notes for v22.3.7

Fixes

  • Fixed an issue which made defaultFontFamily in webPreferences have no effect. #​37970 (Also in 23, 24, 25)
  • Fixed broken defaults in shell.openExternal() options. #​38092 (Also in 23, 24, 25)
  • Fixed the active background color for top-level menu items on Windows. #​37991 (Also in 23, 24)

Other Changes

v22.3.6: electron v22.3.6

Compare Source

Release Notes for v22.3.6

Fixes

  • Fixed recommended node-gyp version in node.h error. #​37942 (Also in 23, 24, 25)
  • Security: Fixed an issue with Content-Security-Policy not being correctly enforced when sandbox: false and contextIsolation: false. (CVE-2023-23623). #​37843 (Also in 24)

Other Changes

v22.3.5: electron v22.3.5

Compare Source

Release Notes for v22.3.5

Fixes

  • Fixed an issue where calling port.postMessage in MessagePortMain with some invalid parameters could cause a crash. #​37725 (Also in 23, 24)
  • Fixed canceling of bluetooth requests when no devices are returned. #​37739 (Also in 23, 24)

Other Changes

v22.3.4: electron v22.3.4

Compare Source

Release Notes for v22.3.4

Fixes

  • Fixed an issue with potential dock icon duplication on macOS. #​37623 (Also in 23, 24)
  • Fixed issue with BrowserWindow not updating after call to previewFile. #​37576 (Also in 23, 24)
  • Improved error messages on session.cookies.set failure. #​37595 (Also in 23, 24)

Other Changes

v22.3.3: electron v22.3.3

Compare Source

Release Notes for v22.3.3

Fixes

  • Fixed an issue where unhandled rejections could cause duplicate logs in some cases. #​37502 (Also in 23, 24)

Other Changes

v22.3.2: electron v22.3.2

Compare Source

Release Notes for v22.3.2

Fixes

  • Fixed an issue where minWidth/minHeight and maxWidth/maxHeight would not be enforced if the user set an aspectRatio on macOS. #​37458 (Also in 23, 24)
  • Fixed an issue where passing both hasReply and actions to a main process Notification on macOS resulted in the first action being obscured and unavailable. #​37447 (Also in 23, 24)
  • Fixed window could not go back to maximized state when restored on Linux. #​37360 (Also in 23, 24)

Other Changes

  • Improved error messages for contents.takeHeapSnapshot. #​37459 (Also in 23, 24)

v22.3.1: electron v22.3.1

Compare Source

Release Notes for v22.3.1
Other Changes
  • Security: backported fix for chromium:1408392. #​37298
Documentation

v22.3.0: electron v22.3.0

Compare Source

Release Notes for v22.3.0

Features

  • Added several standard page size options to webContents.print(). #​37263 (Also in 23, 24)

Fixes

  • Fixed a crash when BrowserViews are present and a user attempts to prevent beforeunload in the renderer process. #​37266 (Also in 23, 24)
  • Fixed an incorrect result returned when using secure as a cookies filter. #​37247 (Also in 24)

Other Changes

v22.2.1: electron v22.2.1

Compare Source

Release Notes for v22.2.1
Features
  • Whole-program optimization is enabled by default in electron node headers config file. #​37047 (Also in 21, 23)
Fixes
  • Basic accessibility support is now enabled when macOS Voice Control is activated to allow for full voice control of Electron applications. #​37146 (Also in 21, 23)
  • Fixed audio worklet scripts failing to run when nodeIntegrationInWorker: true. #​37102 (Also in 23)
Documentation

v22.2.0: electron v22.2.0

Compare Source

Release Notes for v22.0.0

Stack Upgrades

Breaking Changes

  • Added WebContents input-event event.
    • Deprecated BrowserWindow scroll-touch-* events. #​35531
  • The deprecated new-window event has been removed. #​34526

Features

  • Added LoadBrowserProcessSpecificV8Snapshot as a new fuse that will let the main/browser process load its v8 snapshot from a file at browser_v8_context_snapshot.bin. Any other process will use the same path as is used today. #​35266 (Also in 20, 21)
  • Added WebContents.opener to access window opener.
    • Added webContents.fromFrame(frame) to get the WebContents corresponding to a WebFrameMain instance. #​35140 (Also in 21)
  • Added app.getSystemLocale() method. #​35697 (Also in 21)
  • Added contextBridge.exposeInIsolatedWorld(worldId, key, api) to expose an API to an isolatedWorld within a renderer from a preload script. #​34974
  • Added webContents.close() method. #​35509
  • Added webFrameMain.origin. #​35438 (Also in 19, 20, 21)
  • Added an app.getPreferredSystemLanguages() API to return the user's system languages. #​36291 (Also in 21)
  • Added new UtilityProcess API to launch chromium child process with node integration. #​36089
  • Added new WebContents event content-bounds-updated. #​35533
  • Added new WebContents.ipc and WebFrameMain.ipc APIs. #​34959 (Also in 21)
  • Added support for Web Bluetooth pin pairing on Linux and Windows. #​35416 (Also in 21)
  • Added support for navigator.mediaDevices.getDisplayMedia via a new session handler, ses.setDisplayMediaRequestHandler. #​30702
  • Added support for serialPort.forget() as well as a new event serial-port-revoked emitted when a given origin is revoked. #​36062

Fixes

  • Added support for Webauthn discoverable keys (aka resident keys), allowing users to authenticate without first having to select or type a username. #​35374
  • Enable crashpad for ELECTRON_RUN_AS_NODE processes on linux. #​36483
  • Fixed click event and tooltip of Tray not working on Linux. #​36472
  • Fixed an issue where frameless non-resizable windows showed a Windows 7 frame during startup. #​36024
  • Fixed an issue with incomplete EventEmitter object in sandboxed renderer preload script. #​35522
  • Fixed race condition during update on macOS that could result in TCC and Keychain errors. #​36362
  • Removed unneeded --turbo-profiling-input argument from mksnapshot_args. #​36463
Also in earlier versions...
  • Added a background to the WCO container to avoid rendering glitches. #​35569 (Also in 19, 20, 21)
  • Added support for Windows drop-down dialog extensions. #​35618 (Also in 18, 19, 20, 21)
  • Default margin has been added in the code. #​36073 (Also in 21)
  • Enable WCO maximize button when window enters tablet mode and is not already maximized. #​35617 (Also in 19, 20, 21)
  • Fixed uv_os_gethostname failing on Windows 7. #​35702 (Also in 19, 20, 21)
  • Fixed a bug where calling atob in the renderer process could fail under some circumstances. #​35415 (Also in 19, 20, 21)
  • Fixed a crash that occured when loading non-standard schemes from iframes. #​35485 (Also in 21)
  • Fixed a crash when switching origins with emulation settings set. #​35466 (Also in 21)
  • Fixed a drag-and-drop issue on macOS where items would be incorrectly moved instead of copied in some contexts. #​35976 (Also in 20, 21)
  • Fixed a potential crash on WebWorker destruction. #​35422 (Also in 19, 20, 21)
  • Fixed a potential issue when calling webContents.printToPDF(). #​36065 (Also in 21)
  • Fixed a potential memory leak. #​35964 (Also in 21)
  • Fixed an edge case in app.isInApplicationsFolder() which would return false incorrectly in some cases. #​35636 (Also in 19, 20, 21)
  • Fixed an issue where DevTools could not be docked with Windows Control Overlay enabled. #​35754 (Also in 19, 20, 21)
  • Fixed an issue where WCO could occlude DevTools opened in any non-detached mode. #​35209 (Also in 18, 19, 20, 21)
  • Fixed an issue where screen.getCursorScreenPoint() crashed on Wayland when it was called before a BrowserWindow had been created. #​35503 (Also in 21)
  • Fixed an issue where serialPort.open() failed with NetworkError: Failed to open serial port.. #​35306 (Also in 21)
  • Fixed an issue where app.relaunch loses args when execPath is specified. #​35108 (Also in 19, 20, 21)
  • Fixed an issue where calling app.dock.setIcon(/path/t/icon) would crash when called before the ready event on app. #​36293 (Also in 20, 21)
  • Fixed an issue where frameless resizable windows showed Window 7 style frames while opening. #​35189 (Also in 18, 19, 20, 21)
  • Fixed an issue where frameless windows with roundedCorners: false couldn't enter fullscreen without crashing. #​35421 (Also in 19, 20, 21)
  • Fixed an issue where part of the BrowserView could be cut off when calling setBounds on some windows. #​34713 (Also in 19, 20, 21)
  • Fixed an issue where some options were incorrectly ignored when using webContents.printToPDF(). #​35993 (Also in 21)
  • Fixed crash in renderer when resuming system from sleep. #​35322 (Also in 18, 19, 20, 21)
  • Fixed enable promise support with webFrameMain.executeJavaScript. #​35292 (Also in 20, 21)
  • Fixed issue with history.back() in sandboxed iframes affecting parent browsing context. #​35420 (Also in 19, 20, 21)
  • Fixed on-screen-keyboard not hiding on input rendered in webview is blurred. #​35983 (Also in 20, 21)
  • Fixed session.getBlobData never resolves with blob sizes > 65536. #​35277 (Also in 19, 20, 21)
  • Fixed spurious promise rejection in webContents.loadURL when navigating to a hash. #​36151 (Also in 20, 21)
  • Fixed undefined details.requestingUrl from session.setPermissionCheckHandler. #​35281 (Also in 20, 21)
  • Fixed v8 flags and desktop name in package.json does not hornored when running local app using electron cli. #​36049 (Also in 20, 21)
  • Fixed: If a custom Electron build contains an electron.d.ts file, it is now being used. #​33979 (Also in 20, 21)
  • Picture-In-Picture mode no longer becomes a red rectangle on hover. #​35034 (Also in 19, 20, 21)
  • Provided display_id for desktopCapturer on Linux. #​33861 (Also in 19, 20, 21)
  • Removed support for nodeIntegrationInWorker in Service Workers and Shared Workers owing to sandboxing policies. #​36010 (Also in 21)
  • Usage of safeStorage now consistently uses the correct service name on macOS regardless of timing with browser window construction. #​34683 (Also in 19, 20)
  • You can now import the built-in electron module via ESModule loaders, i.e. import('electron') and import 'electron' now work natively. #​35957 (Also in 20, 21)
  • Fixed a typo in the section on debugging with VSCode. #​35256 (Also in 19, 20, 21)

Other Changes

  • Backported fix for chromium:1352405. #​36458
  • Bumps the minimum required version of Node.js needed to install Electron to 12.20.55. #​35301
  • Enabled out-of-process iframe printing to PDF with webContents.printToPDF().. #​36095
  • Fixed win.getBrowserViews() not being updated when a BrowserView was moved to a different window. #​35511
  • Fixed an issue where some spellcheck functionality would incorrectly throw errors on macOS. #​35514 (Also in 21)
  • Modified the WCO maximized button style to match Windows 11 more closely. #​35370 (Also in 20, 21)
  • Updated common.gypi for native modules to support C++17 features in V8. #​36369 (Also in 20, 21)

Documentation

Notices

Sunsetting Windows 7/8/8.1

Electron will be ending support for Windows 7/8/8.1 after version 22.x.y following Chromium's plan to end support. Older versions of Electron will continue to work, but no further updates will be made for these operating systems.

End of Support for 19.x.y

Electron 19.x.y has reached end-of-support as per the project's support policy. Developers and applications are encouraged to upgrade to a newer version of Electron.

v22.1.0: electron v22.1.0

Compare Source

Release Notes for v22.1.0

Features

  • Added label property to Display objects. #​36932 (Also in 21, 23)

Fixes

  • Fixed an issue where webViews could have an incorrect initial background color following reloads. #​36940 (Also in 21, 23)
  • Removed plugin helper checks on macOS gated behind enable_plugins buildflag. #​36978 (Also in 23)

Other Changes

  • Fixed voiceover repeating selected text when expanding selection in a textarea. #​36991

v22.0.3: electron v22.0.3

Compare Source

Release Notes for v22.0.3
Fixes
  • Fixed an issue on macOS when trying to switch processes with Cmd+Tab after exiting Kiosk Mode. #​36918 (Also in 21, 23)
  • Fixed an issue where the setPermissionRequestHandler callback would be invoked twice when using navigator.getUserMedia(...). #​36873 (Also in 23)
  • Use the process cache to reduce the memory for asar file. #​36664 (Also in 21, 23)

v22.0.2: electron v22.0.2

Compare Source

Release Notes for v22.0.2

Fixes

  • Fixed an RTL issue that could happen in some locales when calling BrowserWindow.setTrafficLightPosition() on macOS. #​36851 (Also in 21, 23)
  • Fixed an error when fs.readdir gets null for options. #​36849 (Also in 23)
  • Fixed missing headers in libcxx_headers bundle. #​36865

Other Changes

v22.0.1: electron v22.0.1

Compare Source

Release Notes for v22.0.1

Fixes

  • Changed HTML5 Notifications created with the requireInteraction option to not timeout on Linux and Windows. #​36501 (Also in 21)
  • Fixed a crash that could occur when running eval in inline scripts in unsandboxed renderer processes. #​36668 (Also in 23)
  • Fixed an issue with incorrect focus ring highlighting when using dialog.showMessageBox(). #​36802 (Also in 21, 23)
  • Fixed binary stripping for branded release builds on Linux. #​36654 (Also in 21, 23)
  • Fixed warning about duplicate WebSwapCGLLayer symbols when Electron starts on macOS. #​36800 (Also in 21, 23)

Other Changes

  • Added node-api: handle no support for external buffers. #​36624
  • Backported fix for chromium:1352405. #​36517
  • Backported fix for chromium:1352405. #​36518
  • Removed unneeded --turbo-profiling-input argument from mksnapshot_args for Linux mksnapshot zips. #​36782 (Also in 23)
  • Updated Chromium to 108.0.5359.99. #​36613

v22.0.0: electron v22.0.0

Compare Source

Release Notes for v22.0.0

Stack Upgrades

Breaking Changes

  • Added WebContents input-event event.
    • Deprecated BrowserWindow scroll-touch-* events. #​35531
  • The deprecated new-window event has been removed. #​34526

Features

  • Added LoadBrowserProcessSpecificV8Snapshot as a new fuse that will let the main/browser process load its v8 snapshot from a file at browser_v8_context_snapshot.bin. Any other process will use the same path as is used today. #​35266 (Also in 20, 21)
  • Added WebContents.opener to access window opener.
    • Added webContents.fromFrame(frame) to get the WebContents corresponding to a WebFrameMain instance. #​35140 (Also in 21)
  • Added app.getSystemLocale() method. #​35697 (Also in 21)
  • Added contextBridge.exposeInIsolatedWorld(worldId, key, api) to expose an API to an isolatedWorld within a renderer from a preload script. #​34974
  • Added webContents.close() method. #​35509
  • Added webFrameMain.origin. #​35438 (Also in 19, 20, 21)
  • Added an app.getPreferredSystemLanguages() API to return the user's system languages. #​36291 (Also in 21)
  • Added new UtilityProcess API to launch chromium child process with node integration. #​36089
  • Added new WebContents event content-bounds-updated. #​35533
  • Added new WebContents.ipc and WebFrameMain.ipc APIs. #​34959 (Also in 21)
  • Added support for Web Bluetooth pin pairing on Linux and Windows. #​35416 (Also in 21)
  • Added support for navigator.mediaDevices.getDisplayMedia via a new session handler, ses.setDisplayMediaRequestHandler. #​30702
  • Added support for serialPort.forget() as well as a new event serial-port-revoked emitted when a given origin is revoked. #​36062

Fixes

  • Added support for Webauthn discoverable keys (aka resident keys), allowing users to authenticate without first having to select or type a username. #​35374
  • Enable crashpad for ELECTRON_RUN_AS_NODE processes on linux. #​36483
  • Fixed click event and tooltip of Tray not working on Linux. #​36472
  • Fixed an issue where frameless non-resizable windows showed a Windows 7 frame during startup. #​36024
  • Fixed an issue with incomplete EventEmitter object in sandboxed renderer preload script. #​35522
  • Fixed race condition during update on macOS that could result in TCC and Keychain errors. #​36362
  • Removed unneeded --turbo-profiling-input argument from mksnapshot_args. #​36463
Also in earlier versions...

@netlify
Copy link

netlify bot commented Oct 5, 2023

Deploy Preview for papaya-valkyrie-395400 canceled.

Name Link
🔨 Latest commit daf076a
🔍 Latest deploy log https://app.netlify.com/sites/papaya-valkyrie-395400/deploys/651f072b444eef0009b3e370

@heswell heswell merged commit a745b49 into main Oct 23, 2023
11 checks passed
@heswell heswell deleted the renovate/npm-electron-vulnerability branch October 23, 2023 07:11
pling-scottlogic pushed a commit to ScottLogic/finos-vuu that referenced this pull request Oct 24, 2023
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
cfisher-scottlogic added a commit to ScottLogic/finos-vuu that referenced this pull request Oct 30, 2023
* finos#900 disable failing test

* Update check on viewport and context menu (finos#913)

* remove reprecated Portal, fixes in COntextMenu

* use woff2 font, fix portal

* make sure ContextMenu always has theme attributes

* type fixes

* Tidy package and type issues (finos#914)

* fix package references, type issues

* add typescript config for correct auto import resolution

* Layout Management (finos#916)

* fix vuu-filters types

* drawer and dialog fix

* drag drop flexbox editable

* Update vuu-ui/packages/vuu-filters/src/filter-utils.ts

Whitespace between guard clauses

Co-authored-by: Luke Vincent <[email protected]>

* layout header

* restore double quotes

* layout-provider

* layout-reducer

* layout-view

* palette

* palette

* placeholder

* layout-view decomment

* registry

* rollback multi filter dropdown

* stack

* tabs

* config wrapper

* tools

* utils

* layout top level

* revert flexbox layout change

* restore lost semicolon

* missing space

* change action to a type union

* Update README.md

* Sync with Finos main

* VUU-41 style fixes

* VUU-41 rename css variable to --vuu

* Manage layout persistence via interface (#55)

* VUU-27 interface to return promises

* VUU-47 add methods for loading and saving tempLayout

* VUU-47 use loadLayoutById in LayoutList

* VUU-47 remove unused files

* VUU-47 update other examples to use new hook

* Calculated column (finos#882)

* calculated column in settings, instrument search

* additional mock data sources

* instrument tiles

* calculated column editing

* measured-container

* Row used columnMap rathe than column key

* full keyboard nav for table

* fix drag drop in column group headerr

* use MeasuredContainer for Table List

* table cell editing updates datasource

* table editing

* fix type issues

* fix old background renderer

* remove outdated import in showcase story

* exclude PatternValidator from semgrep

* add vuu tooltip component (finos#885)

* VUU-47 improve naming

* VUU-47 use placeholder in defaultLayout

* VUU-47 update docs with new naming

* remove duplicate CSS

* VUU-47 fix layoutList styling

* VUU-47 add loaded layouts to layout view

* VUU-47 rename currentLayout to applicationLayout

* VUU-47 make defaultLayout closeable and update features

* VUU-27 interface to return promises

* VUU-54: Validate IDs in LocalLayoutPersistenceManager

* VUU-54: Mock get/saveLocalEntity

* VUU-54: Refactor promises

* VUU-54: Remove unnecessary asyncs

* VUU-54: Use string union to distinguish layouts/metadata

* VUU-54: Rename variables

* VUU-54: Convert layout types to interfaces

* VUU-54: Extract loadAndFilter method

* VUU-54: Replace filter with find

* VUU-54: Rename validateId variables

* VUU-54: Change vars to lets

* VUU-54: Update imports for consistency

* VUU-54: Add comment to explain filter(Boolean)

* VUU-54: Refactor tests

* VUU-54: Extract expectError

* VUU-54: Remove loadAndFilter method

* VUU-54: Remove removeEntry method

* VUU-52: Add E2E tests to CI

* VUU-52: Use commit hash for cypress-io

* VUU-52: Add comment to explain full SHA

* VUU-47 rename imports

* VUU-59 set up notification context

* VUU-47 fix cypress test

* Update vuu-ui/packages/vuu-layout/src/layout-persistence/LayoutPersistenceManager.ts

Co-authored-by: Cara <[email protected]>

* VUU-47 remove unused import

* VUU-59 notifications with animation

* VUU-59 revert changes to imports

* VUU-59 change toast timeout

* VUU-59 change notificationType to enum

* VUU-59 improvements to example and add comments

---------

Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: cfisher-scottlogic <[email protected]>
Co-authored-by: Cara <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: heswell <[email protected]>

* add Layout Management Provider to sample apps (finos#917)

* add Layout Management Provider to sample apps

* fix test dependencies

* Drag drop provider (finos#918)

* add DragDrop example, resume drag in DragProvider

* full flow for remote drag

* fix type issues

* fix post rebase conflicts, type issues

* ignore type issue in drag drop code for now, so packages build

* Filterbar styling (finos#919)

* improve the keyboards navigation in Toolbar

* fix form control styling, uennecessaryb layout rerenders, table resize bug

* make sure all table config setting changes are saved, style tweaks

* calculated columns

* fix dropdown width

* fix width of combo in SaveLayout Panel

* remove console.log

* fix bug in OverflowContainer when orientation vertical

* remove global error listener, leave this to cypress

* move test schemas out of showcase (finos#920)

* Update dependency electron to v22 [SECURITY] (finos#894)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* bump vite, vitest versions to latest (finos#921)

* Instrument picker (finos#923)

* make instrument-picker more generic

* refactor Table navigation, preparing for row highlighting

* fix broken import paths

* add empty inlined worker as vitext mocj fails otherwise

* reinstate ignore for inlined-wotker so stub file doesn't get overwritten (finos#924)

* disable basket functionality in showcase while we wait for full server (finos#925)

* disable basket functionality in showcase while we wait for server implementation

* remove console log

* fix styling of main tabs during drag (finos#929)

* wiring together calculated column pieces (finos#931)

* wiring together calculated column pieces

* remove logging

* re-enable all tests

* fix FilterTable resize bug (finos#932)

* move table height fix to measured container (finos#933)

* type fixes (finos#934)

* final styling for calculated column input (finos#935)

* connect filterbar to persistence (finos#936)

* connect filterbar to persistence

* skip test for missing TreeWalker finctionality until its there

* final adjustments to table column header styling (finos#937)

* move date generators to test data package (finos#938)

* Bump postcss from 8.4.27 to 8.4.31 in /vuu-ui (finos#926)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* finos#850 added for functionality to the rpc service, not ready for the big time yet, but not far off.

* finos#850 added ability to reference tables in separate modules.

* finos#850 refactored simul module to take prices out to prices module

* finos#850 refactored tableDefContainer to make it an implicit, otherwise it is re-used in the tests causing issues.

* finos#850 found a bug with basket constituents, not resolved as of this commit.

* finos#850 found a bug with basket constituents, not resolved as of this commit.

* Update basket tables UI (finos#940)

* update all basket tables, integrate basket server changes

* filter basket tables when loading

* connect cell editing

* remove console log

* fix newFeature story

* remove console log

* fix for dropdown width error

* remove console.log

* Fix faulty conflict resolutions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: keikeicheung <[email protected]>
Co-authored-by: heswell <[email protected]>
Co-authored-by: Vasco <[email protected]>
Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris <[email protected]>
cfisher-scottlogic added a commit to ScottLogic/finos-vuu that referenced this pull request Nov 1, 2023
* finos#900 disable failing test

* Update check on viewport and context menu (finos#913)

* remove reprecated Portal, fixes in COntextMenu

* use woff2 font, fix portal

* make sure ContextMenu always has theme attributes

* type fixes

* Tidy package and type issues (finos#914)

* fix package references, type issues

* add typescript config for correct auto import resolution

* Layout Management (finos#916)

* fix vuu-filters types

* drawer and dialog fix

* drag drop flexbox editable

* Update vuu-ui/packages/vuu-filters/src/filter-utils.ts

Whitespace between guard clauses

Co-authored-by: Luke Vincent <[email protected]>

* layout header

* restore double quotes

* layout-provider

* layout-reducer

* layout-view

* palette

* palette

* placeholder

* layout-view decomment

* registry

* rollback multi filter dropdown

* stack

* tabs

* config wrapper

* tools

* utils

* layout top level

* revert flexbox layout change

* restore lost semicolon

* missing space

* change action to a type union

* Update README.md

* Sync with Finos main

* VUU-41 style fixes

* VUU-41 rename css variable to --vuu

* Manage layout persistence via interface (#55)

* VUU-27 interface to return promises

* VUU-47 add methods for loading and saving tempLayout

* VUU-47 use loadLayoutById in LayoutList

* VUU-47 remove unused files

* VUU-47 update other examples to use new hook

* Calculated column (finos#882)

* calculated column in settings, instrument search

* additional mock data sources

* instrument tiles

* calculated column editing

* measured-container

* Row used columnMap rathe than column key

* full keyboard nav for table

* fix drag drop in column group headerr

* use MeasuredContainer for Table List

* table cell editing updates datasource

* table editing

* fix type issues

* fix old background renderer

* remove outdated import in showcase story

* exclude PatternValidator from semgrep

* add vuu tooltip component (finos#885)

* VUU-47 improve naming

* VUU-47 use placeholder in defaultLayout

* VUU-47 update docs with new naming

* remove duplicate CSS

* VUU-47 fix layoutList styling

* VUU-47 add loaded layouts to layout view

* VUU-47 rename currentLayout to applicationLayout

* VUU-47 make defaultLayout closeable and update features

* VUU-27 interface to return promises

* VUU-54: Validate IDs in LocalLayoutPersistenceManager

* VUU-54: Mock get/saveLocalEntity

* VUU-54: Refactor promises

* VUU-54: Remove unnecessary asyncs

* VUU-54: Use string union to distinguish layouts/metadata

* VUU-54: Rename variables

* VUU-54: Convert layout types to interfaces

* VUU-54: Extract loadAndFilter method

* VUU-54: Replace filter with find

* VUU-54: Rename validateId variables

* VUU-54: Change vars to lets

* VUU-54: Update imports for consistency

* VUU-54: Add comment to explain filter(Boolean)

* VUU-54: Refactor tests

* VUU-54: Extract expectError

* VUU-54: Remove loadAndFilter method

* VUU-54: Remove removeEntry method

* VUU-52: Add E2E tests to CI

* VUU-52: Use commit hash for cypress-io

* VUU-52: Add comment to explain full SHA

* VUU-47 rename imports

* VUU-59 set up notification context

* VUU-47 fix cypress test

* Update vuu-ui/packages/vuu-layout/src/layout-persistence/LayoutPersistenceManager.ts

Co-authored-by: Cara <[email protected]>

* VUU-47 remove unused import

* VUU-59 notifications with animation

* VUU-59 revert changes to imports

* VUU-59 change toast timeout

* VUU-59 change notificationType to enum

* VUU-59 improvements to example and add comments

---------

Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: cfisher-scottlogic <[email protected]>
Co-authored-by: Cara <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: heswell <[email protected]>

* add Layout Management Provider to sample apps (finos#917)

* add Layout Management Provider to sample apps

* fix test dependencies

* Drag drop provider (finos#918)

* add DragDrop example, resume drag in DragProvider

* full flow for remote drag

* fix type issues

* fix post rebase conflicts, type issues

* ignore type issue in drag drop code for now, so packages build

* Filterbar styling (finos#919)

* improve the keyboards navigation in Toolbar

* fix form control styling, uennecessaryb layout rerenders, table resize bug

* make sure all table config setting changes are saved, style tweaks

* calculated columns

* fix dropdown width

* fix width of combo in SaveLayout Panel

* remove console.log

* fix bug in OverflowContainer when orientation vertical

* remove global error listener, leave this to cypress

* move test schemas out of showcase (finos#920)

* Update dependency electron to v22 [SECURITY] (finos#894)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* bump vite, vitest versions to latest (finos#921)

* Instrument picker (finos#923)

* make instrument-picker more generic

* refactor Table navigation, preparing for row highlighting

* fix broken import paths

* add empty inlined worker as vitext mocj fails otherwise

* reinstate ignore for inlined-wotker so stub file doesn't get overwritten (finos#924)

* disable basket functionality in showcase while we wait for full server (finos#925)

* disable basket functionality in showcase while we wait for server implementation

* remove console log

* fix styling of main tabs during drag (finos#929)

* wiring together calculated column pieces (finos#931)

* wiring together calculated column pieces

* remove logging

* re-enable all tests

* fix FilterTable resize bug (finos#932)

* move table height fix to measured container (finos#933)

* type fixes (finos#934)

* final styling for calculated column input (finos#935)

* connect filterbar to persistence (finos#936)

* connect filterbar to persistence

* skip test for missing TreeWalker finctionality until its there

* final adjustments to table column header styling (finos#937)

* move date generators to test data package (finos#938)

* Bump postcss from 8.4.27 to 8.4.31 in /vuu-ui (finos#926)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* finos#850 added for functionality to the rpc service, not ready for the big time yet, but not far off.

* finos#850 added ability to reference tables in separate modules.

* finos#850 refactored simul module to take prices out to prices module

* finos#850 refactored tableDefContainer to make it an implicit, otherwise it is re-used in the tests causing issues.

* finos#850 found a bug with basket constituents, not resolved as of this commit.

* finos#850 found a bug with basket constituents, not resolved as of this commit.

* Update basket tables UI (finos#940)

* update all basket tables, integrate basket server changes

* filter basket tables when loading

* connect cell editing

* remove console log

* fix newFeature story

* remove console log

* fix for dropdown width error

* remove console.log

* basket workflow (finos#941)

* Fix faulty conflict resolutions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: keikeicheung <[email protected]>
Co-authored-by: heswell <[email protected]>
Co-authored-by: Vasco <[email protected]>
Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris <[email protected]>
cfisher-scottlogic added a commit to ScottLogic/finos-vuu that referenced this pull request Nov 13, 2023
* finos#900 disable failing test

* Update check on viewport and context menu (finos#913)

* remove reprecated Portal, fixes in COntextMenu

* use woff2 font, fix portal

* make sure ContextMenu always has theme attributes

* type fixes

* Tidy package and type issues (finos#914)

* fix package references, type issues

* add typescript config for correct auto import resolution

* Layout Management (finos#916)

* fix vuu-filters types

* drawer and dialog fix

* drag drop flexbox editable

* Update vuu-ui/packages/vuu-filters/src/filter-utils.ts

Whitespace between guard clauses

Co-authored-by: Luke Vincent <[email protected]>

* layout header

* restore double quotes

* layout-provider

* layout-reducer

* layout-view

* palette

* palette

* placeholder

* layout-view decomment

* registry

* rollback multi filter dropdown

* stack

* tabs

* config wrapper

* tools

* utils

* layout top level

* revert flexbox layout change

* restore lost semicolon

* missing space

* change action to a type union

* Update README.md

* Sync with Finos main

* VUU-41 style fixes

* VUU-41 rename css variable to --vuu

* Manage layout persistence via interface (#55)

* VUU-27 interface to return promises

* VUU-47 add methods for loading and saving tempLayout

* VUU-47 use loadLayoutById in LayoutList

* VUU-47 remove unused files

* VUU-47 update other examples to use new hook

* Calculated column (finos#882)

* calculated column in settings, instrument search

* additional mock data sources

* instrument tiles

* calculated column editing

* measured-container

* Row used columnMap rathe than column key

* full keyboard nav for table

* fix drag drop in column group headerr

* use MeasuredContainer for Table List

* table cell editing updates datasource

* table editing

* fix type issues

* fix old background renderer

* remove outdated import in showcase story

* exclude PatternValidator from semgrep

* add vuu tooltip component (finos#885)

* VUU-47 improve naming

* VUU-47 use placeholder in defaultLayout

* VUU-47 update docs with new naming

* remove duplicate CSS

* VUU-47 fix layoutList styling

* VUU-47 add loaded layouts to layout view

* VUU-47 rename currentLayout to applicationLayout

* VUU-47 make defaultLayout closeable and update features

* VUU-27 interface to return promises

* VUU-54: Validate IDs in LocalLayoutPersistenceManager

* VUU-54: Mock get/saveLocalEntity

* VUU-54: Refactor promises

* VUU-54: Remove unnecessary asyncs

* VUU-54: Use string union to distinguish layouts/metadata

* VUU-54: Rename variables

* VUU-54: Convert layout types to interfaces

* VUU-54: Extract loadAndFilter method

* VUU-54: Replace filter with find

* VUU-54: Rename validateId variables

* VUU-54: Change vars to lets

* VUU-54: Update imports for consistency

* VUU-54: Add comment to explain filter(Boolean)

* VUU-54: Refactor tests

* VUU-54: Extract expectError

* VUU-54: Remove loadAndFilter method

* VUU-54: Remove removeEntry method

* VUU-52: Add E2E tests to CI

* VUU-52: Use commit hash for cypress-io

* VUU-52: Add comment to explain full SHA

* VUU-47 rename imports

* VUU-59 set up notification context

* VUU-47 fix cypress test

* Update vuu-ui/packages/vuu-layout/src/layout-persistence/LayoutPersistenceManager.ts

Co-authored-by: Cara <[email protected]>

* VUU-47 remove unused import

* VUU-59 notifications with animation

* VUU-59 revert changes to imports

* VUU-59 change toast timeout

* VUU-59 change notificationType to enum

* VUU-59 improvements to example and add comments

---------

Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: cfisher-scottlogic <[email protected]>
Co-authored-by: Cara <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: heswell <[email protected]>

* add Layout Management Provider to sample apps (finos#917)

* add Layout Management Provider to sample apps

* fix test dependencies

* Drag drop provider (finos#918)

* add DragDrop example, resume drag in DragProvider

* full flow for remote drag

* fix type issues

* fix post rebase conflicts, type issues

* ignore type issue in drag drop code for now, so packages build

* Filterbar styling (finos#919)

* improve the keyboards navigation in Toolbar

* fix form control styling, uennecessaryb layout rerenders, table resize bug

* make sure all table config setting changes are saved, style tweaks

* calculated columns

* fix dropdown width

* fix width of combo in SaveLayout Panel

* remove console.log

* fix bug in OverflowContainer when orientation vertical

* remove global error listener, leave this to cypress

* move test schemas out of showcase (finos#920)

* Update dependency electron to v22 [SECURITY] (finos#894)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* bump vite, vitest versions to latest (finos#921)

* Instrument picker (finos#923)

* make instrument-picker more generic

* refactor Table navigation, preparing for row highlighting

* fix broken import paths

* add empty inlined worker as vitext mocj fails otherwise

* reinstate ignore for inlined-wotker so stub file doesn't get overwritten (finos#924)

* disable basket functionality in showcase while we wait for full server (finos#925)

* disable basket functionality in showcase while we wait for server implementation

* remove console log

* fix styling of main tabs during drag (finos#929)

* wiring together calculated column pieces (finos#931)

* wiring together calculated column pieces

* remove logging

* re-enable all tests

* fix FilterTable resize bug (finos#932)

* move table height fix to measured container (finos#933)

* type fixes (finos#934)

* final styling for calculated column input (finos#935)

* connect filterbar to persistence (finos#936)

* connect filterbar to persistence

* skip test for missing TreeWalker finctionality until its there

* final adjustments to table column header styling (finos#937)

* move date generators to test data package (finos#938)

* Bump postcss from 8.4.27 to 8.4.31 in /vuu-ui (finos#926)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* finos#850 added for functionality to the rpc service, not ready for the big time yet, but not far off.

* finos#850 added ability to reference tables in separate modules.

* finos#850 refactored simul module to take prices out to prices module

* finos#850 refactored tableDefContainer to make it an implicit, otherwise it is re-used in the tests causing issues.

* finos#850 found a bug with basket constituents, not resolved as of this commit.

* finos#850 found a bug with basket constituents, not resolved as of this commit.

* Update basket tables UI (finos#940)

* update all basket tables, integrate basket server changes

* filter basket tables when loading

* connect cell editing

* remove console log

* fix newFeature story

* remove console log

* fix for dropdown width error

* remove console.log

* basket workflow (finos#941)

* Login panel (finos#942)

* login panel

* WIP

* tidy up type issues etc

* import fixes

* remove deprecated example

* finos#944 Added fix for threading related issue in ViewPortContainer.scala when change was called.

* finos#944 Reduced logging

* Switch UI to new Theme (finos#943)

* remove sample app

* rename basket trading app to sample-app

* fix broken inmports

* fix bugs persistning table settings

* 862 create a basketdesign table that represents the specific instance of a basket that we are modifying it will be based on a basket entry but can be customized to what the user needs (finos#948)

* finos#862 Fixed test versions to abstract out clock.

* finos#862 Added Viewport scoped rpc service to test.

* finos#862 Added ability to edit baskets join service.

* Fix minor UI issues (finos#949)

* fix UI dataTable issue - bugs after resize

A column resize operation populates the ColumnState state value. From
this point on columnState shadows modelColumns so subsequent changes
to modelColumns are not rendered.

* enable custom editors for cell renderers

Column Settings Panel allows a custom renderer to be selected.
Some renderers will have settings of their own. This enables
editors form those settings to be made available.

* fix type issue

* update baskets used in showcase examples to match server tables (finos#950)

* add initial support for columns backed by lookup tables (finos#951)

* move basket data generation into simulated vuu module to pave way for rpc support

* add updater for prices, insert for array data source

* create Table for test data in modules

* fix scrolling issue in table when focusing edit fields

* add initial support for table columns backed by lookup tables

* wire table cell editing to server calls (finos#953)

* Schema load sequence (finos#955)

* cache table meta requests with promise to avoid multiple server requests

* ensure table meta is loaded before client is notified of subcribe

table meta for all tables was being requested from server every
time any hook asked for the table data. This was happening twice
at startup. Now we cache the metadata.
If we didn't have table meta at point where CREATE_VP_SUCCESS was
handled, we notified client anyway. This caused tables to be rendered
with no type information, so alignment was wrong on numerics.

* fix all data tests

* Merge persistence manager generator approaches

* Fix duplicated NavigationStyle export in `TableNext.examples.tsx`

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: keikeicheung <[email protected]>
Co-authored-by: heswell <[email protected]>
Co-authored-by: Vasco <[email protected]>
Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris <[email protected]>
Co-authored-by: chrisjstevo <[email protected]>
cfisher-scottlogic added a commit to ScottLogic/finos-vuu that referenced this pull request Nov 14, 2023
* finos#900 disable failing test

* Update check on viewport and context menu (finos#913)

* remove reprecated Portal, fixes in COntextMenu

* use woff2 font, fix portal

* make sure ContextMenu always has theme attributes

* type fixes

* Tidy package and type issues (finos#914)

* fix package references, type issues

* add typescript config for correct auto import resolution

* Layout Management (finos#916)

* fix vuu-filters types

* drawer and dialog fix

* drag drop flexbox editable

* Update vuu-ui/packages/vuu-filters/src/filter-utils.ts

Whitespace between guard clauses

Co-authored-by: Luke Vincent <[email protected]>

* layout header

* restore double quotes

* layout-provider

* layout-reducer

* layout-view

* palette

* palette

* placeholder

* layout-view decomment

* registry

* rollback multi filter dropdown

* stack

* tabs

* config wrapper

* tools

* utils

* layout top level

* revert flexbox layout change

* restore lost semicolon

* missing space

* change action to a type union

* Update README.md

* Sync with Finos main

* VUU-41 style fixes

* VUU-41 rename css variable to --vuu

* Manage layout persistence via interface (#55)

* VUU-27 interface to return promises

* VUU-47 add methods for loading and saving tempLayout

* VUU-47 use loadLayoutById in LayoutList

* VUU-47 remove unused files

* VUU-47 update other examples to use new hook

* Calculated column (finos#882)

* calculated column in settings, instrument search

* additional mock data sources

* instrument tiles

* calculated column editing

* measured-container

* Row used columnMap rathe than column key

* full keyboard nav for table

* fix drag drop in column group headerr

* use MeasuredContainer for Table List

* table cell editing updates datasource

* table editing

* fix type issues

* fix old background renderer

* remove outdated import in showcase story

* exclude PatternValidator from semgrep

* add vuu tooltip component (finos#885)

* VUU-47 improve naming

* VUU-47 use placeholder in defaultLayout

* VUU-47 update docs with new naming

* remove duplicate CSS

* VUU-47 fix layoutList styling

* VUU-47 add loaded layouts to layout view

* VUU-47 rename currentLayout to applicationLayout

* VUU-47 make defaultLayout closeable and update features

* VUU-27 interface to return promises

* VUU-54: Validate IDs in LocalLayoutPersistenceManager

* VUU-54: Mock get/saveLocalEntity

* VUU-54: Refactor promises

* VUU-54: Remove unnecessary asyncs

* VUU-54: Use string union to distinguish layouts/metadata

* VUU-54: Rename variables

* VUU-54: Convert layout types to interfaces

* VUU-54: Extract loadAndFilter method

* VUU-54: Replace filter with find

* VUU-54: Rename validateId variables

* VUU-54: Change vars to lets

* VUU-54: Update imports for consistency

* VUU-54: Add comment to explain filter(Boolean)

* VUU-54: Refactor tests

* VUU-54: Extract expectError

* VUU-54: Remove loadAndFilter method

* VUU-54: Remove removeEntry method

* VUU-52: Add E2E tests to CI

* VUU-52: Use commit hash for cypress-io

* VUU-52: Add comment to explain full SHA

* VUU-47 rename imports

* VUU-59 set up notification context

* VUU-47 fix cypress test

* Update vuu-ui/packages/vuu-layout/src/layout-persistence/LayoutPersistenceManager.ts

Co-authored-by: Cara <[email protected]>

* VUU-47 remove unused import

* VUU-59 notifications with animation

* VUU-59 revert changes to imports

* VUU-59 change toast timeout

* VUU-59 change notificationType to enum

* VUU-59 improvements to example and add comments

---------

Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: cfisher-scottlogic <[email protected]>
Co-authored-by: Cara <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: heswell <[email protected]>

* add Layout Management Provider to sample apps (finos#917)

* add Layout Management Provider to sample apps

* fix test dependencies

* Drag drop provider (finos#918)

* add DragDrop example, resume drag in DragProvider

* full flow for remote drag

* fix type issues

* fix post rebase conflicts, type issues

* ignore type issue in drag drop code for now, so packages build

* Filterbar styling (finos#919)

* improve the keyboards navigation in Toolbar

* fix form control styling, uennecessaryb layout rerenders, table resize bug

* make sure all table config setting changes are saved, style tweaks

* calculated columns

* fix dropdown width

* fix width of combo in SaveLayout Panel

* remove console.log

* fix bug in OverflowContainer when orientation vertical

* remove global error listener, leave this to cypress

* move test schemas out of showcase (finos#920)

* Update dependency electron to v22 [SECURITY] (finos#894)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* bump vite, vitest versions to latest (finos#921)

* Instrument picker (finos#923)

* make instrument-picker more generic

* refactor Table navigation, preparing for row highlighting

* fix broken import paths

* add empty inlined worker as vitext mocj fails otherwise

* reinstate ignore for inlined-wotker so stub file doesn't get overwritten (finos#924)

* disable basket functionality in showcase while we wait for full server (finos#925)

* disable basket functionality in showcase while we wait for server implementation

* remove console log

* fix styling of main tabs during drag (finos#929)

* wiring together calculated column pieces (finos#931)

* wiring together calculated column pieces

* remove logging

* re-enable all tests

* fix FilterTable resize bug (finos#932)

* move table height fix to measured container (finos#933)

* type fixes (finos#934)

* final styling for calculated column input (finos#935)

* connect filterbar to persistence (finos#936)

* connect filterbar to persistence

* skip test for missing TreeWalker finctionality until its there

* final adjustments to table column header styling (finos#937)

* move date generators to test data package (finos#938)

* Bump postcss from 8.4.27 to 8.4.31 in /vuu-ui (finos#926)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* finos#850 added for functionality to the rpc service, not ready for the big time yet, but not far off.

* finos#850 added ability to reference tables in separate modules.

* finos#850 refactored simul module to take prices out to prices module

* finos#850 refactored tableDefContainer to make it an implicit, otherwise it is re-used in the tests causing issues.

* finos#850 found a bug with basket constituents, not resolved as of this commit.

* finos#850 found a bug with basket constituents, not resolved as of this commit.

* Update basket tables UI (finos#940)

* update all basket tables, integrate basket server changes

* filter basket tables when loading

* connect cell editing

* remove console log

* fix newFeature story

* remove console log

* fix for dropdown width error

* remove console.log

* basket workflow (finos#941)

* Login panel (finos#942)

* login panel

* WIP

* tidy up type issues etc

* import fixes

* remove deprecated example

* finos#944 Added fix for threading related issue in ViewPortContainer.scala when change was called.

* finos#944 Reduced logging

* Switch UI to new Theme (finos#943)

* remove sample app

* rename basket trading app to sample-app

* fix broken inmports

* fix bugs persistning table settings

* 862 create a basketdesign table that represents the specific instance of a basket that we are modifying it will be based on a basket entry but can be customized to what the user needs (finos#948)

* finos#862 Fixed test versions to abstract out clock.

* finos#862 Added Viewport scoped rpc service to test.

* finos#862 Added ability to edit baskets join service.

* Fix minor UI issues (finos#949)

* fix UI dataTable issue - bugs after resize

A column resize operation populates the ColumnState state value. From
this point on columnState shadows modelColumns so subsequent changes
to modelColumns are not rendered.

* enable custom editors for cell renderers

Column Settings Panel allows a custom renderer to be selected.
Some renderers will have settings of their own. This enables
editors form those settings to be made available.

* fix type issue

* update baskets used in showcase examples to match server tables (finos#950)

* add initial support for columns backed by lookup tables (finos#951)

* move basket data generation into simulated vuu module to pave way for rpc support

* add updater for prices, insert for array data source

* create Table for test data in modules

* fix scrolling issue in table when focusing edit fields

* add initial support for table columns backed by lookup tables

* wire table cell editing to server calls (finos#953)

* Schema load sequence (finos#955)

* cache table meta requests with promise to avoid multiple server requests

* ensure table meta is loaded before client is notified of subcribe

table meta for all tables was being requested from server every
time any hook asked for the table data. This was happening twice
at startup. Now we cache the metadata.
If we didn't have table meta at point where CREATE_VP_SUCCESS was
handled, we notified client anyway. This caused tables to be rendered
with no type information, so alignment was wrong on numerics.

* fix all data tests

* Issue 850 added the first example module test for rpc services  (finos#954)

* finos#850 Refactored example code so that simulation is in its own module

* finos#850 Refactored example code into its own module

* finos#850 updated documentation

* finos#850 organized imports

* finos#850 added first consumer test outline

* finos#850 added ability to create viewport in test easily

* finos#850 added ability to create viewport in test easily

* finos#850 added first example working test calling viewport Rpc call.

* finos#850 renamed test case.

* finos#850 Added example flow for baskets

* finos#850 Added additional example for editRowAction

* finos#850 Added additional methods for editable example.

* finos#850 Added additional methods for editable example.

* finos#850 Added more functionality to the demo basket app.

* finos#850 Added thorough test of basket functionality.

* finos#850 Fixed test assert which accidentally changed contract in test.

* finos#850 Fixed test assert which accidentally changed contract in test.

* finos#850 Fixed test assert which accidentally changed contract in test.

* finos#850 fixed the bad pom definition.

* finos#850 deleted duplicate and not required config and updated semgrep.

* Release 0.9.20 beta (finos#956)

* [maven-release-plugin] prepare release vuu-parent-0.9.20-beta

* [maven-release-plugin] prepare for next development iteration

---------

Co-authored-by: GitHub Actions <[email protected]>

* finos#957 added all projects to release build. (finos#960)

* finos#957 added all projects to release build.

* finos#957 added all projects to release build.

* finos#957 added all projects to release build.

* Release 0.9.33 beta (finos#961)

* [maven-release-plugin] prepare release vuu-parent-0.9.33-beta

* [maven-release-plugin] prepare for next development iteration

---------

Co-authored-by: GitHub Actions <[email protected]>

* finos#957 fixed issue with javadoc. (finos#963)

* Release 0.9.35 beta (finos#964)

* [maven-release-plugin] prepare release vuu-parent-0.9.35-beta

* [maven-release-plugin] prepare for next development iteration

---------

Co-authored-by: GitHub Actions <[email protected]>

* enable context menu on basket constituents (finos#965)

* fix behaviour in baskets module in data-test

* fix pinned column rendering gap

* enable context menu in basket constituent table in basket feature

* remove console log

* Fix conflict resolutions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: keikeicheung <[email protected]>
Co-authored-by: heswell <[email protected]>
Co-authored-by: Vasco <[email protected]>
Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris <[email protected]>
Co-authored-by: chrisjstevo <[email protected]>
Co-authored-by: GitHub Actions <[email protected]>
heswell added a commit that referenced this pull request Nov 21, 2023
* restore double quotes

* layout-provider

* layout-reducer

* layout-view

* palette

* palette

* placeholder

* layout-view decomment

* registry

* rollback multi filter dropdown

* stack

* tabs

* config wrapper

* tools

* utils

* layout top level

* revert flexbox layout change

* restore lost semicolon

* missing space

* change action to a type union

* Update README.md

* Sync with Finos main

* VUU-41 style fixes

* VUU-41 rename css variable to --vuu

* Manage layout persistence via interface (#55)

* VUU25: Initialise module

* VUU25: Basic Controller infrastructure

* VUU25: Implement Layout & Metadata models

* VUU25: Add OpenAPI docs (Swagger)

* VUU25: Add basic H2 database

* VUU25: Implement DTOs

* VUU-27 interface to return promises

* VUU25: Change server port and swagger URL

* VUU25: Wire up Controller, Service and Repository for full implementation

- Also amend DTOs to differentiate request/response data

* VUU25: Implement model mapper to replace manual entity<->DTO conversion

* VUU-47 add methods for loading and saving tempLayout

* VUU-47 use loadLayoutById in LayoutList

* VUU-47 remove unused files

* VUU-47 update other examples to use new hook

* VUU25: Fix one-to-one entity persistence issue

* Calculated column (#882)

* calculated column in settings, instrument search

* additional mock data sources

* instrument tiles

* calculated column editing

* measured-container

* Row used columnMap rathe than column key

* full keyboard nav for table

* fix drag drop in column group headerr

* use MeasuredContainer for Table List

* table cell editing updates datasource

* table editing

* fix type issues

* fix old background renderer

* remove outdated import in showcase story

* exclude PatternValidator from semgrep

* add vuu tooltip component (#885)

* VUU-47 improve naming

* VUU-47 use placeholder in defaultLayout

* VUU-47 update docs with new naming

* remove duplicate CSS

* VUU-47 fix layoutList styling

* VUU-47 add loaded layouts to layout view

* VUU25: Pluralise layout endpoint resource

* VUU25: Amend annotations, javadocs, and updateLayout signature in the Controller

* VUU25: Add javadocs to definition field in LayoutDTOs

* VUU25: Remove no args constructor on entities

* VUU25: Replace layoutRepository with metadataRepository in LayoutService.getMetadata

* VUU25: Add date to create layout HTTP response body

* VUU25: Introduce MetadataService

* VUU-47 rename currentLayout to applicationLayout

* VUU25: Create layout controller unit tests (backend)

* VUU25: Create layout integration tests (backend)

* VUU25: Add global exception handling to give appropriate HTTP responses

* VUU25: Rename LayoutResponseDTO to GetLayoutResponseDTO

* VUU25: Reformatting

* VUU25: Make deleteLayout generate 404 if layout does not exist (backend)

* VUU-47 make defaultLayout closeable and update features

* VUU25: Downgrade Java 17 -> 11 and Springboot 3 -> 2

* VUU25: Change DB persistence from file to in-memory

* VUU25: Fix issues caused by downgrading Java & Springboot

* VUU25: Write description for layout-server pom.xml

* VUU-27 interface to return promises

* VUU-54: Validate IDs in LocalLayoutPersistenceManager

* VUU-54: Mock get/saveLocalEntity

* VUU-54: Refactor promises

* VUU-54: Remove unnecessary asyncs

* VUU-54: Use string union to distinguish layouts/metadata

* VUU-54: Rename variables

* VUU-54: Convert layout types to interfaces

* VUU-54: Extract loadAndFilter method

* VUU-54: Replace filter with find

* VUU-54: Rename validateId variables

* VUU-54: Change vars to lets

* VUU-54: Update imports for consistency

* VUU-54: Add comment to explain filter(Boolean)

* VUU-54: Refactor tests

* VUU-54: Extract expectError

* VUU-54: Remove loadAndFilter method

* VUU-54: Remove removeEntry method

* VUU-52: Add E2E tests to CI

* VUU-52: Use commit hash for cypress-io

* VUU-52: Add comment to explain full SHA

* VUU25: Implement interface for Metadata DTOs

* VUU-47 rename imports

* VUU-59 set up notification context

* VUU-47 fix cypress test

* Update vuu-ui/packages/vuu-layout/src/layout-persistence/LayoutPersistenceManager.ts

Co-authored-by: Cara <[email protected]>

* VUU-47 remove unused import

* VUU25: Create layout service unit tests (backend)

* VUU25: Add test for transactional nature of LayoutService.createLayout()

* VUU25: Remove unnecessary LayoutController unit tests

* VUU25: Mock out model mapper in LayoutController tests

* VUU25: Remove TODO

* VUU25: Move 'updated date' logic from DTO to service for update layout requests

* VUU-59 notifications with animation

* VUU25: Move updateLayout logic from mapper in controller to setters in service

* VUU-59 revert changes to imports

* VUU25: Fix tests for recent changes in layout server

- Update and delete layout in LayoutControllerTest and LayoutServiceTest

* VUU25: Remove unnecessary autogenerated content

- maven wrapper files
- gitignore

* VUU25: Make create layout (with a valid layout) integration test more robust

* VUU-59 change toast timeout

* VUU-59 change notificationType to enum

* VUU-27 remotePersistenceManager implementation

* VUU-27 https in baseUrl

* VUU25: Increase max length of screenshot column

* VUU25: Change create layout endpoint to return whole layout object

* VUU25: Fix tests for new create layout response

* VUU25: Simplify LayoutControllerTest test name

- `getLayout_validIdAndLayoutExists_returnsLayout` -> `getLayout_layoutExists_returnsLayout`

* VUU-59 improvements to example and add comments

* VUU25: Fix tests for changed unidirectional Layout<->Metadata relationship

* VUU-27 add cors config

* VUU-27 improve error messages

* VUU-27 improve error

* VUU-27 add type for LayoutMetadataDto

* VUU-27 remove redundant instantiation of persistenceManager

* VUU-27 improvements to unit tests

* VUU25: Implement layout server (#57)

Implement the remote server implementation for layout management

* VUU-27 make fetch method explicit for "GET"

* VUU-70: Create resource for application layouts

* VUU-70: Add integration tests

* VUU-70: Add unit tests for controller

* VUU-70: Fix service test

* VUU-70: Extract constant for default layout file

* VUU-70: Adjust whitespace

* VUU-70: Use AttributeConverter for JsonNode

* VUU-70: Remove DTO annotations

* VUU-70: Rename method

* VUU-70: Refactor getApplicationLayout

* VUU-70: Standardise DTO casing

* VUU-70: Return 500 on failed JSON read

* VUU-70: Adjust exception handling

* VUU-27 add check for date

* VUU-27 allow BASE_URL env variable

* VUU-70: Implement custom error responses

* VUU25: Fix tests since merging in main with BaseMetadata

* VUU25: Fix exception not being resolved due to invalid parameters

* VUU-70: Update javadocs

* VUU25: Add response body content message assertion for non-200 test requests

* VUU-70: Revert application properties

* VUU-27 test improvements

* VUU25: Cleanup conflict resolution mistakes from merge commit

* #900 disable failing test

* Update check on viewport and context menu (#913)

* remove reprecated Portal, fixes in COntextMenu

* use woff2 font, fix portal

* make sure ContextMenu always has theme attributes

* type fixes

* Tidy package and type issues (#914)

* fix package references, type issues

* add typescript config for correct auto import resolution

* add Layout Management Provider to sample apps (#917)

* add Layout Management Provider to sample apps

* fix test dependencies

* Drag drop provider (#918)

* add DragDrop example, resume drag in DragProvider

* full flow for remote drag

* fix type issues

* fix post rebase conflicts, type issues

* ignore type issue in drag drop code for now, so packages build

* Filterbar styling (#919)

* improve the keyboards navigation in Toolbar

* fix form control styling, uennecessaryb layout rerenders, table resize bug

* make sure all table config setting changes are saved, style tweaks

* calculated columns

* fix dropdown width

* fix width of combo in SaveLayout Panel

* remove console.log

* fix bug in OverflowContainer when orientation vertical

* remove global error listener, leave this to cypress

* move test schemas out of showcase (#920)

* Update dependency electron to v22 [SECURITY] (#894)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* bump vite, vitest versions to latest (#921)

* Instrument picker (#923)

* make instrument-picker more generic

* refactor Table navigation, preparing for row highlighting

* fix broken import paths

* add empty inlined worker as vitext mocj fails otherwise

* reinstate ignore for inlined-wotker so stub file doesn't get overwritten (#924)

* VUU-27 refactor to not use appendAndPersist

* VUU-70: Add DefaultApplicationLayoutLoader

- Introduce DefaultApplicationLayoutLoader to lazily load JSON from a static file
- Refactor service to use loader
- Add integration test case for failure to load default
- Rename static JSON files
- Move JsonNodeConverter to utils package

* VUU-70: Rename controller test methods

* VUU25: Modify exception handling for deleteLayout

* Merge branch 'main' of https://github.com/ScottLogic/finos-vuu into VUU-27-remote-layout-management

* VUU-27 extract updatedLayout vars

* VUU-27 add types for responses

* VUU-89 make metadata and layout share ids

* VUU-89 fix integration tests

* VUU25: Improve non-200 response messages

* VUU-70: Rename header key for username

- Rename header key from 'user' to 'username'
- Add integration tests for missing username

* VUU-70: Remove POST endpoint

* VUU-89 set metadata.id in Layout id setter and test improvements

* Merge finos:main -> sl:main

* #900 disable failing test

* Update check on viewport and context menu (#913)

* remove reprecated Portal, fixes in COntextMenu

* use woff2 font, fix portal

* make sure ContextMenu always has theme attributes

* type fixes

* Tidy package and type issues (#914)

* fix package references, type issues

* add typescript config for correct auto import resolution

* Layout Management (#916)

* fix vuu-filters types

* drawer and dialog fix

* drag drop flexbox editable

* Update vuu-ui/packages/vuu-filters/src/filter-utils.ts

Whitespace between guard clauses

Co-authored-by: Luke Vincent <[email protected]>

* layout header

* restore double quotes

* layout-provider

* layout-reducer

* layout-view

* palette

* palette

* placeholder

* layout-view decomment

* registry

* rollback multi filter dropdown

* stack

* tabs

* config wrapper

* tools

* utils

* layout top level

* revert flexbox layout change

* restore lost semicolon

* missing space

* change action to a type union

* Update README.md

* Sync with Finos main

* VUU-41 style fixes

* VUU-41 rename css variable to --vuu

* Manage layout persistence via interface (#55)

* VUU-27 interface to return promises

* VUU-47 add methods for loading and saving tempLayout

* VUU-47 use loadLayoutById in LayoutList

* VUU-47 remove unused files

* VUU-47 update other examples to use new hook

* Calculated column (#882)

* calculated column in settings, instrument search

* additional mock data sources

* instrument tiles

* calculated column editing

* measured-container

* Row used columnMap rathe than column key

* full keyboard nav for table

* fix drag drop in column group headerr

* use MeasuredContainer for Table List

* table cell editing updates datasource

* table editing

* fix type issues

* fix old background renderer

* remove outdated import in showcase story

* exclude PatternValidator from semgrep

* add vuu tooltip component (#885)

* VUU-47 improve naming

* VUU-47 use placeholder in defaultLayout

* VUU-47 update docs with new naming

* remove duplicate CSS

* VUU-47 fix layoutList styling

* VUU-47 add loaded layouts to layout view

* VUU-47 rename currentLayout to applicationLayout

* VUU-47 make defaultLayout closeable and update features

* VUU-27 interface to return promises

* VUU-54: Validate IDs in LocalLayoutPersistenceManager

* VUU-54: Mock get/saveLocalEntity

* VUU-54: Refactor promises

* VUU-54: Remove unnecessary asyncs

* VUU-54: Use string union to distinguish layouts/metadata

* VUU-54: Rename variables

* VUU-54: Convert layout types to interfaces

* VUU-54: Extract loadAndFilter method

* VUU-54: Replace filter with find

* VUU-54: Rename validateId variables

* VUU-54: Change vars to lets

* VUU-54: Update imports for consistency

* VUU-54: Add comment to explain filter(Boolean)

* VUU-54: Refactor tests

* VUU-54: Extract expectError

* VUU-54: Remove loadAndFilter method

* VUU-54: Remove removeEntry method

* VUU-52: Add E2E tests to CI

* VUU-52: Use commit hash for cypress-io

* VUU-52: Add comment to explain full SHA

* VUU-47 rename imports

* VUU-59 set up notification context

* VUU-47 fix cypress test

* Update vuu-ui/packages/vuu-layout/src/layout-persistence/LayoutPersistenceManager.ts

Co-authored-by: Cara <[email protected]>

* VUU-47 remove unused import

* VUU-59 notifications with animation

* VUU-59 revert changes to imports

* VUU-59 change toast timeout

* VUU-59 change notificationType to enum

* VUU-59 improvements to example and add comments

---------

Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: cfisher-scottlogic <[email protected]>
Co-authored-by: Cara <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: heswell <[email protected]>

* add Layout Management Provider to sample apps (#917)

* add Layout Management Provider to sample apps

* fix test dependencies

* Drag drop provider (#918)

* add DragDrop example, resume drag in DragProvider

* full flow for remote drag

* fix type issues

* fix post rebase conflicts, type issues

* ignore type issue in drag drop code for now, so packages build

* Filterbar styling (#919)

* improve the keyboards navigation in Toolbar

* fix form control styling, uennecessaryb layout rerenders, table resize bug

* make sure all table config setting changes are saved, style tweaks

* calculated columns

* fix dropdown width

* fix width of combo in SaveLayout Panel

* remove console.log

* fix bug in OverflowContainer when orientation vertical

* remove global error listener, leave this to cypress

* move test schemas out of showcase (#920)

* Update dependency electron to v22 [SECURITY] (#894)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* bump vite, vitest versions to latest (#921)

* Instrument picker (#923)

* make instrument-picker more generic

* refactor Table navigation, preparing for row highlighting

* fix broken import paths

* add empty inlined worker as vitext mocj fails otherwise

* reinstate ignore for inlined-wotker so stub file doesn't get overwritten (#924)

* disable basket functionality in showcase while we wait for full server (#925)

* disable basket functionality in showcase while we wait for server implementation

* remove console log

* fix styling of main tabs during drag (#929)

* wiring together calculated column pieces (#931)

* wiring together calculated column pieces

* remove logging

* re-enable all tests

* fix FilterTable resize bug (#932)

* move table height fix to measured container (#933)

* type fixes (#934)

* final styling for calculated column input (#935)

* connect filterbar to persistence (#936)

* connect filterbar to persistence

* skip test for missing TreeWalker finctionality until its there

* final adjustments to table column header styling (#937)

* move date generators to test data package (#938)

* Bump postcss from 8.4.27 to 8.4.31 in /vuu-ui (#926)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* #850 added for functionality to the rpc service, not ready for the big time yet, but not far off.

* #850 added ability to reference tables in separate modules.

* #850 refactored simul module to take prices out to prices module

* #850 refactored tableDefContainer to make it an implicit, otherwise it is re-used in the tests causing issues.

* #850 found a bug with basket constituents, not resolved as of this commit.

* #850 found a bug with basket constituents, not resolved as of this commit.

* Update basket tables UI (#940)

* update all basket tables, integrate basket server changes

* filter basket tables when loading

* connect cell editing

* remove console log

* fix newFeature story

* remove console log

* fix for dropdown width error

* remove console.log

* Fix faulty conflict resolutions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: keikeicheung <[email protected]>
Co-authored-by: heswell <[email protected]>
Co-authored-by: Vasco <[email protected]>
Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris <[email protected]>

* VUU-89 add unit test for Layout

* VUU-89 add id to response and service to return layout

* VUU-70: Remove @Validated annotation

* VUU-70: Make integration test constants private

* VUU-89 sort imports and remove unneeded annotation

* Merge finos:main -> sl:main

* #900 disable failing test

* Update check on viewport and context menu (#913)

* remove reprecated Portal, fixes in COntextMenu

* use woff2 font, fix portal

* make sure ContextMenu always has theme attributes

* type fixes

* Tidy package and type issues (#914)

* fix package references, type issues

* add typescript config for correct auto import resolution

* Layout Management (#916)

* fix vuu-filters types

* drawer and dialog fix

* drag drop flexbox editable

* Update vuu-ui/packages/vuu-filters/src/filter-utils.ts

Whitespace between guard clauses

Co-authored-by: Luke Vincent <[email protected]>

* layout header

* restore double quotes

* layout-provider

* layout-reducer

* layout-view

* palette

* palette

* placeholder

* layout-view decomment

* registry

* rollback multi filter dropdown

* stack

* tabs

* config wrapper

* tools

* utils

* layout top level

* revert flexbox layout change

* restore lost semicolon

* missing space

* change action to a type union

* Update README.md

* Sync with Finos main

* VUU-41 style fixes

* VUU-41 rename css variable to --vuu

* Manage layout persistence via interface (#55)

* VUU-27 interface to return promises

* VUU-47 add methods for loading and saving tempLayout

* VUU-47 use loadLayoutById in LayoutList

* VUU-47 remove unused files

* VUU-47 update other examples to use new hook

* Calculated column (#882)

* calculated column in settings, instrument search

* additional mock data sources

* instrument tiles

* calculated column editing

* measured-container

* Row used columnMap rathe than column key

* full keyboard nav for table

* fix drag drop in column group headerr

* use MeasuredContainer for Table List

* table cell editing updates datasource

* table editing

* fix type issues

* fix old background renderer

* remove outdated import in showcase story

* exclude PatternValidator from semgrep

* add vuu tooltip component (#885)

* VUU-47 improve naming

* VUU-47 use placeholder in defaultLayout

* VUU-47 update docs with new naming

* remove duplicate CSS

* VUU-47 fix layoutList styling

* VUU-47 add loaded layouts to layout view

* VUU-47 rename currentLayout to applicationLayout

* VUU-47 make defaultLayout closeable and update features

* VUU-27 interface to return promises

* VUU-54: Validate IDs in LocalLayoutPersistenceManager

* VUU-54: Mock get/saveLocalEntity

* VUU-54: Refactor promises

* VUU-54: Remove unnecessary asyncs

* VUU-54: Use string union to distinguish layouts/metadata

* VUU-54: Rename variables

* VUU-54: Convert layout types to interfaces

* VUU-54: Extract loadAndFilter method

* VUU-54: Replace filter with find

* VUU-54: Rename validateId variables

* VUU-54: Change vars to lets

* VUU-54: Update imports for consistency

* VUU-54: Add comment to explain filter(Boolean)

* VUU-54: Refactor tests

* VUU-54: Extract expectError

* VUU-54: Remove loadAndFilter method

* VUU-54: Remove removeEntry method

* VUU-52: Add E2E tests to CI

* VUU-52: Use commit hash for cypress-io

* VUU-52: Add comment to explain full SHA

* VUU-47 rename imports

* VUU-59 set up notification context

* VUU-47 fix cypress test

* Update vuu-ui/packages/vuu-layout/src/layout-persistence/LayoutPersistenceManager.ts

Co-authored-by: Cara <[email protected]>

* VUU-47 remove unused import

* VUU-59 notifications with animation

* VUU-59 revert changes to imports

* VUU-59 change toast timeout

* VUU-59 change notificationType to enum

* VUU-59 improvements to example and add comments

---------

Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: cfisher-scottlogic <[email protected]>
Co-authored-by: Cara <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: heswell <[email protected]>

* add Layout Management Provider to sample apps (#917)

* add Layout Management Provider to sample apps

* fix test dependencies

* Drag drop provider (#918)

* add DragDrop example, resume drag in DragProvider

* full flow for remote drag

* fix type issues

* fix post rebase conflicts, type issues

* ignore type issue in drag drop code for now, so packages build

* Filterbar styling (#919)

* improve the keyboards navigation in Toolbar

* fix form control styling, uennecessaryb layout rerenders, table resize bug

* make sure all table config setting changes are saved, style tweaks

* calculated columns

* fix dropdown width

* fix width of combo in SaveLayout Panel

* remove console.log

* fix bug in OverflowContainer when orientation vertical

* remove global error listener, leave this to cypress

* move test schemas out of showcase (#920)

* Update dependency electron to v22 [SECURITY] (#894)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* bump vite, vitest versions to latest (#921)

* Instrument picker (#923)

* make instrument-picker more generic

* refactor Table navigation, preparing for row highlighting

* fix broken import paths

* add empty inlined worker as vitext mocj fails otherwise

* reinstate ignore for inlined-wotker so stub file doesn't get overwritten (#924)

* disable basket functionality in showcase while we wait for full server (#925)

* disable basket functionality in showcase while we wait for server implementation

* remove console log

* fix styling of main tabs during drag (#929)

* wiring together calculated column pieces (#931)

* wiring together calculated column pieces

* remove logging

* re-enable all tests

* fix FilterTable resize bug (#932)

* move table height fix to measured container (#933)

* type fixes (#934)

* final styling for calculated column input (#935)

* connect filterbar to persistence (#936)

* connect filterbar to persistence

* skip test for missing TreeWalker finctionality until its there

* final adjustments to table column header styling (#937)

* move date generators to test data package (#938)

* Bump postcss from 8.4.27 to 8.4.31 in /vuu-ui (#926)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* #850 added for functionality to the rpc service, not ready for the big time yet, but not far off.

* #850 added ability to reference tables in separate modules.

* #850 refactored simul module to take prices out to prices module

* #850 refactored tableDefContainer to make it an implicit, otherwise it is re-used in the tests causing issues.

* #850 found a bug with basket constituents, not resolved as of this commit.

* #850 found a bug with basket constituents, not resolved as of this commit.

* Update basket tables UI (#940)

* update all basket tables, integrate basket server changes

* filter basket tables when loading

* connect cell editing

* remove console log

* fix newFeature story

* remove console log

* fix for dropdown width error

* remove console.log

* basket workflow (#941)

* Fix faulty conflict resolutions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: keikeicheung <[email protected]>
Co-authored-by: heswell <[email protected]>
Co-authored-by: Vasco <[email protected]>
Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris <[email protected]>

* VUU86: Add tests for layout server (#68)

* merge main in VUU-70

* VUU-70 improve exception handling and clean-up

* VUU-70 fix comment

* VUU-70 remove helper method

* Update layout-server/src/main/java/org/finos/vuu/layoutserver/repository/MetadataRepository.java

Co-authored-by: Cara <[email protected]>

* Update layout-server/src/main/java/org/finos/vuu/layoutserver/model/Layout.java

Co-authored-by: Cara <[email protected]>

* VUU-89 re-add unit test

* VUU-71: Interact with server for application layouts

* VUU-71: Extract app layout in remote manager

* VUU-71: Rename variable

* VUU-71: Apply auto formatting

* Sync mains (pull) (#106)

* #900 disable failing test

* Update check on viewport and context menu (#913)

* remove reprecated Portal, fixes in COntextMenu

* use woff2 font, fix portal

* make sure ContextMenu always has theme attributes

* type fixes

* Tidy package and type issues (#914)

* fix package references, type issues

* add typescript config for correct auto import resolution

* Layout Management (#916)

* fix vuu-filters types

* drawer and dialog fix

* drag drop flexbox editable

* Update vuu-ui/packages/vuu-filters/src/filter-utils.ts

Whitespace between guard clauses

Co-authored-by: Luke Vincent <[email protected]>

* layout header

* restore double quotes

* layout-provider

* layout-reducer

* layout-view

* palette

* palette

* placeholder

* layout-view decomment

* registry

* rollback multi filter dropdown

* stack

* tabs

* config wrapper

* tools

* utils

* layout top level

* revert flexbox layout change

* restore lost semicolon

* missing space

* change action to a type union

* Update README.md

* Sync with Finos main

* VUU-41 style fixes

* VUU-41 rename css variable to --vuu

* Manage layout persistence via interface (#55)

* VUU-27 interface to return promises

* VUU-47 add methods for loading and saving tempLayout

* VUU-47 use loadLayoutById in LayoutList

* VUU-47 remove unused files

* VUU-47 update other examples to use new hook

* Calculated column (#882)

* calculated column in settings, instrument search

* additional mock data sources

* instrument tiles

* calculated column editing

* measured-container

* Row used columnMap rathe than column key

* full keyboard nav for table

* fix drag drop in column group headerr

* use MeasuredContainer for Table List

* table cell editing updates datasource

* table editing

* fix type issues

* fix old background renderer

* remove outdated import in showcase story

* exclude PatternValidator from semgrep

* add vuu tooltip component (#885)

* VUU-47 improve naming

* VUU-47 use placeholder in defaultLayout

* VUU-47 update docs with new naming

* remove duplicate CSS

* VUU-47 fix layoutList styling

* VUU-47 add loaded layouts to layout view

* VUU-47 rename currentLayout to applicationLayout

* VUU-47 make defaultLayout closeable and update features

* VUU-27 interface to return promises

* VUU-54: Validate IDs in LocalLayoutPersistenceManager

* VUU-54: Mock get/saveLocalEntity

* VUU-54: Refactor promises

* VUU-54: Remove unnecessary asyncs

* VUU-54: Use string union to distinguish layouts/metadata

* VUU-54: Rename variables

* VUU-54: Convert layout types to interfaces

* VUU-54: Extract loadAndFilter method

* VUU-54: Replace filter with find

* VUU-54: Rename validateId variables

* VUU-54: Change vars to lets

* VUU-54: Update imports for consistency

* VUU-54: Add comment to explain filter(Boolean)

* VUU-54: Refactor tests

* VUU-54: Extract expectError

* VUU-54: Remove loadAndFilter method

* VUU-54: Remove removeEntry method

* VUU-52: Add E2E tests to CI

* VUU-52: Use commit hash for cypress-io

* VUU-52: Add comment to explain full SHA

* VUU-47 rename imports

* VUU-59 set up notification context

* VUU-47 fix cypress test

* Update vuu-ui/packages/vuu-layout/src/layout-persistence/LayoutPersistenceManager.ts

Co-authored-by: Cara <[email protected]>

* VUU-47 remove unused import

* VUU-59 notifications with animation

* VUU-59 revert changes to imports

* VUU-59 change toast timeout

* VUU-59 change notificationType to enum

* VUU-59 improvements to example and add comments

---------

Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: cfisher-scottlogic <[email protected]>
Co-authored-by: Cara <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: heswell <[email protected]>

* add Layout Management Provider to sample apps (#917)

* add Layout Management Provider to sample apps

* fix test dependencies

* Drag drop provider (#918)

* add DragDrop example, resume drag in DragProvider

* full flow for remote drag

* fix type issues

* fix post rebase conflicts, type issues

* ignore type issue in drag drop code for now, so packages build

* Filterbar styling (#919)

* improve the keyboards navigation in Toolbar

* fix form control styling, uennecessaryb layout rerenders, table resize bug

* make sure all table config setting changes are saved, style tweaks

* calculated columns

* fix dropdown width

* fix width of combo in SaveLayout Panel

* remove console.log

* fix bug in OverflowContainer when orientation vertical

* remove global error listener, leave this to cypress

* move test schemas out of showcase (#920)

* Update dependency electron to v22 [SECURITY] (#894)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* bump vite, vitest versions to latest (#921)

* Instrument picker (#923)

* make instrument-picker more generic

* refactor Table navigation, preparing for row highlighting

* fix broken import paths

* add empty inlined worker as vitext mocj fails otherwise

* reinstate ignore for inlined-wotker so stub file doesn't get overwritten (#924)

* disable basket functionality in showcase while we wait for full server (#925)

* disable basket functionality in showcase while we wait for server implementation

* remove console log

* fix styling of main tabs during drag (#929)

* wiring together calculated column pieces (#931)

* wiring together calculated column pieces

* remove logging

* re-enable all tests

* fix FilterTable resize bug (#932)

* move table height fix to measured container (#933)

* type fixes (#934)

* final styling for calculated column input (#935)

* connect filterbar to persistence (#936)

* connect filterbar to persistence

* skip test for missing TreeWalker finctionality until its there

* final adjustments to table column header styling (#937)

* move date generators to test data package (#938)

* Bump postcss from 8.4.27 to 8.4.31 in /vuu-ui (#926)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* #850 added for functionality to the rpc service, not ready for the big time yet, but not far off.

* #850 added ability to reference tables in separate modules.

* #850 refactored simul module to take prices out to prices module

* #850 refactored tableDefContainer to make it an implicit, otherwise it is re-used in the tests causing issues.

* #850 found a bug with basket constituents, not resolved as of this commit.

* #850 found a bug with basket constituents, not resolved as of this commit.

* Update basket tables UI (#940)

* update all basket tables, integrate basket server changes

* filter basket tables when loading

* connect cell editing

* remove console log

* fix newFeature story

* remove console log

* fix for dropdown width error

* remove console.log

* basket workflow (#941)

* Login panel (#942)

* login panel

* WIP

* tidy up type issues etc

* import fixes

* remove deprecated example

* #944 Added fix for threading related issue in ViewPortContainer.scala when change was called.

* #944 Reduced logging

* Switch UI to new Theme (#943)

* remove sample app

* rename basket trading app to sample-app

* fix broken inmports

* fix bugs persistning table settings

* 862 create a basketdesign table that represents the specific instance of a basket that we are modifying it will be based on a basket entry but can be customized to what the user needs (#948)

* #862 Fixed test versions to abstract out clock.

* #862 Added Viewport scoped rpc service to test.

* #862 Added ability to edit baskets join service.

* Fix minor UI issues (#949)

* fix UI dataTable issue - bugs after resize

A column resize operation populates the ColumnState state value. From
this point on columnState shadows modelColumns so subsequent changes
to modelColumns are not rendered.

* enable custom editors for cell renderers

Column Settings Panel allows a custom renderer to be selected.
Some renderers will have settings of their own. This enables
editors form those settings to be made available.

* fix type issue

* update baskets used in showcase examples to match server tables (#950)

* add initial support for columns backed by lookup tables (#951)

* move basket data generation into simulated vuu module to pave way for rpc support

* add updater for prices, insert for array data source

* create Table for test data in modules

* fix scrolling issue in table when focusing edit fields

* add initial support for table columns backed by lookup tables

* wire table cell editing to server calls (#953)

* Schema load sequence (#955)

* cache table meta requests with promise to avoid multiple server requests

* ensure table meta is loaded before client is notified of subcribe

table meta for all tables was being requested from server every
time any hook asked for the table data. This was happening twice
at startup. Now we cache the metadata.
If we didn't have table meta at point where CREATE_VP_SUCCESS was
handled, we notified client anyway. This caused tables to be rendered
with no type information, so alignment was wrong on numerics.

* fix all data tests

* Merge persistence manager generator approaches

* Fix duplicated NavigationStyle export in `TableNext.examples.tsx`

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: keikeicheung <[email protected]>
Co-authored-by: heswell <[email protected]>
Co-authored-by: Vasco <[email protected]>
Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris <[email protected]>
Co-authored-by: chrisjstevo <[email protected]>

* VUU80: Refactor Dialog styling to fix multiple components (#100)

- Header alignment
- Border
- Fonts
- 'Close' button
- Body padding

* Sync mains (pull) (#107)

* #900 disable failing test

* Update check on viewport and context menu (#913)

* remove reprecated Portal, fixes in COntextMenu

* use woff2 font, fix portal

* make sure ContextMenu always has theme attributes

* type fixes

* Tidy package and type issues (#914)

* fix package references, type issues

* add typescript config for correct auto import resolution

* Layout Management (#916)

* fix vuu-filters types

* drawer and dialog fix

* drag drop flexbox editable

* Update vuu-ui/packages/vuu-filters/src/filter-utils.ts

Whitespace between guard clauses

Co-authored-by: Luke Vincent <[email protected]>

* layout header

* restore double quotes

* layout-provider

* layout-reducer

* layout-view

* palette

* palette

* placeholder

* layout-view decomment

* registry

* rollback multi filter dropdown

* stack

* tabs

* config wrapper

* tools

* utils

* layout top level

* revert flexbox layout change

* restore lost semicolon

* missing space

* change action to a type union

* Update README.md

* Sync with Finos main

* VUU-41 style fixes

* VUU-41 rename css variable to --vuu

* Manage layout persistence via interface (#55)

* VUU-27 interface to return promises

* VUU-47 add methods for loading and saving tempLayout

* VUU-47 use loadLayoutById in LayoutList

* VUU-47 remove unused files

* VUU-47 update other examples to use new hook

* Calculated column (#882)

* calculated column in settings, instrument search

* additional mock data sources

* instrument tiles

* calculated column editing

* measured-container

* Row used columnMap rathe than column key

* full keyboard nav for table

* fix drag drop in column group headerr

* use MeasuredContainer for Table List

* table cell editing updates datasource

* table editing

* fix type issues

* fix old background renderer

* remove outdated import in showcase story

* exclude PatternValidator from semgrep

* add vuu tooltip component (#885)

* VUU-47 improve naming

* VUU-47 use placeholder in defaultLayout

* VUU-47 update docs with new naming

* remove duplicate CSS

* VUU-47 fix layoutList styling

* VUU-47 add loaded layouts to layout view

* VUU-47 rename currentLayout to applicationLayout

* VUU-47 make defaultLayout closeable and update features

* VUU-27 interface to return promises

* VUU-54: Validate IDs in LocalLayoutPersistenceManager

* VUU-54: Mock get/saveLocalEntity

* VUU-54: Refactor promises

* VUU-54: Remove unnecessary asyncs

* VUU-54: Use string union to distinguish layouts/metadata

* VUU-54: Rename variables

* VUU-54: Convert layout types to interfaces

* VUU-54: Extract loadAndFilter method

* VUU-54: Replace filter with find

* VUU-54: Rename validateId variables

* VUU-54: Change vars to lets

* VUU-54: Update imports for consistency

* VUU-54: Add comment to explain filter(Boolean)

* VUU-54: Refactor tests

* VUU-54: Extract expectError

* VUU-54: Remove loadAndFilter method

* VUU-54: Remove removeEntry method

* VUU-52: Add E2E tests to CI

* VUU-52: Use commit hash for cypress-io

* VUU-52: Add comment to explain full SHA

* VUU-47 rename imports

* VUU-59 set up notification context

* VUU-47 fix cypress test

* Update vuu-ui/packages/vuu-layout/src/layout-persistence/LayoutPersistenceManager.ts

Co-authored-by: Cara <[email protected]>

* VUU-47 remove unused import

* VUU-59 notifications with animation

* VUU-59 revert changes to imports

* VUU-59 change toast timeout

* VUU-59 change notificationType to enum

* VUU-59 improvements to example and add comments

---------

Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: cfisher-scottlogic <[email protected]>
Co-authored-by: Cara <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: heswell <[email protected]>

* add Layout Management Provider to sample apps (#917)

* add Layout Management Provider to sample apps

* fix test dependencies

* Drag drop provider (#918)

* add DragDrop example, resume drag in DragProvider

* full flow for remote drag

* fix type issues

* fix post rebase conflicts, type issues

* ignore type issue in drag drop code for now, so packages build

* Filterbar styling (#919)

* improve the keyboards navigation in Toolbar

* fix form control styling, uennecessaryb layout rerenders, table resize bug

* make sure all table config setting changes are saved, style tweaks

* calculated columns

* fix dropdown width

* fix width of combo in SaveLayout Panel

* remove console.log

* fix bug in OverflowContainer when orientation vertical

* remove global error listener, leave this to cypress

* move test schemas out of showcase (#920)

* Update dependency electron to v22 [SECURITY] (#894)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* bump vite, vitest versions to latest (#921)

* Instrument picker (#923)

* make instrument-picker more generic

* refactor Table navigation, preparing for row highlighting

* fix broken import paths

* add empty inlined worker as vitext mocj fails otherwise

* reinstate ignore for inlined-wotker so stub file doesn't get overwritten (#924)

* disable basket functionality in showcase while we wait for full server (#925)

* disable basket functionality in showcase while we wait for server implementation

* remove console log

* fix styling of main tabs during drag (#929)

* wiring together calculated column pieces (#931)

* wiring together calculated column pieces

* remove logging

* re-enable all tests

* fix FilterTable resize bug (#932)

* move table height fix to measured container (#933)

* type fixes (#934)

* final styling for calculated column input (#935)

* connect filterbar to persistence (#936)

* connect filterbar to persistence

* skip test for missing TreeWalker finctionality until its there

* final adjustments to table column header styling (#937)

* move date generators to test data package (#938)

* Bump postcss from 8.4.27 to 8.4.31 in /vuu-ui (#926)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* #850 added for functionality to the rpc service, not ready for the big time yet, but not far off.

* #850 added ability to reference tables in separate modules.

* #850 refactored simul module to take prices out to prices module

* #850 refactored tableDefContainer to make it an implicit, otherwise it is re-used in the tests causing issues.

* #850 found a bug with basket constituents, not resolved as of this commit.

* #850 found a bug with basket constituents, not resolved as of this commit.

* Update basket tables UI (#940)

* update all basket tables, integrate basket server changes

* filter basket tables when loading

* connect cell editing

* remove console log

* fix newFeature story

* remove console log

* fix for dropdown width error

* remove console.log

* basket workflow (#941)

* Login panel (#942)

* login panel

* WIP

* tidy up type issues etc

* import fixes

* remove deprecated example

* #944 Added fix for threading related issue in ViewPortContainer.scala when change was called.

* #944 Reduced logging

* Switch UI to new Theme (#943)

* remove sample app

* rename basket trading app to sample-app

* fix broken inmports

* fix bugs persistning table settings

* 862 create a basketdesign table that represents the specific instance of a basket that we are modifying it will be based on a basket entry but can be customized to what the user needs (#948)

* #862 Fixed test versions to abstract out clock.

* #862 Added Viewport scoped rpc service to test.

* #862 Added ability to edit baskets join service.

* Fix minor UI issues (#949)

* fix UI dataTable issue - bugs after resize

A column resize operation populates the ColumnState state value. From
this point on columnState shadows modelColumns so subsequent changes
to modelColumns are not rendered.

* enable custom editors for cell renderers

Column Settings Panel allows a custom renderer to be selected.
Some renderers will have settings of their own. This enables
editors form those settings to be made available.

* fix type issue

* update baskets used in showcase examples to match server tables (#950)

* add initial support for columns backed by lookup tables (#951)

* move basket data generation into simulated vuu module to pave way for rpc support

* add updater for prices, insert for array data source

* create Table for test data in modules

* fix scrolling issue in table when focusing edit fields

* add initial support for table columns backed by lookup tables

* wire table cell editing to server calls (#953)

* Schema load sequence (#955)

* cache table meta requests with promise to avoid multiple server requests

* ensure table meta is loaded before client is notified of subcribe

table meta for all tables was being requested from server every
time any hook asked for the table data. This was happening twice
at startup. Now we cache the metadata.
If we didn't have table meta at point where CREATE_VP_SUCCESS was
handled, we notified client anyway. This caused tables to be rendered
with no type information, so alignment was wrong on numerics.

* fix all data tests

* Issue 850 added the first example module test for rpc services  (#954)

* #850 Refactored example code so that simulation is in its own module

* #850 Refactored example code into its own module

* #850 updated documentation

* #850 organized imports

* #850 added first consumer test outline

* #850 added ability to create viewport in test easily

* #850 added ability to create viewport in test easily

* #850 added first example working test calling viewport Rpc call.

* #850 renamed test case.

* #850 Added example flow for baskets

* #850 Added additional example for editRowAction

* #850 Added additional methods for editable example.

* #850 Added additional methods for editable example.

* #850 Added more functionality to the demo basket app.

* #850 Added thorough test of basket functionality.

* #850 Fixed test assert which accidentally changed contract in test.

* #850 Fixed test assert which accidentally changed contract in test.

* #850 Fixed test assert which accidentally changed contract in test.

* #850 fixed the bad pom definition.

* #850 deleted duplicate and not required config and updated semgrep.

* Release 0.9.20 beta (#956)

* [maven-release-plugin] prepare release vuu-parent-0.9.20-beta

* [maven-release-plugin] prepare for next development iteration

---------

Co-authored-by: GitHub Actions <[email protected]>

* #957 added all projects to release build. (#960)

* #957 added all projects to release build.

* #957 added all projects to release build.

* #957 added all projects to release build.

* Release 0.9.33 beta (#961)

* [maven-release-plugin] prepare release vuu-parent-0.9.33-beta

* [maven-release-plugin] prepare for next development iteration

---------

Co-authored-by: GitHub Actions <[email protected]>

* #957 fixed issue with javadoc. (#963)

* Release 0.9.35 beta (#964)

* [maven-release-plugin] prepare release vuu-parent-0.9.35-beta

* [maven-release-plugin] prepare for next development iteration

---------

Co-authored-by: GitHub Actions <[email protected]>

* enable context menu on basket constituents (#965)

* fix behaviour in baskets module in data-test

* fix pinned column rendering gap

* enable context menu in basket constituent table in basket feature

* remove console log

* Fix conflict resolutions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: keikeicheung <[email protected]>
Co-authored-by: heswell <[email protected]>
Co-authored-by: Vasco <[email protected]>
Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Peter Ling <[email protected]>
Co-authored-by: pling-scottlogic <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris <[email protected]>
Co-authored-by: chrisjstevo <[email protected]>
Co-authored-by: GitHub Actions <[email protected]>

* VUU-333: Post-merge fix

* VUU-96: Convert Date to LocalDate

* VUU-81 layout definition as ObjectNode

* VUU-81 remove unused imports

* VUU-81 remove redundant annotation and tidy up

* VUU-81 make const naming consistent in unit tests and add comments

* VUU-81 remove stringify() for definition in POST

* VUU-81 improve naming in test

* SLVUU-27: Add allowed origins to CORS config

* SLVUU-113: Add `process.env.LOCAL` flag to `esbuild.mjs` (#116)

* SLVUU-113: Add `process.env.LOCAL` flag to `esbuild.mjs`

* SLVUU-113: Remove runtime null coalescence of envar

* SLVUU-113: Add BASE_URL envar to sample-app's esbuild.mjs

* SLVUU-113: Add BASE_URL envar to showcase's vite.config.js

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: harryhartley <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: Joe Dunleavy <[email protected]>
Co-authored-by: cfisher-scottlogic <[email protected]>
Co-authored-by: Cara <[email protected]>
Co-authored-by: vferraro-scottlogic <[email protected]>
Co-authored-by: Vasco <[email protected]>
Co-authored-by: heswell <[email protected]>
Co-authored-by: keikeicheung <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Luke Vincent <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris <[email protected]>
Co-authored-by: chrisjstevo <[email protected]>
Co-authored-by: GitHub Actions <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant