Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Conversation

@alexandresobolevski
Copy link
Contributor

  • This permits the ipc actions to be called through buttons instead of automatically onChange.
  • Added a new action that calls to create the sequelize connection instead of it being done automatically on running the app from main.development.js
  • Added a new class sequelizeManager which is now visible by all ipcMain.on(ipcAction) cases instead of being created at start of the app. The connection is created on 'connect' ipcAction.
    TODO: logic to check if sequelizeManaager.initialize exists before accepting and sending a query.
  • Moved the parsing function into another file to clean up and modularize the code.

nrows = 1;
ncols = 1;
rows = [['command executed']];
}else{
Copy link
Member

@chriddyp chriddyp May 13, 2016

Choose a reason for hiding this comment

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

let's get eslint going on our machines on monday so that we can have super consistent style. it'll make reading code so much easier

@chriddyp
Copy link
Member

once you make those changes, 💃

@alexandresobolevski alexandresobolevski self-assigned this May 14, 2016
Editor was taking most of the window when the app runs on a laptop.
Eases to see the returned rows, metadata etc from the database.
Buttons are a bit more fun now. Can edit more the style later.
@chriddyp chriddyp merged commit 9176b2f into plotly:master May 16, 2016
n-riesco pushed a commit that referenced this pull request Jul 3, 2018
* Add scheduler

* Add sort fns

* Move info to props and use defaultProps for mock

* Create scheduled query button

* Number bug fix

* Fix search and sort

* Use rowGetter

* Use selectors

* Remove stage 2 and  3 code

* fetch scheduled queries and add to store

* Add PropTypes

* Fix column resize issue

* save all queries in the store and filter by connection in Settings component

* Use react-click-outside, preview modal

* Create modal factory, lint

* Extract Modal, Row, Column components to own files

* add SQL syntax highlighting in schedule tab

* misc style fixes, add modal close button

* add tests for Scheduler, update Scheduler/Modal with fixes found testing

* Review Comments #1:

- Add comment
- Remove old code
- Add ms dev

* .js extensions

* Word wrap SQL preview

* Add Layout description comment

* Comment react-data-grid formatters

* Rename .react.js -> .jsx, import css files

* Fix indentation

* Better preview header spacing

* Bold SQL preview header

* Move new deps to devDependencies

* Make SchedulerPreview

*  test/app/components/Settings/Scheduler/Scheduler.test.js -> test/app/components/Settings/scheduler.test.jsx

* adapt scheduler test to additional sql element in query modal

* Fix scheduler-table styling issues

* add className prop type to SQL
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants