Coder Social home page Coder Social logo

matteobertoldo / atomforce Goto Github PK

View Code? Open in Web Editor NEW
4.0 5.0 1.0 6.09 MB

☁️ Unofficial Salesforce™ Commerce Cloud B2C uploader & manager for Atom.

Home Page: https://atom.io/packages/atomforce

License: MIT License

JavaScript 84.10% Less 15.90%
atom atom-package salesforce salesforce-commerce-cloud cloud webdav uploader

atomforce's Introduction

Senior Front-end Developer Stats

🌈 Web UI/UX maker.

✍️ Author of Atomforce & Language SFCC

⚽️ Footbal lover, Internazionale Milano Fan.

atomforce's People

Contributors

matteobertoldo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ryangall7

atomforce's Issues

Unexpected change of the "code-version" in the Sandbox

Describe the bug
Unexpected version change of the code-version in the Sandbox after "Upload All Cartridges" task.

To Reproduce
Steps to reproduce the behavior:

If the cartridges key is not defined in the file or it's value is empty, the execution of the Upload All Cartridges task starts the creation of a .zip file in the project root, or in the root defined in the root key of the dw.json file.

{
    "hostname": "dev01-eu01-sample.demandware.net",
    "username": "username",
    "password": "mypassword",
    "version": "version1",
    "cartridges": [""]
}

If the Cartridges Task/Clean WebDAV option is enabled (default option state) it will result in the entire deletion of files and cartridges in the WebDAV, where most of the time a small bug was encountered, which for a few seconds completely removes the root in the WebDAV causing an unexpected version change of the code-version in the Sandbox!.
Bug that occurs very often, but not always.

Expected behavior

  • When the "upload all cartridges" task is finished, it will have to activate the version defined in the dw.json file without manually activating the version from the business manager.
  • Or try to change the logic to generate the zip file. It would be optimal to be able to check all the folders present in the defined root and create an upload queue (as already happens) for each intercepted folder.

Screenshots
None.

Desktop (please complete the following information):

  • OS: macOS, Windows, Ubuntu
  • Atom Version: >=1.45.0 x64

Additional context
None.

Add new provider for dw.json file

  • Add new schema & completions for all dw.json files.
  • Update prettier & all devDepencies to latest version.
  • Update button components as link.
  • Add the notification, upon package activation, to get the correct provider from the autocomplete-json package.
  • Add new section on README file for the new dw.json provider.
  • Keep a CHANGELOG 🔢

"Show files size" as action, create a wrong UI

Describe the bug
If they are deleted from 30 or more files (it depends on the number set via package config) in one go, the UI of the tab shows the left margin of the entire list of files that should not be present... because when I have a list of only paths deleted should not have the this.props.showFileSize properties active.

To Reproduce
Steps to reproduce the behavior:

  1. Authenticate in SFCC WebDAV and upload one new file
  2. Open the Atomforce tab and click on mini-actions menu and trigger "Show File Size"
  3. Delete 30 or more files from the filesystem at once
  4. Open again the Atomforce tab and see the UI error

Expected behavior
The margin applied after the "Show files size" event should not be present and therefore, if all the files are deleted at once by exceeding the limit set via package config, the properties: this.props.showFileSize should be set to false.

Screenshots
bug

Desktop

  • OS: [macOS Catalina 10.15.2]
  • Atom Version [1.43.0 x64]

Additional context
None.

atom is not restart correctly

Describe the bug

When the configuration of the Status Bar is changed, a confirmation window is shown which if clicked on Restart does not produce any restart of the application.
In addition, the description (detailedMessage:) is no longer shown as before.

To Reproduce

Steps to reproduce the behavior:

  1. Go to: Atomforce Settings
  2. Click on: Status Bar config.
  3. See the confirmation dialog with title but without description.
  4. Click on: Restart button.

Expected behavior

Atom must be correctly restarted or reloaded by pressing the Restart or Reload button and the description of the confirmation window must be present.

Screenshots

atom confirm

Desktop (please complete the following information):

  • OS: (macOS 11.0.1 (20B29))
  • Atom Version (1.53.0 x64)

Additional context

None.

feat(tab): add new config for show file size on tab

Describe the solution you'd like
Add a new setting to show the file size directly without going through the action via tab.

Describe alternatives you've considered
Consider adding this new setting as a new configuration group for the tab.

Additional context
Also check for correctable UI errors, such as:

  • vertical alignment of icons
  • addition of a separator border in the footer of the tab
  • footprint space of sandbox name on popup hostname (for new on-demand sandboxes)

hero-tab

word-break

Open B2C Commerce Infocenter on commands menu

Describe the solution you'd like

  • Update the indentation style to 2 spaces.
  • Update the autocompletion provider for the dw.json file.
  • Add a new command from the Atomforce menu in order to open the Official Salesforce documentation, as in Visual Studio Code.

Describe alternatives you've considered
None.

Additional context
None.

FS watcher "undefined" root property

Describe the bug
root property on class Init is undefined .

To Reproduce
Enable the fs-watcher on popover checkbox.

Expected behavior
Get default workspace path.

Screenshots
root

Desktop (please complete the following information):

  • OS: [e.g. macOS/Windows]
  • Atom Version [e.g. 1.45.0 x64]

Additional context
None.

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.