Skip to content

Feat/webpack vendors bundles#30020

Merged
CarlSchwan merged 28 commits intomasterfrom
feat/webpack-vendors-bundles
Jan 10, 2022
Merged

Feat/webpack vendors bundles#30020
CarlSchwan merged 28 commits intomasterfrom
feat/webpack-vendors-bundles

Conversation

@skjnldsv
Copy link
Copy Markdown
Member

@skjnldsv skjnldsv commented Dec 1, 2021

  • Reduce compile time by a power of 4
  • Move all bundles into /dist
  • Easier to cleanup
  • Easier to target old legacy js files
  • No more vue- or js/dist hacks
  • Bundle all shared modules into one big cached file

@skjnldsv skjnldsv force-pushed the feat/webpack-vendors-bundles branch from c1b7257 to 2917225 Compare December 1, 2021 19:08
@artonge artonge force-pushed the feat/webpack-vendors-bundles branch from c4251a2 to e9039ed Compare December 1, 2021 21:34
@skjnldsv skjnldsv force-pushed the feat/webpack-vendors-bundles branch 2 times, most recently from 80c15ed to 5adab26 Compare December 2, 2021 18:14
@skjnldsv skjnldsv marked this pull request as ready for review December 2, 2021 18:14
@skjnldsv skjnldsv requested review from a team, PVince81, Pytal, artonge, nickvergessen and szaimen and removed request for a team December 2, 2021 18:15
@skjnldsv skjnldsv self-assigned this Dec 2, 2021
@skjnldsv skjnldsv added 3. to review Waiting for reviews enhancement technical debt 🧱 🤔🚀 labels Dec 2, 2021
@skjnldsv skjnldsv added this to the Nextcloud 24 milestone Dec 2, 2021
@skjnldsv skjnldsv force-pushed the feat/webpack-vendors-bundles branch from 5adab26 to 8baf298 Compare December 2, 2021 18:21
Comment thread core/src/OCP/collaboration.js
Comment thread lib/private/legacy/OC_Template.php Outdated
Comment thread webpack.common.js Outdated
Comment thread .eslintrc.js
@skjnldsv skjnldsv force-pushed the feat/webpack-vendors-bundles branch 4 times, most recently from f5c36fe to 6eb2287 Compare December 2, 2021 21:41
@skjnldsv skjnldsv added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Dec 3, 2021
@artonge artonge force-pushed the feat/webpack-vendors-bundles branch from 525c4ff to 60dc882 Compare December 3, 2021 13:04
@skjnldsv skjnldsv force-pushed the feat/webpack-vendors-bundles branch from a290149 to b0db309 Compare December 3, 2021 13:19
@skjnldsv

This comment has been minimized.

artonge added 10 commits January 8, 2022 10:15
Signed-off-by: Louis Chemineau <louis@chmn.me>
Reason: webpack/webpack#14628
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
Reason: #27279
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
@skjnldsv
Copy link
Copy Markdown
Member Author

skjnldsv commented Jan 8, 2022

Rebased

@skjnldsv skjnldsv force-pushed the feat/webpack-vendors-bundles branch from 1c37a42 to 9ed12e8 Compare January 8, 2022 09:16
@skjnldsv skjnldsv requested review from MichaIng and mejo- January 8, 2022 09:17
@skjnldsv
Copy link
Copy Markdown
Member Author

skjnldsv commented Jan 8, 2022

Scenario: delete a user                                                      # /drone/src/tests/acceptance/features/users.feature:25
130 | Given I act as Jane                                                        # ActorContext::iActAs()
131 | And I am logged in as the admin                                            # LoginPageContext::iAmLoggedInAsTheAdmin()
132 | And I open the User settings                                               # SettingsMenuContext::iOpenTheUserSettings()
133 | And I see that the list of users contains the user user0                   # UsersSettingsContext::iSeeThatTheListOfUsersContainsTheUser()
134 | And I open the actions menu for the user user0                             # UsersSettingsContext::iOpenTheActionsMenuOf()
135 | And I see that the "Delete user" action in the user0 actions menu is shown # UsersSettingsContext::iSeeTheAction()
136 | Failed asserting that false is true.
137 | When I click the "Delete user" action in the user0 actions menu            # UsersSettingsContext::iClickTheAction()
138 | And I click the "Delete user0's account" button of the confirmation dialog # DialogContext::iClickTheDialogButton()
139 | Then I see that the list of users does not contains the user user0         # UsersSettingsContext::iSeeThatTheListOfUsersDoesNotContainsTheUser()
140

Is valid, the menu does not open anymore.

EDIT: fixed and pushed 🚀

@skjnldsv

This comment has been minimized.

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command nextcloud-command force-pushed the feat/webpack-vendors-bundles branch from 1e2f3db to 79f14e8 Compare January 8, 2022 09:59
* @param string $app the appname
* @param string|string[] $file the filename,
* if an array is given it will add all scripts
* @deprecated 23.1.0
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Why 23.1.0 ?
Should be 24 ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

True, my bad

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Please fix on followup so we don't yet rebase this monstrous PR 🙈

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Also, please add a pointer to its replacement.

Comment thread lib/public/Util.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement technical debt 🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants