[COMPASS-5113] Remove "Loading" screen from Compass application Created: 27/Sep/21  Updated: 29/Oct/23  Resolved: 20/Oct/21

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: None
Fix Version/s: 1.29.4

Type: Task Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Sergey Petushkov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-4764
Documentation Changes: Not Needed
Sprint: Iteration Lutz, Iteration Minsk, Iteration Novokuybyshevsk

 Description   

After that change Compass doesn't start with two browser windows, it's just one that right away tries to show connection screen (with a possible skeleton view, spinner if it takes too long to load)



 Comments   
Comment by Githook User [ 26/Oct/21 ]

Author:

{'name': 'Sergey', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): Remove loading screen from the app part 1 COMPASS-5113 (#2493)

  • feat(webpack-config-compass): Add support for css extraction to webpack config
  • feat(mocha-config-compass): Add support for importing images and fonts in the tests

Mocks webpack behavior for some test suites

  • fix(compass-connect): Use left instead of start

`start` is a supported css value for text-align, but for some reason
something in the chain of our css loaders removes it as invalid, left
is also fine to use here

  • feat(storage-mixin): Add "types" for storage-mixin package
  • feat(hadron-ipc): Add types and named exports to package

Named exports are easier to use when importing hadron-ipc in TypeScript

  • feat(hadron-build): Expose auto update url on hadron build target
  • feat(hadron-auto-update-manager): Add types and add support for options as an object; Do not leak communicating to windows from manager
  • chore(compass-logging): Use correct hadron-ipc type
  • chore(mongodb-compass): Use new shared mocha, eslint, prettier, ts confguration in compass main
  • chore(mongodb-compass): Refactor compass main code to TypeScript

Unify implementation around singletons for main areas of the main process:

  • Menu
  • WindowManager
  • Logger
  • AutoUpdater

Inverse control over event handling: give singletons access to application
as a shared event bus allowing to emit and react to events like new-window
independantly

  • chore(mongodb-compass): Refactor tests to TypeScript
  • chore(mongodb-compass): Remove loading screen from application bundle; Provide jQuery globally through webpack; Add splitChunks optimization
  • chore(mongodb-compass): Add initial loading placeholder to the application
  • chore: Remove compass-loading plugin and loading screen code from compass main
  • chore: Update package-lock
  • chore(mongodb-compass): Stricter types for CompassApplication events
  • fix(webpack-config-compass): Only extract css when generating a production build for electron target
  • fix: Only init logger once; Activate Menu.load with CompassApp new-window event; Only activate search on the focused window
  • chore: Exclude folders that exist in the package
  • chore(mongodb-compass): Clean-up todos
  • fix(mongodb-compass, compass-collection): Fix header background color
  • test(hadron-build): Add some basic target tests
Comment by Githook User [ 19/Oct/21 ]

Author:

{'name': 'Sergey', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): Remove loading screen from the app part 1 COMPASS-5113 (#2493)

  • feat(webpack-config-compass): Add support for css extraction to webpack config
  • feat(mocha-config-compass): Add support for importing images and fonts in the tests

Mocks webpack behavior for some test suites

  • fix(compass-connect): Use left instead of start

`start` is a supported css value for text-align, but for some reason
something in the chain of our css loaders removes it as invalid, left
is also fine to use here

  • feat(storage-mixin): Add "types" for storage-mixin package
  • feat(hadron-ipc): Add types and named exports to package

Named exports are easier to use when importing hadron-ipc in TypeScript

  • feat(hadron-build): Expose auto update url on hadron build target
  • feat(hadron-auto-update-manager): Add types and add support for options as an object; Do not leak communicating to windows from manager
  • chore(compass-logging): Use correct hadron-ipc type
  • chore(mongodb-compass): Use new shared mocha, eslint, prettier, ts confguration in compass main
  • chore(mongodb-compass): Refactor compass main code to TypeScript

Unify implementation around singletons for main areas of the main process:

  • Menu
  • WindowManager
  • Logger
  • AutoUpdater

Inverse control over event handling: give singletons access to application
as a shared event bus allowing to emit and react to events like new-window
independantly

  • chore(mongodb-compass): Refactor tests to TypeScript
  • chore(mongodb-compass): Remove loading screen from application bundle; Provide jQuery globally through webpack; Add splitChunks optimization
  • chore(mongodb-compass): Add initial loading placeholder to the application
  • chore: Remove compass-loading plugin and loading screen code from compass main
  • chore: Update package-lock
  • chore(mongodb-compass): Stricter types for CompassApplication events
  • fix(webpack-config-compass): Only extract css when generating a production build for electron target
  • fix: Only init logger once; Activate Menu.load with CompassApp new-window event; Only activate search on the focused window
  • chore: Exclude folders that exist in the package
  • chore(mongodb-compass): Clean-up todos
  • fix(mongodb-compass, compass-collection): Fix header background color
  • test(hadron-build): Add some basic target tests
Comment by Githook User [ 19/Oct/21 ]

Author:

{'name': 'Sergey', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): Remove loading screen from the app part 1 COMPASS-5113 (#2493)

  • feat(webpack-config-compass): Add support for css extraction to webpack config
  • feat(mocha-config-compass): Add support for importing images and fonts in the tests

Mocks webpack behavior for some test suites

  • fix(compass-connect): Use left instead of start

`start` is a supported css value for text-align, but for some reason
something in the chain of our css loaders removes it as invalid, left
is also fine to use here

  • feat(storage-mixin): Add "types" for storage-mixin package
  • feat(hadron-ipc): Add types and named exports to package

Named exports are easier to use when importing hadron-ipc in TypeScript

  • feat(hadron-build): Expose auto update url on hadron build target
  • feat(hadron-auto-update-manager): Add types and add support for options as an object; Do not leak communicating to windows from manager
  • chore(compass-logging): Use correct hadron-ipc type
  • chore(mongodb-compass): Use new shared mocha, eslint, prettier, ts confguration in compass main
  • chore(mongodb-compass): Refactor compass main code to TypeScript

Unify implementation around singletons for main areas of the main process:

  • Menu
  • WindowManager
  • Logger
  • AutoUpdater

Inverse control over event handling: give singletons access to application
as a shared event bus allowing to emit and react to events like new-window
independantly

  • chore(mongodb-compass): Refactor tests to TypeScript
  • chore(mongodb-compass): Remove loading screen from application bundle; Provide jQuery globally through webpack; Add splitChunks optimization
  • chore(mongodb-compass): Add initial loading placeholder to the application
  • chore: Remove compass-loading plugin and loading screen code from compass main
  • chore: Update package-lock
  • chore(mongodb-compass): Stricter types for CompassApplication events
  • fix(webpack-config-compass): Only extract css when generating a production build for electron target
  • fix: Only init logger once; Activate Menu.load with CompassApp new-window event; Only activate search on the focused window
  • chore: Exclude folders that exist in the package
  • chore(mongodb-compass): Clean-up todos
  • fix(mongodb-compass, compass-collection): Fix header background color
  • test(hadron-build): Add some basic target tests
Comment by Githook User [ 18/Oct/21 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Merge branch 'compass-5113-remove-loading-screen-from-the-app' of github.com:mongodb-js/compass into compass-5113-remove-loading-screen-from-the-app
Branch: compass-5113-remove-loading-screen-from-the-app
https://github.com/mongodb-js/compass/commit/877379f5ce877ebc2554a5d451903f9bb18791cb

Comment by Githook User [ 18/Oct/21 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Merge remote-tracking branch 'origin/main' into compass-5113-remove-loading-screen-from-the-app

Conflicts:
package-lock.json
packages/compass-loading/package.json
packages/compass/package.json
packages/compass/src/app/loading/loading.js
packages/compass/src/main/menu.js
packages/compass/src/main/window-manager.js
Branch: compass-5113-remove-loading-screen-from-the-app
https://github.com/mongodb-js/compass/commit/fd3fa92a2e647ddcb31151dd93aa36b78667f6ad

Comment by Githook User [ 30/Sep/21 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Merge remote-tracking branch 'origin/main' into compass-5113-remove-loading-screen-from-the-app
Branch: compass-5113-remove-loading-screen-from-the-app
https://github.com/mongodb-js/compass/commit/0ffae226317efd73501a64126e172b7e13ff63db

Generated at Wed Feb 07 22:38:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.