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

[UD] Reduce frontend bundle size #22237

Closed
olexii4 opened this issue May 26, 2023 · 1 comment
Closed

[UD] Reduce frontend bundle size #22237

olexii4 opened this issue May 26, 2023 · 1 comment
Assignees
Labels
area/dashboard kind/enhancement A feature request - must adhere to the feature request template. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@olexii4
Copy link
Contributor

olexii4 commented May 26, 2023

Is your enhancement related to a problem? Please describe

After the next improvements:

  1. Resolving the issue Make "Devfile" on User Dashboard uneditable (an editor becomes as read-only).
  2. Remove dependency on /workspace/settings endpoint from dashboard

We have a lot of useless code and useless libraries. We need to reduce the frontend bundle size.

Describe the solution you'd like

We can reduce the dashboard-frontend bundle size to 70 percent after removing some libraries: "@eclipse-che/workspace-client", "yaml-language-server", "monaco-languageclient", ...
And after changing "monaco-editor" to something smaller (for read-only mode).

Additional context

Знімок екрана 2023-06-08 о 18 49 34
Знімок екрана 2023-06-08 о 19 04 14
Знімок екрана 2023-06-08 о 19 08 48

@olexii4 olexii4 added kind/enhancement A feature request - must adhere to the feature request template. area/dashboard labels May 26, 2023
@olexii4 olexii4 self-assigned this May 26, 2023
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label May 26, 2023
@amisevsk amisevsk added severity/P2 Has a minor but important impact to the usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels May 26, 2023
@olexii4
Copy link
Contributor Author

olexii4 commented Oct 12, 2023

Знімок екрана 2023-10-13 о 01 00 04
Знімок екрана 2023-10-13 о 01 00 50

Our bundle size became twice as small.

@olexii4 olexii4 closed this as completed Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard kind/enhancement A feature request - must adhere to the feature request template. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

3 participants