Coder Social home page Coder Social logo

the-proton's People

Contributors

distributev avatar luismanuel001 avatar

Watchers

 avatar  avatar  avatar

the-proton's Issues

065 - menu (3)

Read and treat (solve) all 065 - menu (1), 065 - menu (2) and 065 - menu (3) together.

Implement the left menu like this

  1. Process

processing

  1. Configure

configure

  1. Configuration Templates

configuration-templates

Variables modal

Can you please elaborate how will de logic of the variables modal be?
Where are the values of the variables going to be stored?

065 - menu (1)

Read and treat (solve) all 065 - menu (1), 065 - menu (2) and 065 - menu (3) together.

Please do the following changes so that the implemented menu matches (as much as possible)
menu01
menu02
menu03
menu04
menu05

the requirements.

Re-factor for simplicity

The functional requirements are simple (have a GUI to save/load XML files and to trigger external command line jobs)

==>

the implemented code (and folder structure) should reflect the simplicity of the functional requirements.

Re-factor the (functional) code by following the ideas from the following screen-shot. The screen-shot it's from a plain JavaScript (no es6, no webpack, no modules) angularjs + admin lte sample app so ==> when re-factoring you'll keep the main ideas from the screen-shot but the actual code
will reflect the specifics of the current project (es6, webpack modules imports, etc.)

Follow these guidelines

  1. each relevant component should have it's own HTML view (navigation.html, navbar.html, menu.html, ./tabs.html ./tab/process.html, tab/configuration-general.html, footer.html, etc)

  2. Have (only) the following controllers (navigation.js for everything related with menu navigation, configuration.js, processing.js, configuration-templates.js and utils.js for everything else)

  3. in navigation.js - have a CONTEXTUAL_TABS where it should be easy to configure which tabs should be visible when each left menu item it's selected

  4. in navigation.js have a function shouldTabBeVisible(tab) which will return true/false if a specific tab should be visible under the currently selected menu item.
    this function will be used in tabs.html for instance ng-show="shouldTabBeVisible('processTab')"

  5. besides utils.js there should't be any other controller JS file which doesn't add functional value (put all the "helpers" non-functional JS code in utils.js controller)

  6. Use only plain bootstrap to implement the tabs - don't use ui-router for implementing the tabs and for sure don't use the ui-router "nested states" for implementing the tabs. Implementing the tabs with plain bootstrap is good

P.S - the project has added complexity which comes from the tech stack (nodejs, electron, webpack, gulp, packaging, hot-deployment) however the functional requirements are really simple ==> the code should match the simplicity of the functional requirements

refactor-for-simplicity

Packaging Questions

  1. What is the win-ia32-unpacked folder?

  2. What is the win-unpacked folder?

  3. What is the TheProtonApp-0.0.1-ia32-win.zip (47MB) file?

  4. What is the TheProtonApp-0.0.1-win.zip (57MB) file?

package-app

P2

00 - what-is-expected-and-what-is-not-expected-in-p2.txt

01 - the scope.txt

03 - application-menu.png

03 - pre-requisites.txt

04 - json configs.txt

05 - skin-theme.txt

10 - configuration-templates.png

11 - configuration-general.png

12 - configuration-general.txt

15 - configuration-email-settings.png

16 - well-known-smtp-email-services.txt

20 - configuration-email-message.png

20 - configuration-email-message.txt

21 - configuration-email-message.txt

25 - configuration-email-larger.png

30 - configuration-email-attachments.png

30 - configuration-email-attachments.txt

35 - configuration-advanced.png

35 - configuration-advanced.txt

45 - do-action.png

45 - do-action.txt

50 - quality.png

50 - quality.txt

55 - logging-tracing.png

55 - logging-tracing.txt

60 - upload.png

60 - upload.txt

65 - functional-UI-tests.txt

070 - Packaging

Please update the readme.md with instructions how to use the package-win, package-linux and package-osx task to generate "self-contained" zip files (specific for the OS). The output of running these task should be a self-contained zip file specific to the OS.

self-contained = If I extract the TheProtonApp.zip file and then I double click TheProtonApp.exe ==> the app should work (out of the box) without having to install anything else.

copy paste from 02 - gulp-build.txt

_Packaging

Following gulp tasks should be available and should work fine

package-win, package-mac, package-linux and each package-* task
should package the zip file with all needed files for the specific OS_

TheProtonApp.zip file structure

When opening the zip file the user should not see any file/folder which is not directly related with the
TheProtonApp.exe functionality (all the electron/node runtime files / folders / resources i.e. node.dll should be moved under the _internal folder)

package-zip

I get blank screen after I do gulp start

I took the latest from github I did run npm install and then, when I try to run gulp start, I get a blank screen.

Here are screen shorts with the blank screen and with the console.

00-blank-screen

01-console-errors

065 - menu (2)

Read and treat (solve) all 065 - menu (1), 065 - menu (2) and 065 - menu (3) together.

menu06

08 - html checkbox selected and unselected

By default the HTML checkbox should be unselected

Currently when the HTML checkbox is unselected the HTML tab is still visible (and disabled)

when HTML checkbox is unselected the HTML tab should not appear (ng-if)

html-checkbox

p1-build-the-GUI

Please mark as DONE as you progress through the below

00 - what-is-expected-and-what-is-not-expected-in-p1.txt

01 - the scope.txt

02 - gulp-build.txt

03 - application-menu.txt

05 - configuration-general.txt

10 - cloud-email-providers.txt

15 - configuration-email-settings.txt

20 - configuration-email-message.txt

25 - configuration-email-larger.txt

30 - configuration-email-attachments.txt

35 - configuration-advanced.txt

40 - configuration-templates.txt

45 - do-action.txt

50 - quality.txt

55 - logging-tracing.txt

60 - upload.txt

07 - dirty-form-checking-in-the-configuration-section

This is somehow related with both the issues 02 and 06 (changed values are lost when either the tab and/or the menu are changed).

The changed values should never be un-intentionally lost (no matter if the user will switch tabs or menus) and, in addition to that, the User should also be actively remembered/notified that there are "Unchanged values" which needs to be either Saved or Canceled (it should be clear to people that pressing the Save button it's mandatory otherwise the changes are not persisted)

dirty-form

45 - do-action.txt

These are the contents of the original requirements:

45 - do-action

This screen is used to execute an external command line program.

"Select" will be used to browse to the bat/shell file which runs the external program.

Implement the simplest possible mocked command line program which

	1. When "the processing" starts will generate a temp/*.job file. When "the processing" is finished (normally or by error) will remove this file - 
	see 55 - loggin-tracing.png for more details

	2. Randomly generate between 20 and 60 dummy txt files in the output folder

	3. Execution will last between 20 and 60 seconds (randomly)

	4. Will always generate logs/info.log entries

	5. In random 75% of the cases will finish successfully (logs/errors.log and logs/warnings.log will remain empty ==> green status bar)

	6. In random 15% of the cases will produce logs/errors.log (error stack trace will be saved to logs/errors.log) ==> red status bar

	7. In random 10% of the cases will produce logs/warnings.log (warning stack trace/message will be saved to logs/warnings.log) ==> orange status bar

035 - Screens are too small

I compared the new application with the original application and it's much smaller (pixel sizez of the screens). Make sure to respect the pixel sizes from 03 - application-menu.png (from the initial requirements).

issue08

TheProtonApp.zip file structure - Is this doable?

  1. _internal - Have all the existing stuff generated under _internal folder (including TheProton.exe) and at top level, next to _internal folder, have a Windows "shortcut" which, when clicked by the user, will execute the _internal/TheProton.exe ==> the user will only see and click the TheProton Windows "shortcut" ==> the program will get executed.

  2. win-unpacked - just before generating the final zip rename yourself the folder name to be TheProtonApp-version i.e. TheProtonApp-0.0.1 and then zip the resulted folder using gulp:zip - once the zip file is generated remove the unpacked folder TheProtonApp-0.0.1

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.