Comments (5)
Okay, I've decided. It will be added shortly.
from flow.
It's possible to add it, but I'm not sure if it's a smart idea. Of course, in some cases, it will be useful. But you can edit/create components in a local code editor with more editing capabilities.
@molda @Will-create What do you think about it? Personally, I'm not sure.
from flow.
Most of the modern code editors has this build-in, so i assume there must be demand for it.
I only use it occasionally, but i still find it useful.
from flow.
Most modern code editors do have it built in because when working on larger projects, it can be a godsend. Using a local code editor is good for some things absolutely, but when working on the fly and using Flow itself as a development tool for building out components having as fully feature rich editor as possible makes it that much better to use and will make a lot more people enjoy using it. It allows for more rapid development and deployment. When creating a new component often I'll start with a Code component, play around with functionality, then shift it over into it's own component and add additional functionality to it.
It would be nice to have perhaps a configuration area where people could go to customise editor options such as code folding, line numbers, etc. I think the potential for this tool could progress to the point where it replaces a lot of peoples editors. They do not need to install any dependencies, do not need to spend time coding. People can build publicly accessible components for various projects. Having the ability to load components from more than just 2 urls would be a great additional feature as well.
I imagine a public registry, or a standard which every public project can follow, to share components to manage their software. Redis, mongodb, elastic, etc could all create and provide components. This could simplify development significantly and allow virtually anyone to be able to create and share applications or even parts of them. With a public repo similar to npm people could easily just install any collection of components from anyone. Pick and choose what they need for their application.
NodeRED development cycle is way to slow and has severe limitations that this just does not. This is a project which I can see changing how people develop. It can open up a world for regular people to build applications without programming knowledge, it can empower current developers to accomplish significantly more in a fraction of the time as well as being easily refactored, and allow projects to provide an easy interface to their software so that it can be more easily adopted.
Add in the ability to bundle in software packages other than npm, or containers/appimages/etc and I believe this would become a dominant application/service building tool.
Twitter or youtube could for instance, provide their own set of components to access their APIs allowing anyone to build out an application using those services. People could also design components which could provide the exact same type of services so that new alternatives can be made with enhancements. The possibilities are endless with the right approach.
Anyway, end rant, hope these words of encouragement and potential ideas for it find you well.
from flow.
I don't see any problem adding it. Most of people using VSCode or Sublime and Codepen text editors are used to it. it makes it easy to select/copy/read blocks. And editor preferences settings also is good idea too, since it will make such things optional for people.
from flow.
Related Issues (20)
- [Security] Stored XSS in platform name HOT 2
- Cannot install on a read only volume HOT 2
- add a sliding panel on flow.html HOT 1
- In a code component how do you "send" data from inside a loop HOT 3
- Designer render not correct after reload HOT 12
- Performance Issue with Large Flows HOT 16
- Exporting as a Component Performance HOT 5
- Message data values HOT 1
- How to use flow library with Angular 16? HOT 1
- Exception with pulling latest image for flow HOT 7
- New to total.js flow I don't know to use add link endpoint HOT 6
- Code Multiplexer Component HOT 4
- Function Component HOT 4
- Ques : Is there a way, we can just publish only flow and not designer section, so flow become read only HOT 2
- npm ERR! Missing script: "start" HOT 4
- Possible bug with messages HOT 5
- Docker Persistent storage example HOT 3
- Zooming bug
- can not localization HOT 1
- How would you use servicemode? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flow.