Code Monkey home page Code Monkey logo

codenow's People

Contributors

ambsoerensen avatar cgraabaek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

codenow's Issues

Select Application

Add ability to change servicenow application.

Available update sets should reflect the current application.

Maybe same for available records when adding.

Templates on create

To provider users with the best possible intellisense new templates strapped with proper jsdoc could be useful.

Eg. Script actions.
No specific API's but 2 gliderecord objects are passed to the function on invocation.
using JsDoc we can specify the types as comments on creation so the user do not have to.

Distribution & Obfuscation

@CGraabaek

Kunne godt bruge noget input.

Jeg har fundet ud af hvordan vi wrappe extensionen op i en pakke, som kan importeres i VsCode.

Når denne er installereret ligger det dog i clear tekst inde i vscode.

jeg tænker umiddelbart at obfuscate koden. Men det er naturligvis muligt deopfuscate.
noget du har yderligere viden omkring? eller alternative approaches.

Code Actions: When sys id detected suggest comment with url to form.

When a Sys id is used en code suggest and allow auto implement of url as comment on the above line of code.

it is fairly simple to create a generic url for any record using table and sysid query params for platform forms.
all requirements for openening default browser on client is already implemented.

Finding the table name from a sys id will need som research though.

CI pipeline

Create initial CI pipeline.

  • Handled versioning
  • Tag creation and artifacts github
  • Internal Notfications.

Record files not created on first try

on windows: If the record folder is not already existing the remaining files is not created. eg script files, stylesheets etc.
the folder itself is being created. eg:
/workspace/instance/sp_widget/widgetfolder

workaround: import the record again and the files are created.

@CGraabaek
tried this on mac?

Tests

Create unit test for central components.

Find references

Hook into the reference indicators in VS code and use the code search api to find references.

Handled multiple unsaved changes

Widgets have several files associated with them.

When you have multiple files open that is in unsaved state not all gets saved and uploaded.
leaving the record and local copies out of sync.

On did events ensure that related files are saved to disk before upload.

Jsdoc for script include class

apparently not that straightforward. Figure out how to document this with JsDoc in fashion that lets vscode infere the class when used in other script records.

Unable to find options when record got "." ind the name

if there is an extra . in the name the extension assumes the wrong uri for the options file.

name: animate.css

File Name: animate.css.scss

OptionsName: animate.css.options.json.

Extension looksfor : aniamate.options.json.

Calculiating the length of the extension and then substringing the name collides when looking up other file types. eg. client and serverscript JS files. . .

  • Maintain Local Cache. if files deletes the same goes for the local cached reference.

Update Readme

Ensure the following is updated.

Supported records.
Supported classes in intellisense.
Commands are documented.

Maybe even gifs to show functionality

isyspatchable

new interface usable for all records that should be able to patched through the API manager.

required method
getPatchableAttributes():object
that returns an object containing all the fields that should patched through the API.
this object can then be parsed to axios client.

each class then have to decided which records should send on a patch.

Document Object Mappings

Often when working in the service portal custom objects are returned.

Document custom objects returned by $sp (GlideSPScriptable).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.