Giter VIP home page Giter VIP logo

assistant's Introduction

Assistant

Build Status Renovate enabled

Personal Beautification Assistant

Install prerequisites

npm install

Usage

npm start

Docker

docker-compose up --build

assistant's People

Contributors

dependabot[bot] avatar glavin001 avatar greenkeeper[bot] avatar renovate-bot avatar stevenzeck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dwayne45

assistant's Issues

Setup Beautifiers - Feedback

Please comment below your feedback on the configuration setup wizard, https://assistant.unibeautify.com/#/setup.

  • Remove the jumbotron container at the top, it takes way too much vertical space
  • Make the wizard step buttons "stick" at the bottom while the step content scrolls independently. That way the buttons are always at the same exact place for each step
  • Persist state during browser refresh and leaving the wizard. Or show a dialog stating changes will be lost
  • Scroll sidebar to have the current step as close to the middle of the screen as possible when the step is changed

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency @types/codemirror to v0.0.109
  • Update dependency @types/js-yaml to v3.12.10
  • Update dependency @unibeautify/ugly-samples to v0.2.10
  • Update dependency bootstrap to v4.6.2
  • Update dependency react-codemirror2 to v6.0.1
  • Update dependency react-hot-loader to v4.13.1
  • Update dependency resolve-url-loader to v3.1.5
  • Update dependency typescript to v3.9.10
  • Update dependency unibeautify to v0.17.1
  • Update dependency webpack-dev-server to v3.11.3
  • Update dependency @babel/core to v7.24.5
  • Update dependency @types/lodash to v4.17.1
  • Update dependency @types/node to v10.17.60
  • Update dependency @types/react-router-dom to v5.3.3
  • Update dependency @types/webpack-env to v1.18.5
  • Update dependency babel-loader to v8.3.0
  • Update dependency js-yaml to v3.14.1
  • Update dependency react-copy-to-clipboard to v5.1.0
  • Update dependency react-router-dom to v5.3.4
  • Update dependency webpack to v4.47.0
  • Update react monorepo (@types/react, @types/react-dom, react, react-dom)
  • Update Node.js to v20 (node, @types/node)
  • Update dependency @types/codemirror to v5
  • Update dependency @types/highlight.js to v10
  • Update dependency @types/react-select to v5
  • Update dependency babel-loader to v9
  • Update dependency bootstrap to v5
  • Update dependency bootstrap-loader to v4
  • Update dependency clean-webpack-plugin to v4
  • Update dependency css-loader to v7
  • Update dependency exports-loader to v5
  • Update dependency expose-loader to v5
  • Update dependency html-webpack-plugin to v5
  • Update dependency imports-loader to v5
  • Update dependency js-yaml to v4 (js-yaml, @types/js-yaml)
  • Update dependency postcss-loader to v8
  • Update dependency react-codemirror2 to v8
  • Update dependency react-router-dom to v6
  • Update dependency react-timeago to v7
  • Update dependency resolve-url-loader to v5
  • Update dependency sass-loader to v14
  • Update dependency source-map-loader to v5
  • Update dependency style-loader to v4
  • Update dependency typescript to v5
  • Update dependency webpack-cli to v5
  • Update dependency webpack-dev-server to v5
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
docker-compose.yml
dockerfile
Dockerfile
  • node 7-alpine
npm
package.json
  • @axetroy/react-download ^1.1.1
  • @babel/core ^7.0.0
  • @unibeautify/ugly-samples ^0.2.3
  • babel-core ^6.26.3
  • babel-loader ^8.0.0
  • codemirror ^5.40.0
  • expose-loader ^0.7.5
  • highlight.js ^9.12.0
  • html-webpack-plugin ^3.2.0
  • js-yaml ^3.12.0
  • lodash ^4.17.10
  • node-static ^0.7.9
  • react ^16.4.2
  • react-codemirror2 ^6.0.0
  • react-copy-to-clipboard ^5.0.1
  • react-dom ^16.4.2
  • react-highlight ^0.12.0
  • unibeautify ^0.17.0
  • @types/codemirror 0.0.108
  • @types/highlight.js 9.12.4
  • @types/js-yaml 3.12.5
  • @types/lodash 4.14.168
  • @types/node 10.12.24
  • @types/react 16.9.56
  • @types/react-copy-to-clipboard 4.3.0
  • @types/react-dom 16.9.9
  • @types/react-router-dom 5.1.7
  • @types/react-select 3.1.2
  • @types/webpack-env 1.16.0
  • awesome-typescript-loader 5.2.1
  • bootstrap 4.6.0
  • bootstrap-loader 3.0.4
  • clean-webpack-plugin 3.0.0
  • css-loader 3.6.0
  • exports-loader 0.7.0
  • imports-loader 0.8.0
  • node-sass 4.14.1
  • postcss-loader 3.0.0
  • raw-loader 3.1.0
  • react-hot-loader 4.13.0
  • react-router-dom 5.2.0
  • react-timeago 4.4.0
  • resolve-url-loader 3.1.2
  • sass-loader 8.0.2
  • source-map-loader 0.2.4
  • style-loader 1.3.0
  • typescript 3.9.7
  • url-loader 2.3.0
  • webpack 4.44.2
  • webpack-cli 3.3.12
  • webpack-dev-server 3.11.2
  • webpack-glob-entry 2.1.1
  • webpack-merge 4.2.2
travis
.travis.yml
  • node 8

  • Check this box to trigger a request for Renovate to run again on this repository

Real-Time Assistant API via WebSockets

Leap Motion used WebSockets to communicate between their web applications and the leapd process running on the user's computer. This allowed a web application to access gesture data and play games.
See https://developer-archive.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html

What if Unibeautify exposed a WebSocket API -- disabled by default, opt-in? The Assistant could instruct a user to start their "diagnostics API server" or something and then the Assistant web application could connect and provide real-time diagnostic information ๐ŸŽ‰ .

Assistant breaks if JS selected

As title says, If you choose JavaScript as a language and click Next, assistant breaks.
Also for every language align_assignments.txt can't be found.

EDIT
After more exploration, error occurs every time assistant tries to load more content
e.g.
CSS > Indent Size

YAML config stringifies numbers

When you try to export .yaml config number values are quoted

JavaScript:
  beautifiers:
    - Prettier
    - Pretty Diff
    - JS-Beautify
    - ESLint
  indent_size: '2'
  max_preserve_newlines: '1'

If I have numbers like that in my default config, plugin doesn't work.
When I remove quotes it works.
Apparently you're expecting a number there and assistant outputs a string.

Interactive configuration builder - Setup beautifiers, languages, and options

Poll: Which do you prefer https://clangformat.com/ or http://csscomb.com/config ?



Must Haves

  • Display checkbox list of all languages that Unibeautify supports, serves as step 1
  • Generate unique list of options based on all of the languages the user selects
  • Loop through all options, displaying a page for each one
    • Display box for each value for the option, including a code sample, along with a "don't use this option"
    • Allow the user to select the value for that option
    • Show a page for selecting beautifiers? I kind of feel we need to do this, as some beautifiers you don't have the same amount of control over
  • Generate yaml and json text based on the languages and options the user selected
    • Ensure options under each language are supported by the language so we don't bloat the file

Nice to Have

  • Previous and Next button text should be the name of the page the user is going to next
  • Allow users to download the file directly from the browser

I found CSS Comb's build config flow interesting: http://csscomb.com/config.

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.