Skip to content

Conversation

imlucas
Copy link
Contributor

@imlucas imlucas commented Oct 20, 2016

Take a hatchet to old dead code

Many components already ported to React but the previous versions still hanging around.

Port to Compass packages

This will let us actually have real tests to work on in the run up to 3.4 Server release

  • auto-update
  • home
  • connect
  • identify
  • network opt-in
  • tour
  • help

RTSS Hacking

  • Sparkline in sidebar
  • Pop-out to new window for demos
  • Something in system tray

Other Annoyances

  • Move compass-blog to 10gen github org (https://github.com/10gen/compass-blog)
  • Travis auto deploys blog
  • Make connect window not a singleton
  • > 1 Window per Connection
  • "Privacy Settings" -> Accessibler via "Preferences..." in Application menu

Makes for much simpler debugging or both react components and electron.
 These devtools extensions are only loaded and activated when Compass
is in development mode.

## [react devtools](https://fb.me/react-devtools)

> React Developer Tools is a Chrome DevTools extension for the
open-source React JavaScript library. It allows you to inspect the
React component hierarchies in the Chrome Developer Tools.

![](https://facebook.github.io/react/img/blog/devtools-full.gif)

## [devtron](http://electron.atom.io/devtron/)

> Devtron is an open source tool to help you inspect, monitor, and
debug your Electron app. Built on top of the amazing Chrome Developer
Tools.

![](http://electron.atom.io/images/devtron-ipc.png)
@imlucas imlucas changed the title ⚡ devtron and react devtools extensions devtron and react devtools extensions Oct 20, 2016
Was long ago ported to react. @see ./src/internal-packages/explain
The below started appearing when intercom messenger was upgraded
several weeks ago.  The root cause is user resource would send
`email:‘’` which fails validation on Intercom's API server.  If we
instead allow email to default to undefined, no empty string is sent to
intercom’s server and validation passes.  After this is merged, we’ll
also need to change models/user.js in Compass.

```
Failed to load resource: the server responded with a status of 400 (Bad
Request)
Uncaught (in promise
{"type":"error.list","request_id":"anscsvqg0eamtn7i98t0","errors":[{"cod
e":"parameter_invalid","message":"Email can't be blank"}]}
```
Were ported to react some time ago. See ./src/internal-packages/schema
```
/Users/lucas/compass/node_modules/fbjs/lib/warning.js:36 Warning:
Failed prop type: Invalid prop `alignItems` of value `start` supplied
to `FlexBox`, expected one of
["flex-start","flex-end","center","stretch","baseline"].
```
@imlucas imlucas changed the title devtron and react devtools extensions Skunkworks: Compass things I've been meaning to get around to for a while Oct 20, 2016
@rueckstiess
Copy link
Contributor

These are great! Can we make in individual PRs for the different changes?

@imlucas
Copy link
Contributor Author

imlucas commented Oct 25, 2016

Yep! Breaking down this morning.

@imlucas imlucas closed this Oct 25, 2016
@durran durran deleted the lucas-skunkworks-oct-2016 branch March 4, 2018 21:44
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.

2 participants