emotivhq / gs-concierge Goto Github PK
View Code? Open in Web Editor NEWA concierge admin app for cool kids.
Home Page: http://concierge.giftstarter.com/
License: Apache License 2.0
A concierge admin app for cool kids.
Home Page: http://concierge.giftstarter.com/
License: Apache License 2.0
To make the custom campaign creator as easy and intuitive to use as possible, we should use embed.ly. More specifically, Extract.
Steps:
User inputs any product URL > system sends url to embed.ly (extract) > embed.ly (extract) returns data > system shows returned product information to user to verify / edit > system maintains created long/short link along with clickable button to redirect user to GiftStarter create page.
Angular wrappers (pick one, or not):
The current process is as follows:
We are using the
CreateCtrl
to call theCreateService
to call theEmbedlyService.extract()
method to ping embedly and retrieve data and pass it back to theCreateCtrl
to set in scope and bind to scope... Then, we are settingvm.urlSearch
which updates the<embedly>
directive insidecreate.html
view which.... usesEmbedlyService.extract()
method to ping embedly, retrieve data, and populate the directives template.
We should only be calling EmbedlyService.extract()
once then updating view elements accordingly.
UI should include:
I think that the text "create a non-profit campaign" should be a little more descriptive
like "make a group gift to a nonprofit in honor of someone special"
The two sections within the admin are going to be Campaign Management and Custom Campaign Creator. We need to have routes setup for each including views, controller, directives, services (optional), and a factory (optional)
To reproduce:
This happened by following the steps above and is after number 2 was performed:
Error: [$injector:strictdi] filepickerDirective is not using explicit annotation and cannot be invoked in strict mode
To keep current functionality in place for Custom Campaign Creator, and for the times when an admin wants to create a custom campaign link to share with someone, we still need to implement bit.ly link shortener into the Custom Campaign Creator process.
from master
or any branch derived from master
....
Running "jshint:app" (jshint) task
Linting app/modules/create/bindEmbedlyDirective.js ...ERROR
[L46:C45] W040: Possible strict violation.
scope.$parent.cardImg = this.src;
Linting app/modules/create/bindEmbedlyDirective.js ...ERROR
[L47:C37] W040: Possible strict violation.
mdCardImg.src = this.src;
Linting app/modules/create/createCtrl.js ...ERROR
[L51:C20] W030: Expected an assignment or function call and instead saw an expression.
$scope.cardImg;
Linting app/modules/create/createCtrl.js ...ERROR
[L77:C20] W030: Expected an assignment or function call and instead saw an expression.
$scope.cardTitle;
Linting app/modules/create/createCtrl.js ...ERROR
[L78:C20] W030: Expected an assignment or function call and instead saw an expression.
$scope.embedlyImages;
Linting app/modules/create/createCtrl.js ...ERROR
[L79:C20] W030: Expected an assignment or function call and instead saw an expression.
$scope.originalUrl;
Linting app/modules/create/createCtrl.js ...ERROR
[L80:C20] W030: Expected an assignment or function call and instead saw an expression.
$scope.providerName;
Linting app/modules/create/createCtrl.js ...ERROR
[L81:C20] W030: Expected an assignment or function call and instead saw an expression.
$scope.faviconUrl;
Linting app/modules/create/createCtrl.js ...ERROR
[L82:C20] W030: Expected an assignment or function call and instead saw an expression.
$scope.providerDisplay;
Linting app/modules/create/createCtrl.js ...ERROR
[L83:C20] W030: Expected an assignment or function call and instead saw an expression.
$scope.cardDescription;
Warning: Task "jshint:app" failed. Used --force, continuing.
Tamiko: The taxes language underneath the "total donation amount" probably needs to be revised since there won't be a tax on a charitable gift. People may wonder though about who they're getting a tax receipt from (for charitable deductions). Will giftstarter include that language in the email after a transaction is processed? Is there any way I can see a copy of what that reply email will look like to make sure that it's kosher?
The app has no stack, just Angular, and works fine if deployed on Stamplay. But, we have no deployment pipeline for dev-next-prod.
So, new pipelines are built and ready to go, now all we need to do is add a web server!!!! Ugh.
Thanks to Node and Express that's already done.
Now we just have to unmess the mess that is the app structure (not meant for built version vs dev version), and a lot of Grunt changes are coming, along with changes in files depending on dev or prod.
Expect more documentation here.
https://filepicker.github.io/filepicker-angular/demo/index.html
See filestack
repo - already installed ;)
injector:strictdi error on filepicker module
...
Error: [$injector:strictdi] filepickerDirective is not using explicit annotation and cannot be invoked in strict mode
https://docs.angularjs.org/error/$injector/strictdi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.