[ABORTED] v2 - App rewriting
v2
Main changes:
- New UI
- Use a single app window for multiple connections, this way the app requires less memory to run all the connections
- Dark and Light themes
- Make the app more stable
- A decent test coverage
- Basic analytics
This branch will be used for the v2 implementation while all these required features have not been implemented yet:
- [ ] Test coverage 80% minimum
- [ ] Themes
- [ ] Dark theme (in progress)
- [ ] Light theme (will be done after dark theme is complete)
- [ ] Basic analytics
- [ ] Settings page
- [ ] Manage server connection
- [ ] Basic form
- [ ] Import connection from URI
- [ ] Duplicate connection
- [ ] Connection
- [x] Connect to a server database
- [ ] SSH Connection
- [ ] Open a new database connection from an open server connection
- [ ] Multiple server connections open in the same window
- [ ] Passphrase connection prompt
- [ ] Refresh connection
- [ ] Logs bottombar panel
- [ ] Toggle sidebar panels
- [ ] Connection left sidebar panel
- [x] List tables
- [ ] List functions
- [ ] Content main panel (table records)
- [ ] Structure main panel (columns, indexes)
- [ ] Query main panel
- [x] wysiwyg SQL editor (monaco editor)
- [x] Auto complete SQL keywords
- [ ] Auto complete tables and columns
- [ ] Multiple query tabs
- [ ] Export to CSV and JSON
- [ ] Copy to clipboard as CSV and JSON
- [ ] Auto save query
- [ ] Table info main panel
- [ ] Selected row right sidebar panel
- [x] Resizable panes
Develop
-
Pull project
-
Switch to this branch
-
Install deps
yarn -
Start the project
yarn startWhile the connections management has not been implemented yet, it will require an existing
~/.sqlectron.jsonfile to list and connect to databases.
Next
List of features that won't make into v2, but are being considered for future releases:
- Store passwords in the key chain
- Update fields from selected rows
I aborted the rewriting from scratch because it would take too long to do it. I still plan to do those improvements but in batches over the existing codebase. I am keeping this PR around for now just because there is some work that I did here which I intend to copy.
Could you make issues for the discrete bits of work you were planning or have done in the branch? Just to make it easier to track and so possibly others might be able to contribute / comment.