Comments (12)
I'm done with adding features in the front-end along with saving data. @andrezaycev may proceed with back-end now.
Sample data dump on features:
{
"_id" : "TP8wypwbMhrPr3GNy",
"belongs_to" : "B3xatYj5StesmzsQJ",
"active" : false,
"lastPayDate" : null,
"paid" : false,
"username" : "you",
"password" : "you",
"targetAudience" : "you",
"features" : {
"save_user_stats" : {
"start_timestamp" : 1507708801,
"repeat_time" : 3600,
"bot_params" : {},
"active" : true
},
"like_hashtag" : {
"start_timestamp" : 1507707705,
"repeat_time" : 21600,
"bot_params" : {
"hashtag" : [
"you"
],
"amount" : "6"
},
"active" : true
},
"like_medias_by_location" : {
"start_timestamp" : 1507704739,
"repeat_time" : 21600,
"bot_params" : {
"locations" : "you",
"amount" : "6"
},
"active" : true
},
"like_timeline" : {
"start_timestamp" : 1507707124,
"repeat_time" : 21600,
"bot_params" : {
"amount" : ""
},
"active" : true
},
"follow_user_followers" : {
"start_timestamp" : 1507709771,
"repeat_time" : 21600,
"bot_params" : {
"users" : [
"you"
],
"amount" : "5"
},
"active" : true
},
"follow_by_location" : {
"start_timestamp" : 1507710515,
"repeat_time" : 21600,
"bot_params" : {
"locations" : [
"you"
],
"amount" : "5"
},
"active" : true
},
"follow_likers_by_location" : {
"start_timestamp" : 1507709142,
"repeat_time" : 21600,
"bot_params" : {
"locations" : [
"you"
],
"amount" : "5"
},
"active" : true
},
"like_likers_by_location" : {
"start_timestamp" : 1507713359,
"repeat_time" : 21600,
"bot_params" : {
"locations" : [
"you"
],
"amount" : "456"
},
"active" : true
},
"direct_message_followers" : {
"start_timestamp" : 1507714273,
"repeat_time" : 21600,
"bot_params" : {
"locations" : [
"you"
],
"amount" : "456"
},
"active" : true
},
"direct_message_new_followers" : {
"start_timestamp" : 1507710041,
"repeat_time" : 21600,
"bot_params" : {
"locations" : [
"you"
],
"amount" : "5"
},
"active" : true
},
"get_user_followers" : {
"start_timestamp" : 1507705982,
"repeat_time" : 3600,
"bot_params" : {},
"active" : true
}
},
"createdAt" : ISODate("2017-10-11T09:36:19.839Z"),
"createdBy" : "B3xatYj5StesmzsQJ",
"modifiedAt" : ISODate("2017-10-11T09:36:19.839Z"),
"modifiedBy" : "B3xatYj5StesmzsQJ"
}
from com.statuspilot.meteor.ui.
View on front-end
from com.statuspilot.meteor.ui.
Need move all arguments for function to bot_params (different amount, userlist, hashtags, etc)
also - every features must have start_timestamp field (0 initial) and repeat_time(need discuss about default repeat initial time for every feature)
from com.statuspilot.meteor.ui.
also add "get_user_followers" with 3600 repeat - it need for direct messages - have dependencies with direct_message_new_followers task
from com.statuspilot.meteor.ui.
@allynalford - can you create table in google docs with description all features
need columns with default amount and repeat_time value
from com.statuspilot.meteor.ui.
direct_message_new_followers
need repeat 3600
and message field instead locations
and sample init message for example "Thank you for subscribing"
from com.statuspilot.meteor.ui.
@allynalford do we need to edit repeat_time
from UI?
from com.statuspilot.meteor.ui.
Great, just need to update the fields for Direct Message. They should be a textarea and be labeled Message. I'm going thru the new UI. I like it's function and presentation.
from com.statuspilot.meteor.ui.
@aniskhan001 Yes, we need to be able to edit the repeat time? It should be in hours..
from com.statuspilot.meteor.ui.
about the direct message there is the following idea:
I think this should have the following workflow:
Since we are working with the scheduler, we can add one-time tasks to the interface:
for example, change the status to false after activation
for example, direct message for user group:
you add message and text - after activate checkbox (active: true)
when backends will start it task he switched active to false and add last_timestamp
user will see unactive active and comment label, when task was run last time
Anis need add option. Or do direct message option in separate tab with additional label about last running
While I see only such an option
it will look like one-time delivery
when it need again - just go to form , change message and send again
from com.statuspilot.meteor.ui.
editing:
Need
Direct_message_followers (active flag, message, users:[])
Direct_message_new_followers (active flag, message)
from com.statuspilot.meteor.ui.
Updates on this one:
✅ UI form for adding/editing repeat_time
✅ direct_message_followers
(active flag, message, users:[])
✅ direct_message_new_followers
(active flag, message)
Changes pushed to both Gitlab and Galaxy.
from com.statuspilot.meteor.ui.
Related Issues (18)
- Sync Data structure with UI or Broker Service
- Update UI to have the features options HOT 8
- AV81 Dev Mongo DB
- Change Layout of Accounts page.
- Stripe API Integration HOT 1
- Switch between payment processor based on flag HOT 1
- Changes to site structure. HOT 1
- Alert events
- Encrypt password and send key to master_app HOT 1
- Data validation
- Customer collection
- Logic for subscription cancellation / expiration
- Change payment template to have params instead of setting session
- Add Location field for location feature. HOT 1
- Can't de-activate account via UI.
- New Role: Data Entry
- New Data Entry Form HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from com.statuspilot.meteor.ui.