GithubHelp home page GithubHelp logo

helionsmoker / diff-sync Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 131 KB

Sync job data between the Dispatch system and Google Sheets

Home Page: https://helionsmoker.github.io/diff-sync/

License: MIT License

HTML 4.19% CSS 6.01% JavaScript 89.80%

diff-sync's Introduction

diff-sync

The project helps operators in syncing job data between the dispatch system and Google Sheets, ensuring accurate alignment between them. It enables updates without losing data, preserving the work of other agents. Additionally, the tool enhances report data quality through formatting changes, all achieved with efficiency and consistency.

Step-by-Step Guide

To make the most of the website, follow these steps:

  1. Copy the jobs from the system, either manually or using an automatic script, and paste them into the left textarea.
  2. Navigate to the spreadsheet you want to sync, select the entire table, including the date and the start time. Scroll down to the last row with content.
  3. Return to the website and paste the selected table into the right textarea.
  4. Click on Sync, and a table with new values will appear below the buttons.
  5. Check the row count at the bottom to ensure it matches the job count in the system precisely. If not, inspect the spreadsheet for any formatting issues and address them before retrying the process.
  6. Once satisfied with the result, click on Copy and return to the spreadsheet. Paste the copied table over the previous one.
  7. Congratulations, you're done! ๐Ÿฅณ

Handy Tip

If you're copying a table from Google Sheets and pasting it into the textarea, keep these tips in mind:

  • Trim the table before pasting by selecting it and navigating to Data > Data Cleanup > Trim Whitespace.
  • Opt for single quotes ('') over double quotes ("").
  • When using double quotes, make sure to use them in pairs. An odd double quote could mess up the parsing.
  • If you're using double quotes, refrain from placing them at the beginning or end of the cell.

TODO

  • Bundle up parsing logic in an Object
  • Add more tests for existing parsers

diff-sync's People

Contributors

helionsmoker avatar

Stargazers

 avatar

Watchers

 avatar

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.