Giter Club home page Giter Club logo

Comments (12)

aniskhan001 avatar aniskhan001 commented on August 29, 2024

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.

aniskhan001 avatar aniskhan001 commented on August 29, 2024

View on front-end


image

from com.statuspilot.meteor.ui.

andrezaycev avatar andrezaycev commented on August 29, 2024

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.

andrezaycev avatar andrezaycev commented on August 29, 2024

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.

andrezaycev avatar andrezaycev commented on August 29, 2024

@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.

andrezaycev avatar andrezaycev commented on August 29, 2024

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.

andrezaycev avatar andrezaycev commented on August 29, 2024

@allynalford do we need to edit repeat_time from UI?

from com.statuspilot.meteor.ui.

allynalford avatar allynalford commented on August 29, 2024

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.

allynalford avatar allynalford commented on August 29, 2024

@aniskhan001 Yes, we need to be able to edit the repeat time? It should be in hours..

from com.statuspilot.meteor.ui.

andrezaycev avatar andrezaycev commented on August 29, 2024

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.

andrezaycev avatar andrezaycev commented on August 29, 2024

editing:
Need
Direct_message_followers (active flag, message, users:[])
Direct_message_new_followers (active flag, message)

from com.statuspilot.meteor.ui.

aniskhan001 avatar aniskhan001 commented on August 29, 2024

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)

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.