Commit Graph

5529 Commits

Author SHA1 Message Date
somebody1234
d53f57ce9d List project executions for current month 2024-11-21 20:48:43 +10:00
somebody1234
37fb2464d4 Show list of project executions in calendar 2024-11-21 20:14:45 +10:00
somebody1234
d11762357f Fix project execution calendar display 2024-11-21 19:59:33 +10:00
somebody1234
5f32b98b40 "Save" and "Cancel" buttons for settings sections (#11290) 2024-11-21 18:59:59 +10:00
Gregory Michael Travis
b17e34e162 Don't log stack trace in cache tests (#11610) 2024-11-21 18:58:20 +10:00
marthasharkey
3008b2c9d2 fix filter node drilldown for number columns (#11572) 2024-11-21 18:58:20 +10:00
somebody1234
41003abe52 Make sure "new label" button is always visible even when labels panel has scrollbar (#11586)
- Move "new label" button outside of scroll container so that it is always visible

# Important Notes
None
2024-11-21 18:58:20 +10:00
somebody1234
7dee34d667 Fix dialog entry animations and size (#11565)
- Stop resizing when `Dialog`s first render
- Fix `Dialog type="fullscreen"`s being smaller than before
- Check the "Discover" button in the top left to see a fullscreen modal.

# Important Notes
None
2024-11-21 18:58:20 +10:00
somebody1234
da646c4930 Fix keyboard shortcuts settings display (#11467)
- Add border to keyboard shortcuts to make them more distinct from each other
- Move scrollbar to table so the header becomes sticky

# Important Notes
None
2024-11-21 18:58:20 +10:00
AdRiley
bdeea5ac1a Enable Union feature and make tests pass (#11587) 2024-11-21 18:58:20 +10:00
Jaroslav Tulach
aaa9f95321 Invoke Warning.getValue().to_text and use it from ReplDebuggerInstrument (#11591)
Fixes #11569 by using `.to_text` on the right _warning's value_ (as introduced by #10842) and sharing the code with the instrument.
2024-11-21 18:58:20 +10:00
somebody1234
8f85d7746c Wrap asset creation in a Promise (#11396)
- Close https://github.com/enso-org/cloud-v2/issues/1560
- Switch from "event"s to async functions so that new asset creation can be awaited

None
2024-11-21 18:58:19 +10:00
somebody1234
e2175a5b7a Use proxied auth endpoint for Cognito (#11387)
- Close https://github.com/enso-org/cloud-v2/issues/1552
- Switch to proxied endpoint for Cognito to enforce account lockout rate limits

# Important Notes
None
2024-11-21 18:57:07 +10:00
Jaroslav Tulach
fc3283ae05 Give DebugBreakpointNode some section to prevent NPE (#11594)
Fixes `NullPointerException` by giving `DebugBreakpointNode` a source section.
2024-11-21 18:57:07 +10:00
Pavel Marek
e8dc0c266f Implement hasLanguage interop message for all enso objects (#11538)
* EnsoObject is an abstract class, not an interface.

- Also, EnsoObject exports hasLanguage and getLanguage interop messages.
- BranchRecord converted to class

* Implement public getters in BranchResult

* Fix compilation of EnsoFile

* Add test that all enso values must have language

* Revert EnsoException - remove

* DataflowError and PanicException implement hasLanguage and getLanguage

* DataflowError is not EnsoObject - change signatures in some builtins

* Add more members to Module.isMemberInvocable.

Keep in sync with doInvoke.

* Revert "DataflowError and PanicException implement hasLanguage and getLanguage"

This reverts commit b30f3961b7.

* Update the test - test only non-primitive and non-exception values

* Fix indexes in CodeLocationsTest

* Add more members to Function.isMemberInvocable

Keep in sync with doInvoke.

* EnsoObject.toDisplayString delegates to toString method

* EnsoObject.toDisplayString is behind TruffleBoundary

* Warning exports InteropLibrary which delegates to value.

With the exception of toDisplayString message.

* WithWarnings needs to explicitly export toDisplayString.

It is not automatically delegated because it is implemented in the super type.

* EnsoObject.toDisplayString just throws AssertionError

* AssertionError is behind TruffleBoundary

* Implement toDisplayString on some truffle objects

* Warning exports WarningsLibrary

* Revert "Warning exports WarningsLibrary"

This reverts commit a06c672db5.

* Add some warnings test

* Warning.isNull is always false

Even if it wraps Nothing

* Add some unnecessary methods to fix the compilation

* EnsoObject.toDisplayString is abstract

* ImportExportScope.toDisplayString is behind TruffleBoundary.

This fixes native-image build of engine-runner.

* Hide some toDisplayString methods behind TruffleBoundary

This fixes native-image build of engine-runner.
Bypassing failing test.
2024-11-21 18:57:07 +10:00
Adam Obuchowicz
1ddf95ab96 Ignore E2E CI tests on Windows (#11602)
The integration tests are constantly failing on Windows. For the time of investigation, they should be suppressed.
2024-11-21 18:57:07 +10:00
somebody1234
e983b644f0 Fix Datalink inputs (#11376)
* Stop validating optional Data Link fields

* Fix incorrect default value in Datalink input

* Stop `Autocomplete` fields from opening automatically without
`autoFocus`

* Increase E2E test timeout

* Fix E2E test race condition?

* Fix error message for empty string input

* Highlight active Datalink input

* Show description when Datalink input is invalid

* Fix Datalink input unfocusing when errors appear

* Fix `enso://` path error text

* Fix hover display of autocomplete items

* Move `Autocomplete` tooltip above Dropdown container

* Update Enso path validation

* Update test file and Enso File datalink regex

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Bypassing failing tests.
2024-11-21 18:57:07 +10:00
AdRiley
4676ff1950 Complete migration to Dialect/Feature flags + SQLServer support for Datetime (#11527)
* Supports_Sort_Digits_As_Numbers

* case_insensitive_ordering

* Case_Insensitive_Ordering

* Case_Insensitive_Ordering

* Enable tests

* Case_Insensitive_Non_Ascii

* Order_By_Unicode_Normalization_By_Default

* Allows_Mixed_Type_Comparisons

* Supports_Unicode_Normalization

* NaN_Non_Comparable

* Distinct_Returns_First_Row_From_Group_If_Ordered

* Datetime support

* refactor

* refactor

* Refactor

* Move remaining flags

* Cleanup

* sbt javafmtAll

* Fix

* Fix tests

* Code review changes

* More date_diff month tests

* Fix sowflake

* Fix snowflake tests

Bypassing failing test.
2024-11-21 18:57:07 +10:00
Kaz Wesley
3a33e81990 Render tables in documentation. (#11564)
* Render tables in documentation.

Also:
- Separate parser for our flavor of Markdown from the CodeMirror integration;
  move the parser into ydoc-shared and use for Markdown line-wrapping.
- Introduce our own version of yCollab extension; initially just the upstream
  version translated to Typescript and our code style.
- Refactor CodeEditor.

* CHANGELOG, prettier

* Apply @farmaazon review.

* Fix

* Lint

* Cleanup

* Integration tests for GraphNodeComment

Also a little refactoring in preparation for new implementation.

* Workaround stuck CI

* Revert "Workaround stuck CI"

This reverts commit 74313842ba.

* Fix merge

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-11-21 18:57:07 +10:00
Ilya Bogdanov
1477051a69 New node colors (#11578)
* Show halo only on hover

* Fix numeric input widget. (#11561)

* Invert node colors, make edited widgets more prominent

---------

Co-authored-by: Paweł Grabarz <frizi09@gmail.com>

Skipping failing test in GUI packaging.
Nothing changes in Microsoft space.
2024-11-21 18:57:07 +10:00
Ilya Bogdanov
e7ee0d8f80 Edges always end with arrows (#11590)
Bypassing the failing test.
2024-11-21 18:57:07 +10:00
Jaroslav Tulach
29449209fa HostValueToEnsoNode is not a builtin (#11593)
Bypassing failing check.
2024-11-21 18:57:07 +10:00
Jaroslav Tulach
9b1f2efbfe Allow (42 : Text & Integer) at the end of function (#11588)
Bypassing failing check.
2024-11-21 18:57:07 +10:00
somebody1234
1a5b194f51 Bump Node version in Nix flake (#11580)
- Bump Node.JS version to match `.node-version`:

6b810ee1e6/.node-version (L1)
2024-11-21 18:57:07 +10:00
Jaroslav Tulach
73b93f5e6b Multi value Complex test and robustness refactoring (#11525)
While working on #11482 and enhancing the tests suite with more tests based on `type Complex` a [getRootNode() did not terminate in 100000 iterations](https://github.com/enso-org/enso/pull/11525#issuecomment-2476171597) problem was discovered. Detailed investigation revealed that the existing `ReadArgumentCheckNode` infrastructure was able to create a **cycle** of parent pointers in the Truffle AST.

The problem was in intricate manipulation of the AST while rewriting internals in `ReadArgumentCheckNode`. This PR avoids such manipulation by _refactoring the type checking code_. `ReadArgumentNode` knows nothing about types anymore. When a type check is needed, `IrToTruffle` adds additional `TypeCheckValueNode.wrap` around the `ReadArgumentNode` - that breaks the **vicious circle**.

All the _type checks_ nodes are moved to its own package. All but one of the classes are made package private. The external API for doing _type checking_ is concentrated into `TypeCheckValueNode`.
2024-11-21 18:57:07 +10:00
Adam Obuchowicz
10e1b76f57 Pasting image in Documentation Editor (#11547)
Fixes #10059

https://github.com/user-attachments/assets/a528e26a-b388-4a2a-9bf4-3ccc734373f6

# Important Notes
* I put the logic for project's files management to a single composable "projectFiles"
2024-11-21 18:57:07 +10:00
Ilya Bogdanov
66df53a2e4 Disable EditContext API (#11554)
Fixes #11239

https://github.com/user-attachments/assets/eb57fb34-11f4-489b-9849-c93c7aa5e870
2024-11-21 18:57:07 +10:00
Pavel Marek
7d3a4aa76e --jvm tries to find Java executable system-wide. (#11500)
Fixes `--jvm` option, given to the native image. This was failing on my machine, because when given `--jvm` option, the runner was trying to find the `java` executable from the distribution manager's runtime (on my system located in `~/.local/share/enso/runtime`) and it used the first runtime found. But the first runtime on my system is JDK 17.

The `--jvm` option now tries to:
- Find a JDK from the distribution manager that has the same version as the JDK used for building the engine.
- If there is not an exact version match, it tries to find a runtime from distribution manager that is *newer*.
- If none, fallback to system-wide search
- System-wide search tries to find `java` from `$JAVA_HOME` and from `$PATH`. But this is just a fallback.

# Important Notes
- Added test to Engine CI jobs that pass `--jvm` argument to a native image of engine-runner
- ea3af5ffbc
- `runtime-version-manager` sbt project migrated to a JPMS module
- `engine-runner` now depends on `runtime-version-manager`.
- Removed unnecessary stuff in `runtime-version-manager` dealing with outdated `gu` Graal Updater utility.
- Extracted [GraalVersionManager](1455b025cb/lib/scala/runtime-version-manager/src/main/java/org/enso/runtimeversionmanager/components/GraalVersionManager.java) from [RuntimeVersionManager](d2e8994700/lib/scala/runtime-version-manager/src/main/scala/org/enso/runtimeversionmanager/components/RuntimeVersionManager.scala)
2024-11-21 18:57:07 +10:00
James Dunkerley
e5da7c816c Fixes a few bits... (#11581)
- Minor fixes from past PR.
- Always use Table viz for Table.
- Fix display to `Always`  for any AWS required parameters.
- Add widget for `Redshift` credentials and alter `Username_And_Password` to require arguments.
- Fix display in `Data` module methods for required parameters.
- Fix `Statistic.bulk_widget`.
- Alter `Google_Analytics` so credentials the first parameter.
- Add support for storing the credential file in Enso cloud in `Google_Analytics`.

![image](https://github.com/user-attachments/assets/f34c4231-9f9f-468b-90e9-bbc7f2374d22)
2024-11-21 18:57:07 +10:00
somebody1234
5b7b1ca7f0 WIP: Begin displaying project execution entries 2024-11-21 18:57:07 +10:00
somebody1234
dc5971eedb Fix firstProjectExecutionOnOrAfter 2024-11-21 18:57:07 +10:00
somebody1234
fee9674466 WIP: Compute dates for project executions 2024-11-21 18:57:07 +10:00
somebody1234
d4042cb1be Initial UI for calendar 2024-11-21 18:57:07 +10:00
somebody1234
8a550f8d5d Add Calendar icon for execution calendar 2024-11-20 18:56:06 +10:00
somebody1234
c3581b42ef Add project executions calendar tab 2024-11-19 20:15:17 +10:00
somebody1234
95087fe8dc Add ordinals for dates 2024-11-19 20:04:57 +10:00
somebody1234
28bd881ffa Fix day display in project execution 2024-11-19 19:17:31 +10:00
somebody1234
6c5abfd5ce Show time buttons when hovering over project execution 2024-11-19 18:55:27 +10:00
somebody1234
0b52a33e4f Better project execution date display 2024-11-19 18:54:56 +10:00
somebody1234
2bfd8a5b75 Switch project execution options back to vertical 2024-11-19 18:42:59 +10:00
somebody1234
a5a71cf62a Named imports 2024-11-19 18:13:50 +10:00
somebody1234
f6d3c3fa55 Move AssetPanel tabs into AssetPanel/ 2024-11-19 17:50:59 +10:00
somebody1234
ec3db670e1 Make project executions full width 2024-11-19 17:19:39 +10:00
somebody1234
c927f44967 Remove colors from project executions 2024-11-19 00:25:26 +10:00
somebody1234
5cda23aad6 Fix alignment of project execution tab; add invalidations to backendHooks.tsx 2024-11-19 00:23:28 +10:00
somebody1234
fb2bb361e9 Add back Asset Panel tab for executions 2024-11-18 22:58:03 +10:00
somebody1234
50bdd0a9a0 WIP: Fix errors 2024-11-18 22:49:25 +10:00
somebody1234
33f0e9b390 Fix lint errors 2024-11-18 22:28:55 +10:00
somebody1234
3c676148e7 Fix merge conflict 2024-11-18 22:21:32 +10:00
somebody1234
20f289506b Merge branch 'develop' into wip/sb/async-execution 2024-11-18 22:16:53 +10:00