GithubHelp home page GithubHelp logo

spit-happens / alpaca-management-webpart Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 31.41 MB

SharePoint Framework Webpart to manage your users in AD as represented by Alpacas

License: MIT License

JavaScript 2.43% TypeScript 93.31% CSS 4.26%
sharepoint-framework microsoft-graph-api office-ui-fabric drag-and-drop alpaca react typescript

alpaca-management-webpart's Introduction

alpaca-management-webpart

Using SPFx, Office UI Fabric React, Graph SDK and various other bits, this SPFx webpart connects to the Microsoft Graph for an organization and pulls all users. It then represents each one as an Alpaca icon that can be dragged and dropped into one of the Alpaca Pens for hours of fun and enjoyment.

New! Alpaca Management Webpart now lets you export your managed Alpaca to an XLSX spreadsheet! Master of Business in Alpaca (MBA) here you come!

New! Alpaca Management uses browser storage so that your progress is stored and the Alpaca don't need to be moved as frequently. The alpaca love that!

In Action:

ScreenShot:

Why?

For fun, mostly. This webpart demonstrates how to access the MS Graph API from a SharePoint Framework Webpart and visualize the results in a slightly different manner that we're accustomed to in SharePoint. In doing so, it also shows off some pretty sweet components - React DnD, Office UI Fabric React, Microsoft Graph Client, localforage, and Sheet.js (xlsx) to coax the creative development juices to start flowing.

Building the code

git clone the repo
npm i
npm i -g gulp
gulp

This package produces the following:

  • lib/* - intermediate-stage commonjs build artifacts
  • dist/* - the bundled script, along with other resources
  • deploy/* - all resources which should be uploaded to a CDN.

Build options

gulp clean - TODO gulp test - TODO gulp serve - TODO gulp bundle - TODO gulp package-solution - TODO

alpaca-management-webpart's People

Contributors

oceanswave avatar

Stargazers

 avatar  avatar

Watchers

 avatar

alpaca-management-webpart's Issues

Drag and Drop Regression

One of the refactors broke drag and drop such that if an Alpaca is dragged to a new location before being placed in a pen, it doesn't get removed from the DOM.

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.