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

[NU-1777] Nu Runtime app related refactoring #7408

Open
wants to merge 14 commits into
base: staging
Choose a base branch
from

Conversation

mk-software-pl
Copy link
Contributor

@mk-software-pl mk-software-pl commented Jan 10, 2025

Describe your changes

  • NuRuntimeApp based on IOApp
  • ModelClassLoader extends the URLClassLoader
  • the RunnableScenarioInterpreter#run method returns IO[Unit] and doesn't block any thread but completes after the interpreter initiation
  • ActorSystemBasedExecutionContextWithIORuntime renamed to ExecutionContextWithIORuntimeAdapter and adapted to be an general-purpose util (not the designer/server util only)

Checklist before merge

  • Related issue ID is placed at the beginning of PR title in [brackets] (can be GH issue or Nu Jira issue)
  • Code is cleaned from temporary changes and commented out lines
  • Parts of the code that are not easy to understand are documented in the code
  • Changes are covered by automated tests
  • Showcase in dev-application.conf added to demonstrate the feature
  • Documentation added or updated
  • Added entry in Changelog.md describing the change from the perspective of a public distribution user
  • Added MigrationGuide.md entry in the appropriate subcategory if introducing a breaking change
  • Verify that PR will be squashed during merge

Copy link
Contributor

github-actions bot commented Jan 10, 2025

created: #7455
⚠️ Be careful! Snapshot changes are not necessarily the cause of the error. Check the logs.

DeamonDev and others added 10 commits January 15, 2025 09:24
)

* [Nu-7393] Better error messages

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

---------

Co-authored-by: Piotr Rudnicki <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: DeamonDev <[email protected]>
…methods or array.get extension method (#7404)

* [NU-1947] Methods .to and .toOrNull returns conversion target type instead of Unknown

* fix return types of extension, conversion methods

* test fix

* fix for array.get

* Changelog fix

* review fixes

---------

Co-authored-by: Łukasz Bigorajski <[email protected]>
#7387)

* [NU-1828] Notification reloading creator panel when configuration reloaded

* fix for reload + notification also when reload failed

* chagelog entry

* silent configuration reloaded notification

* review fixes

* test fix
* Create StickyNotes DB entity

* Add PoC httpApiService for StickyNotes - add slick migration

* Add put and delete endpoints, use value classes for ID in stickyNotes model

* Add StickyNote PoC to FE

* Resize and update StickyNotes

* Handle note removal

* Remove some unused fragments

* Update openApi definition

* Resize stickyNote without visual-lag

* Disable stickyNotes when scenario is not saved

* Show/hide tools on graph actions

* Edit stickyNote on graph

* Fix some suggestions made by rabbit

* Update openApi definitions

* Add white characters to textarea in stickyNote markdown editor

* Allow focus to stay in markdown editor

* Allow switch viewer to editor witgh left mouse click

* Add stickyNotes length and count validation, add stickyNotes configuration, fix error method (or did i?)

* Remove node specific code from StickyNotePreview, update openApi defs

* Add some fixes, improve types, add max width and height for stickyNote

* Add STICKY_NOTE_CONSTRAINTS with config values

* Reuse common code, restore default color, remove duplicated update method

* Restore CSS class, remove unused imports

* Remove stickyNotePanel, add stickyNote to creatos panel

* Update cypress test

* Add Changelog and migrationGuide entries

* Updated snapshots (#7275)

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

* remove space

* Remove DOMpurify and use XSS instead

* Remove StickyNotePreview from ComponentPreview

* Rename stickyNotes panel to sticky notes

* Fix markdown preview

* Change shape of stickyNote, fix 'changed' detection for notes

* Add notifications to graph, prevent from making changes to old stickyNotes versions

* Revert fix in error notification msg

* Fix warn messages

* Add strict type for color #xxxxxx, remove unnecessary generated noteId, add more optimistic tests

* Update pointer, add cypress tests, remove todo from uncomplete method, remove unused dompurify from package

* Add regex in sticky note tests for note id

* Change remove tool color and margins, update cypress tests

* update cypress tests

* Add maxDiffThreshold to flaky cypress test

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: philemone <[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.

9 participants