-
Notifications
You must be signed in to change notification settings - Fork 234
COMPASS-788: mongodb:// in clipboard message has regressed on macOS / Red Hat #787
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
Conversation
Ah perfect. Mind changing this for schema copy Json dialog as well in schema store? Should be all set after that. |
7db6a9c
to
129fe0d
Compare
@imlucas Thanks! Added a test and fix for Share Schema (as JSON). New screenshots, following https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/ |
If you have a string prefixed with `mongodb://`, e.g. every Atlas URL, present in your clipboard.
Not unit testing the Ampersand View clipboard version as I have no idea how to do so.
Tested on a Red Hat VirtualBox VM, as per: https://github.com/10gen/compass-internal-docs/pull/4
129fe0d
to
142f35b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pzrq This is beautiful! Thanks! Let's mark this for backport to 1.6 as well
… Red Hat (#787) * Fix white screen and icon on macOS If you have a string prefixed with `mongodb://`, e.g. every Atlas URL, present in your clipboard. * Fix icon on Share Schema as JSON message box Tested on a Red Hat VirtualBox VM, as per: https://github.com/10gen/compass-internal-docs/pull/4 * Add regression test for the share-schema-as-json feature Not unit testing the Ampersand View clipboard version as I have no idea how to do so.
Thanks @imlucas |
… Red Hat (#787) * Fix white screen and icon on macOS If you have a string prefixed with `mongodb://`, e.g. every Atlas URL, present in your clipboard. * Fix icon on Share Schema as JSON message box Tested on a Red Hat VirtualBox VM, as per: https://github.com/10gen/compass-internal-docs/pull/4 * Add regression test for the share-schema-as-json feature Not unit testing the Ampersand View clipboard version as I have no idea how to do so.
… Red Hat (#787) * Fix white screen and icon on macOS If you have a string prefixed with `mongodb://`, e.g. every Atlas URL, present in your clipboard. * Fix icon on Share Schema as JSON message box Tested on a Red Hat VirtualBox VM, as per: https://github.com/10gen/compass-internal-docs/pull/4 * Add regression test for the share-schema-as-json feature Not unit testing the Ampersand View clipboard version as I have no idea how to do so.
… Red Hat (#787) * Fix white screen and icon on macOS If you have a string prefixed with `mongodb://`, e.g. every Atlas URL, present in your clipboard. * Fix icon on Share Schema as JSON message box Tested on a Red Hat VirtualBox VM, as per: https://github.com/10gen/compass-internal-docs/pull/4 * Add regression test for the share-schema-as-json feature Not unit testing the Ampersand View clipboard version as I have no idea how to do so.
* COMPASS-586: Improve Linux appearance (logo in popups/about box, ...) (#762) * COMPASS-586: Improve Linux appearance (logo in popups/about box, ...) * assert.equals => assert.equal * [Selectively cherry-picked from COMPASS 701 Charts] * Extract PackageManager setup into its own file So I can possibly reuse it in tests where I’d like to test our listenToExternalStore wiring. * Expand the --renderer test so it can handle integration tests Tried several times to get this into the --unit tests, but our internal-packages tend to depend on “window” and “document” so that is not possible. Both those are genuinely available in the renderer process so it’s definitely a better home for these tests for now. We can decide later when we have more if they can or should be decoupled further. * COMPASS-788: mongodb:// in clipboard message has regressed on macOS / Red Hat (#787) * Fix white screen and icon on macOS If you have a string prefixed with `mongodb://`, e.g. every Atlas URL, present in your clipboard. * Fix icon on Share Schema as JSON message box Tested on a Red Hat VirtualBox VM, as per: https://github.com/10gen/compass-internal-docs/pull/4 * Add regression test for the share-schema-as-json feature Not unit testing the Ampersand View clipboard version as I have no idea how to do so. * Update hadron-app => ampersand-app As we don’t expect to back port b4a5a26 * Add ‘undefined’ to share-schema-as-json test Not sure why this is ‘undefined’ on this branch but not master, but there’s a lot of hadron-app and other changes floating around so it probably doesn’t matter.
Note this is just a POC, if someone else has time to pick this up and properly identify what to test, and which platforms to test it on (please assign yourself and remove this paragraph 🍻) it would be appreciated, otherwise I'll pick this up when it bugs me enough to fix it.
TODO
showMessageBox
, or if this is an Electron bug (and if it is fixed in a new Electron). (Path is good enough when usingBrowserWindow.getFocusedWindow()
as first argument toelectron.remote.dialog.showMessageBox
)BEFORE (note the Intercom icon loaded too)
AFTER