Git Product home page Git Product logo

uxsyncnow's People

Contributors

reedowens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

uxsyncnow's Issues

Collapse "file" field from name if it is the only one for the table

Each "file" or field from a table that is synced is contained in the local file name. For instance sys_scripts contains a script field and the name could by:

myscript_script.js

In this case, the only field in sys_scripts to be synced is script so make it myscript.js instead.

Advanced.

Some records have multiple types of fields being synced. If all field types have a unique extension (html, js, xml) then squash the field name. Otherwise, use the default behavior.

Current initialization requires too many exit/rerun make it not necessary

Currently, you have to run the application 2 times to set up the connection

1st run will get the tables and the applications, but you must exit. This is because Vorpal keyword's for the applications are only setup at run time and initially they are blank.

2nd run to set the application and options. You must exit so they are saved and used for the initial connection.

Some files are created that should not be because the initial "blank" value contains text

Some "file" fields contain a "blank" template instead of "" and are treated as non-blank by UXsyncNow. This causes a lot of files to be synced that really have no changes or value to the application. A good example is the sys_policies table contain two scripts that are rarely used but are synced by UXsyncNow for every policy.

This will be fixed by changing the script included that detects the blank record to be able to detect the "blank templates" as well as the blank fields of "".

Issues Installing from NPM on Windows 10

Hey there,

I'm trying to install UXsyncNow using npm on a Windows 10 machine and I keep getting an error because it looks like it's trying to use a Linux-specific "cat" command. Here's a snippet from the install log:

[email protected] preinstall C:\Users\JEWallace\AppData\Roaming\npm\node_modules\uxsyncnow
echo 'Installing' && tsc && (echo '#!/usr/bin/env node' >dist/uxsyncnowcli && cat dist/uxsyncnow.js >> dist/uxsyncnowcli)

'Installing'
'cat' is not recognized as an internal or external command, operable program or batch file.

Is there a windows-friendly version available?
Feel free to let me know if I'm mistaken.

Add option to connect without syncing

Add a command line option to connect (if possible) and not to immediately sync. This may be useful for new commands in the future that the user may want not to sync immediately until more configuration changes are made.

File pushing from Linux is unreliable

When using a graphical code editor (such as vscode or sublime) on Linux, the file push is spotty. Sometimes it goes through fine and sometimes it doesn't push correctly and creates a conflict. When it fails it tries to send an empty string as the file contents.

After looking into it I believe what is happening is that the editors are first blowing away the contents of the file and then writing back into it. UXsyncNow seems to see the first event and tries to send an empty file.

Syncing records of the same name on same table in record multifile mode

When there is a record with the same name on the same table and the multifile mode is record, the files get stored in a single file and conflicts are created.

EX. I have two files named ASDF on the same table and they get synced to a single folder named ASDF and only one of the record's files is present within the folder.

Make set app <name> a little more forgiving

Setting the app by name is often a nice quick way of switching between applications, however sometimes it can be a little too picky. It requires an exact match to successfully switch applications. Partial matching and case insensitivity could make this a great way of setting the app so I don't have to list the apps every time. I have a rudimentary version of this on my fork that I have been testing and it works great.

Service Portal widgets do not sync correctly

When trying to sync down a service portal widget, only the js files sync down. I believe this is due to a few issues.

  1. The html_template and css types does not have a file extension associated with them. This is the type that is used for widget HTML fields. I'll submit a pull request for this.
  2. The UXsyncNow script include doesn't pull down files of type html_template or css. I think this can be adjusted by tweaking the query in getTables()

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.