techplexengineer / ng-easyj2 Goto Github PK
View Code? Open in Web Editor NEWA 12 step system for FRC command based robot code generation
Home Page: https://ng-easyj2.team4909.org/
A 12 step system for FRC command based robot code generation
Home Page: https://ng-easyj2.team4909.org/
Blocks with contain a variable name, ie Reset Gyro, have the correct dropdown list, but default to an invalid value.
For some reason when adding new subsystems, the tags-input copies the tags from the above option and they are stuck syncing together.
Steps to reproduce:
Add tooltips for WPIlib blocks.
Need to validate user identifiers.
Some can be coerced, some need to be errored. Coerce whenever possible.
Need to use a combination of the Blockly naming engine and regexp.
From the ZR People:
Blockly.Blocks.requireInFunction = function() {
if (!this.workspace) {
// Block has been deleted.
return;
}
if (this.getSurroundParent()) {
this.setWarningText(null);
} else {
this.setWarningText('Place this block inside a function.');
}
}
Blockly.Blocks.CNameValidator = function(newVar) {
//Regex tests whether name is a valid C identifier
if(!new RegExp('^[a-zA-Z_][a-zA-Z0-9_]*$').test(newVar)) {
return null;
}
//Don't allow names that could be used as loop counters
if(new RegExp('^index[0-9]+$').test(newVar)) {
return null;
}
//Avoid clobbering global names
if(Blockly.zr_cpp.RESERVED_WORDS_.indexOf(',' + newVar + ',') !== -1) {
return null;
};
return newVar;
};
Examples:
Steps to reproduce:
Steps to reproduce
The dropdowns should go back to "Select a subsystem"
We should alert the user(when they press the "start a new project" button) if there is already a session started. Meaning someone has partially filled the fields.
Upon this error state we should let them save or discard the previous work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.