Configurable multi-input web forms for code editors
AssigneeRed Hat, Inc.
InventorsPaolo Antinori, Lars Heinemann
Life of this patent
Estimating the term…
Abstract
Various techniques and systems are described herein for providing a multi-input form using a code editor. In various examples, an application programming interface (API) of the code editor used to generate software extensions may be identified. A library may be imported into the API. The library may be configured to implement WebView content within the code editor. One or more commands may be generated using at least one object defined in the library. The one or more commands may define a plurality of input fields to be displayed in the WebView content to a user invoking the API. In various examples, an invocation of the API may be received and the WebView content comprising the plurality of input fields may be displayed.
Claims20
A method, comprising:
- identifying an application programming interface (API) of a code editor, the API used to generate software extensions;
- importing a library into the API, the library configured to implement browser-based content within the code editor, the library comprising a plurality of software-defined objects;
- generating one or more commands, by a user of the code editor, comprising at least one object of the software-defined objects of the library into source code entered into the code editor, wherein execution of the one or more commands causes a plurality of input fields to be displayed in the browser-based content within an interface of the code editor in response to a user invoking the API;
- receiving an invocation of the API;
- executing the one or more commands in response to the invocation of the API;
- and
- causing display of the browser-based content comprising the plurality of input fields in the interface of the code editor in response to executing the one or more commands.
A system comprising:
- at least one processor;
- a code editor executed by the at least one processor;
- and
- non-transitory computer-readable memory storing instructions that, when executed by the at least one processor, are configured to:
- identify an application programming interface (API) of the code editor, the API used to generate software extensions;
- import a library into the API, the library configured to implement browser-based content within the code editor, the library comprising a plurality of software-defined objects;
- generate one or more commands, by a user of the code editor, comprising at least one object of the software-defined objects of the library into source code entered into the code editor, wherein execution of the one or more commands causes a plurality of input fields to be displayed in the browser-based content within an interface of the code editor in response to a user invoking the API;
- receive an invocation of the API;
- execute the one or more commands in response to invocation of the API;
- and
- cause the browser-based content comprising the plurality of input fields to be displayed in the interface of the code editor in response to executing the one or more commands.
A non-transitory machine readable medium storing a program, which when executed by at least one processor causes the at least one processor to:
- identify an application programming interface (API) of a code editor, the API used to generate software extensions;
- import a library into the API, the library configured to implement browser-based content within the code editor, the library comprising a plurality of software-defined objects;
- generate one or more commands, by a user of the code editor, comprising at least one object of the software-defined objects of the library into source code entered into the code editor, wherein execution of the one or more commands causes a plurality of input fields to be displayed in the browser-based content within an interface of the code editor in response to a user invoking the API;
- receive an invocation of the API;
- execute the one or more commands in response to the invocation of the API;
- and
- cause display of the browser-based content comprising the plurality of input fields in the interface of the code editor in response to executing the one or more commands.
Dependencies are inferred from the claim text.