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 React to v17 #45

Closed
wants to merge 11 commits into from
Closed

Update React to v17 #45

wants to merge 11 commits into from

Conversation

AlexandraBuzila
Copy link
Member

What it does

  • update react and react-dom to version 17.0.0
  • fix return type in ToolbarImpl.renderGroupsInColumn

Review checklist

Reminder for reviewers

Signed-off-by: Alexandra Buzila abuzila@eclipsesource.com

@AlexandraBuzila AlexandraBuzila requested a review from sdirix July 15, 2022 07:42
colin-grant-work and others added 9 commits July 15, 2022 08:33
 - Adds support for `when` contexts in submenus
 - Adds support for treating menu contributions as toolbar contributions
 - Adds support for custom execution of commands based on menu context
The commit updates the monaco tokenization with the following
improvements for performance:

- skip tokenizations for lines exceeding the limit.
- return partial tokenizations for line which take too long to tokenize.

The fix ultimately resolves an issue which prevented large files from
being opened and the application hanging.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
Adapted signature code so that the activeParameter
is the one of the SignatureInformation if set.

Signed-off-by: Jan Bicker <jan.bicker@typefox.io>
The commit updates the rendering of the problems-widget to more closely
align with vscode:

- removes `owner` from being displayed (only displays `source`).
- updates the line and column number to align with vscode.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
The commit adds support for `title` in the `QuickPickOption` VS Code API.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
The commit updates the `caption` for `ViewContainer` to align with the behavior with vscode and also resolve and issue where we displayed odd titles.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
The commit updates additional builtins to use their proper `id` so they
are not re-downloaded.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
The commit includes the following updates:
- adds a `New File` toolbar item to replace the entry under the more context-menu.
- adds a `New Folder` toolbar item to replace the entry under the more context-menu.
- renamed `CommonCommands.NEW_FILE` to `CommonCommands.NEW_UNTITLED_FILE`.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
Co-authored-by: yiliang114 <1204183885@qq.com>
Copy link
Member

@sdirix sdirix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in general. Please add the "contributed on behalf" messages to the commit message as well as the changelog. Also a small entry in the migration guide is needed. However the update to React 17 should not be of great impact (link to some React 17 release guide)

@sdirix sdirix requested a review from sgraband July 18, 2022 10:28
@sdirix
Copy link
Member

sdirix commented Jul 18, 2022

@sgraband please run locally and verify whether everything works (i.e. the build and intellisense within VS Code) and there are no warnings or errors in the logs

@sgraband
Copy link

Apart from the contributed in behalf messages this looks good to me!

Not sure if we can do something against the failing license check. Could you check this?

@sdirix
Copy link
Member

sdirix commented Jul 18, 2022

The license check is complaining about

ERROR: Found results that aren't part of the baseline!
X npm/npmjs/-/request-promise-core/1.1.4, ISC

@AlexandraBuzila can you try adding this?

msujew and others added 2 commits July 18, 2022 15:55
* update react and react-dom to version 17.0.0
* fix return type in ToolbarImpl.renderGroupsInColumn

Contributed on behalf of STMicroelectronics

Signed-off-by: Alexandra Buzila <abuzila@eclipsesource.com>
@AlexandraBuzila
Copy link
Member Author

The license check is complaining about

ERROR: Found results that aren't part of the baseline!
X npm/npmjs/-/request-promise-core/1.1.4, ISC

@AlexandraBuzila can you try adding this?

The library was luckily approved two days ago https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/3033
I added it to dependency-check-baseline.json, this should hopefully fix the check.

Copy link

@sgraband sgraband left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @AlexandraBuzila! LGTM 👍

@sdirix
Copy link
Member

sdirix commented Nov 16, 2022

Abandoned in favor of eclipse-theia#11455

@sdirix sdirix closed this Nov 16, 2022
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.

6 participants