WuTheFWasThat / vimflowy

An open source productivity tool drawing inspiration from workflowy and vim
https://www.wuthejeff.com/vimflowy
MIT License
1.6k stars 111 forks source link

autoconfig for socket server #267

Closed WuTheFWasThat closed 7 years ago

WuTheFWasThat commented 7 years ago

See https://github.com/WuTheFWasThat/vimflowy/pull/264#issuecomment-330000729

in socket server case, should essentially auto configure socketServerHost in the client. can be accomplished with DefinePlugin

willprice commented 7 years ago

RE client autoconfig: I don't think it makes sense to have the server pre-configure the password. So in the server case there needs to be some other UI for passwords... I have a WIP on the branch socketserver_autoconfig though. I'm going to open an issue for that.

Yeah, here's my envisaged user flow:

WuTheFWasThat commented 7 years ago

I had been thinking the only configuration would be password

in the case of no password, there would be no configuration. what do you think? I guess the main question is whether people would run the sqlite server and still want local storage. Those could use a separately hosted static version I think

willprice commented 7 years ago

I like your suggestion better, it's a more frictionless user workflow. :+1:

We prompt user to enter the password if the server has one?

WuTheFWasThat commented 7 years ago

yep that's right

WuTheFWasThat commented 7 years ago

but i think you meant user vimflow*

WuTheFWasThat commented 7 years ago

c70531e6884206c45563a39470da5315bb1b4c3f