Git Product home page Git Product logo

worldskills-infrastructure-list's Introduction

WorldSkills Angular App Skeleton

This application skeleton is to be used when creating WS Applications.

It contains a good base for a project and includes many useful components helping you to kickstart your application.

Features

  • Yeoman base
  • Angular 1.4.0
    • Including angular-resource, angular-cookies, angular-sanitize ngAnimate, ngAria, ngCookies, ngMessages, ngResource, ngRoute, ngSanitize, ngTouch
  • WorldSkills Bootstrap and App templates already integrated
  • angular-ui-router to allow nested views
    • example views and controllers (click on the competition navi item)
  • angular-translate internationalization support integrated
    • includes angular-translate-loader-url, angular-translate-static-files and angular-translate-storage-local to allow you to load static JSON files for UI element translations and store current translation in local storage (cookie fallback)
  • jquery
  • angular ui-bootstrap
    • Note If you wan't to customize your templates, remove '-tpls' from app/angular-bootstrap/bower.json under 'main'. The templates can be found from the templates folder under app.
  • select2 is not included automatically, it's replaced by ui-select, see angular-ui project for a lot of useful extras

Starting a new project

# Clone a shallow copy of the repository (no history)
$ git clone --depth 1 [email protected]:worldskills/WorldSkills-Angular-Skeleton.git my_application
$ cd my_application

# remove existing git data
$ rm -rf .git

# initialize git for a new project
$ git init

$ npm install
# see bower.json and update version numbers (latest stable for angular libs)
$ bower update

# start the project
$ grunt serve

## Troubleshooting
If you are in windows environnement, you have to install Ruby & Compass
https://rubyinstaller.org/downloads/ => Install ruby with this installer
Install compass => In a fresh terminal `gem install compass`

# to build for distribution
$ grunt build

It is recommended also to rename your application, at the moment it is called 'worldSkillsApp'

angular.module('worldSkillsApp')

It is safe to use global search & replace to rename. There should be 18 references accross the project.

Routing your application

Routing is done with angular-ui-router Routing configuration can be found from app.js

Yeoman

See yeoman instructions on how to create new controllers, views, directives etc.

Yeoman on github

Testing

Karma unit tests Test files under /test/spec

$ grunt test

Protractor E2E testing Test files under /test/protractor

# Start the standalone selenium server
$ ./node_modules/selenium-standalone/bin/start-selenium

# Run tests
$ protractor protractor.conf

Extras

Angular-UI project has many other useful extras that are worth looking into depending on the needs of your project

worldskills-infrastructure-list's People

Contributors

axioben avatar dependabot[bot] avatar fabian avatar gbervik avatar jonathanvanraemdonck avatar joni-aaltonen avatar lorentzclaude avatar philchanet avatar pierreanctil avatar weblate avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

koffitony

worldskills-infrastructure-list's Issues

Create new catalog item in requested item view

  • Allow to define new catalogue item when adding a new requested item. When defining the requested item can search within the catalogue and pick one. If it doesn’t exist, can define a new catalogue item with the specific data (manufacturer, model, etc). The catalogue form will appear next to the requested item form.
  • Add ability to create a copy of a catalogue item and change what is linked to the requested item

1 expert 2 skills

Hi Fabian,
In some case i would like to connect 1 expert to 2 IL skills.
I check with Adam, the process and it look like i do the right thinks.
Could you have a look on the code if everything is good ?
Thx
Simon

Add event specific statuses

Each event has it's own list of statuses which have a name, color, and wether editing the requested item is still allowed.

WSFR Permission People - update

@gbervik Could you update the permissions on the different French profiles with the following document:
FR_IL_permissions_matrix.xlsx
You will find in yellow the changes that have been made to the first file.
(Remove permissions for sector manager)

Could you tell me when you made these updates and if it concerns staging and / or production environment.
Thanks a lot

Required Fields

It seems each event has different required fields depending on the process being used.

Should we consider making the required fields configurable in the database per event?

supplied item autocomplete improvements

Today when one is creating a requested item and types "table" in the description, many items are suggested but not "Table" even though the item is in the catalog.

The reason is there are many results and their number is limited.

The autocomplete should favor exact matches and then "starts with" matches and at last the "contains" results.

Furthermore the search should only be done on the current language.

@worldskills/geeks @worldskillsfrance

People-permission

Hello, Fabian and Adam,

I hope you are well and have had a great weekend

BUG 1
i try to give permission to expert and organizer team but i can't find roles.
image
Arthur ILTIS, could see roles you add but not me.
BUG 2
We Also try do a position on Davy Rezeau and when we selected "WorldSkills France Nationals 2018" and when we click on add, it does not work. Could you have a look ?
BUG 3
When Arthur ILTIS add permission on Davy REZEAU on french event it works (screen of is laptop)
image
But not on my screen :
image

It would be fantastic if you could solve this bug today.

Open to Expert/WSS/Sector manager edition to Requeste item for a period of time

Due to the addition of the "ask for a modification" expert, WSS and sector manager can not make any direct changes in the requeste item part and can only make "ask for a modification".

The idea would still be able to give access to the following features for a period of time:

  • Edit requested items
  • Edit item status
    This function would be used for example when CPW when working in a group in front of the same PC and may be on week after.

@fabian could you make sure that we can have this before our CPW which will take place from April 23 to 28.
The best would be that the lists be open for the different actors from april 32 to may 8

Permission Bug

Hi all,
We just find a new "bug" in the IL. All IL manager with the permission "FR-Admin" does not have the same access.
For exemple
Angelique HADDAD does not have access "Skill Participants Override"
image
And Arthur ILTIS does not have access on "Item categories and subcategories"
image
Could you tell me if it's normal and how we could fix that ?
Thanks

BUG event/IL

Hi all,

I get a news bug today that when i work on IL, I get back sometime on the following page :
image
To get back on skills i have to clic on the header.

Customize logo

@worldskillsfrance has expressed the need do display the logo of worldskills france instead of the international logo.

worldskills-france-small

The current international logo is managed as base64 in the common CSS so that doesn't seem possible without changes.

Since it would have to be data-dependent, a logo will have to be defined at the Event or Organizer level.

Unless I'm missing something or something similar already does exists ?

Or is it an unwanted feature ?

Export IL

  • Add filters
  • Add view of what will be exported

Data translation

@worldskills/geeks

As far as I know, the API and DB are ready for multilingual strings.

However I see many labels are String and not I18nString (ItemSet description as an example). Is there a reason behind it or is it a work in progress?

Regarding the UI I do not see any way to input several languages for a given label. How are translations supposed to be managed for data?

Open IL to the modification for a periode of time

A cut-off date should added on events to block requested items changes for low level users (users that cannot edit supplied items).

It should be possible to override this date in specific skills

The date should be visible to editors so they know what time they have left.

View in catalague

First proposal

It would be great if we could mask the unnecessary columns or serving only very few.
we would keep the following columns (see image).
image

Second proposal

When a user makes additional columns visible, it remains active and select when it returns the next time in the catalog

Third proposal

Add 2 colonnes before other colonnes
1-Skills sector
2-Skills

Mass edit tool

Allow infrastructure lines (requested items) to be globally searched and mass edited

Add Supplier API

Access for external sponsor CRM
Link supplied item to actual supplier

Create mobile app

  • Barcodes
  • Scan when arrive, deployment to workshop, etc
  • Report issues, take photos

globalization issues

Firstly there is no default language defined when the user accesses the application for the first time:

image

We should default to the browser locale and then to en-US.

Secondly, when we select an incomplete language, there is no fallback language when the texts are not translated

image

this second point is less important since it only implies that every available language has to be fully translated. So Portuguese should be disabled for now.

Tools: Requested items / Recherche et extraction d'items

Hi @PierreAnctil, @azanetti,

I noticed several bug with the item requeste tool.
I do not understand because they are bugs that we normally correct following their recovery on your test platform.

Example of this morning:
1- I go to the Requested items tool
2- I make several filters (Skill sector & subcategory)
3- I select the boxes
4- I click on Edit selected
5- I modify two elements (Status & Potential supplier)
Result:
The statuses of the lines concern this change well (and not all) and potential supplier does not change as asked.

Could you fixe that bug as soon as you can, and look generally if there are no other bug in this tool.

Thanking you in advance

Number of status for French national finals

Hi Fabian,

Regarding the number and detail of statuses needed for our National Finales :
We will need 4 status :
– Green: Confirmed / Confirmé (FR)
– Yellow: Pending / En cours (FR)
– Orange: Prospect / Prospect (FR)
– Red: Requested / A rechercher (FR)

On the “Print view” :

  • All the 4 status allow viewing the “Details” of the item
  • “Actions” are allowed for statuses “Requested”, “Prospect” and “Pending” and not if the status is “Confirmed”.

We do not need the “Secret” status.

Thanks

Approval process

  • A recommendation level permission
  • User interface to be on public view
  • Allow multiple recommendations
  • Provide reason for rejection of recommendation
  • Recommended items are not shown in IL public view
  • Can recommend new item, remove item, change item
  • Does not create an item in the catalogue until the recommended item is approved and becomes a requested item
  • Recommendation fields:
    • description
    • quantity
    • potential supplier
    • wrong supplied item checkbox
    • comment, and images
  • Cannot make recommendations on items that are green (confirmed)

Display Management of skills and public view

Hi all
image
AND
image

Could you had on both view (skills and public view) columns with the following information :

  • Unit (after quantity)
  • Potential supplier (after item)
  • Model (should also be in requeste item; if not at least user should be able to add remarques) !!! This is important for our CPW.

Track history

  • Track all changes (who made change, timestamp, etc)
  • Be able to see status of IL at any point in the past
  • Ability to add notes/comments when changing status

Move Unit of item to Requested item

Hi Fabian,
As mentioned previously, could you move the record of the "unit" of an item in Requeste item instead of Supplied item ?

Could you make sure that we can have this before our CPW which will take place from April 23 to 28.

Catalog mass edit tool

Allow supplied item mass editing.

UI changes:

image

"Edit selected item" → "Edit selected item(s)"

image

"Editing item" → "Editing item(s)"
"Save Item" → "Save Item(s)"

Behavior changes:

When only 1 item is selected nothing changes.

When several items are selected

  • Shared values are displayed
  • When values are different among items a placeholder "multiple values detected"

On form submit all and only changed values are updated on the selected items

Allow some attributes to be changed when creating a new Supplied Item

When a new Requested Item is added, the user can choose to link it to an existing Supplied Item or create a new Supplied Item.

When creating a new Supplied Item, the following attributes of the Supplied Item should be changeable:

  • Subcategory
  • Needs electricity (new field, checkbox)
  • Needs Water supply (new field, checkbox)
  • Needs Water drainage (new field, checkbox)
  • Compressed air
  • Ventilation / Fume extraction

Catalogue Mass editing tool

It would be nice to be able to edit several lines in one go.
For example, when we have to add the name of a partner who could supply the material

image

Item Categories

  • Add sub category
  • Add user interface for managing categories
  • Set tier/priority level of each item

Create skill build plan

  • Matrix for due dates of infrastructure and services delivery
  • Tracking of completion / delivery
  • Can add notes

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.