Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    John,Emmanuel
    @emmanuelhashy
    I have been experimenting on optimizing the platform-client's performance via lazy loading and I want to check if there is any reduction in the build size with regards to my lazy loading implementation.
    Sameroom
    @sameroom-bot
    [Anna Iosif, Ushahidi] @emmanuelhashy You can find the build in the folder /server/www Looking forward to see what you figure out! :sunny:
    Obiagba Mary Ifeoma
    @Ifycode
    This space has gone quiet for a while.
    @debolina:matrix.org have you been able to set it up?
    Debolina Ghatuary
    @SlipperyGnome
    @Ifycode hey, i faced a few issues with my laptop recently so I haven't tried setting up again yet, I'll try this weekend.
    Obiagba Mary Ifeoma
    @Ifycode
    Oh, ok. Sorry about this @SlipperyGnome Hoping you're able to fix the laptop issues soon.
    heena singh
    @evanessa234
    @sameroom-bot will it be fine if I use https://github.com/ushahidi/platform-pattern-library/blob/master/assets/img/map-new.png?raw=true as the default link preview image for #4216 issue ?
    Sameroom
    @sameroom-bot
    [Anna Iosif, Ushahidi] @evanessa234 Yes, that is fine!
    John,Emmanuel
    @emmanuelhashy
    Hi @sameroom-bot, I would love to discuss with you some techniques I am proposing for improving the platform-client performance.
    Anna Iosif
    @Angamanga
    @emmanuelhashy That is fine, either here or if you wish in DM or email. Sometimes students send their draft-proposal for us to review :+1:
    Rashad J Madison
    @rashadmad
    Is it required to set up the backend on Vagrant? I have attempted to do so twice and continue to have issues with Compose. Should I just use my deployment online as a backend. If so are there any steps to follow to do so?
    John,Emmanuel
    @emmanuelhashy
    @Angamanga kindly check your DM for the draft. Thanks
    Sameroom
    @sameroom-bot
    [Anna Iosif, Ushahidi] @rashmahad Its not required but I highly recommend it for experience. What issues are you encountering? Send any error-messages here and we’ll try to help you out!
    Anna Iosif
    @Angamanga
    @emmanuelhashy I don't see your message, could you please try again? Did you send it on Gitter?
    John,Emmanuel
    @emmanuelhashy
    @Angamanga Yes I sent it via gitter
    Himil Vasava
    @himil-vasava
    For the USSD engine to be set up, it requires the platform version to be 5 or above, while my platform version is currently showing to be 3. So, what should I do regarding the changes to be made in .env file for the engine?
    Sameroom
    @sameroom-bot
    [David Losada, Ushahidi] the current deployment or master branches of github.com/ushahidi/platform will be ok @himil-vasava
    Obiagba Mary Ifeoma
    @Ifycode
    Hi Anna, hi everyone. Ok, someone asked earlier/one time about what "settings-view" and "analysis-view" means, which is based on what was written on the outreachy's project description page. I've gone through the responses and don't think I noticed an answer for that question. According to this portion of the documentation - https://docs.ushahidi.com/ushahidi-platform-user-manual/5.-modes-for-visualizing-and-managing-data-on-your-deployment , there are only 4 views, and analysis-view is not among. I'm wondering... And do not want to assume... as I'm making findings on improving the platform's performance. Could mentioning it on the Outreachy page have been a typo? It will be helpful to know if it is or not.
    Sameroom
    @sameroom-bot
    [Anna Iosif, Ushahidi] @Ifycode Thank you for bringing this up :) I had missed the previous question. It is definitely a typo, it should be Activity-view not Analysis-view. I have updated the text in the project-description accordingly.
    Obiagba Mary Ifeoma
    @Ifycode
    Alright. Thank you Anna.
    heena singh
    @evanessa234

    Hello everyone!
    @sameroom-bot , I was looking for unused dependencies in the client app and found a few like "moment-timezone" (instead "moment" is used) and "socket.io-client" installed as dependencies on package.json but are not used anywhere in the project. Shall those be removed/uninstalled?

    There were many unused devDependencies as well but as they are not counted in the bundle, Shall those be removed too or they don't affect the performance?

    I was going to raise an enhancement issue based on these findings. What do you say?

    Sameroom
    @sameroom-bot
    [Anna Iosif, Ushahidi] @evanessa234 Any dependency that is not used in the code can most often be removed, no matter if it is in devDependencies or dependencies. They are often just forgotten when a dependency is removed for some reason :). For moment in general, check out this: https://github.com/you-dont-need/You-Dont-Need-Momentjs. We are thinking about moving away from it since it is pretty heavy (it will be one of the tasks for the internship-project).
    heena singh
    @evanessa234
    oh interesting!
    Also, I found few dependencies present in package.json which are not used anywhere in the project but are used as plugins in platform-client/test/karma.conf.js. Are those dependencies used? I mean shall they be allowed in package.json?
    Sameroom
    @sameroom-bot
    [Anna Iosif, Ushahidi] @evanessa234 Yes, they should be kept, we use them for unit-testing thumbsup emoji:skin-tone-3:
    heena singh
    @evanessa234
    Okay thanks for clearing my doubt ☺️
    heena singh
    @evanessa234
    @sameroom-bot are there any additional questions we need to answer while applying to Ushahidi in final application? Also is there any specific thing/point we need to take care of while filling final application?
    Sameroom
    @sameroom-bot
    [Anna Iosif, Ushahidi] @evanessa234 No additional questions really, explain what you plan to do and a brief timeline sketching out the project. Don’t forget blogging in the timeline, its a quite important part of Outreachy, you can find more about that here: https://www.outreachy.org/docs/internship/#blog
    heena singh
    @evanessa234
    Okay, I will keep in mind the points you mentioned. Thank you!
    heena singh
    @evanessa234
    @Angamanga Could you please review the Final Application I drafted? I have sent it on DM of Gitter. Thanks for your time!
    heena singh
    @evanessa234

    Hello,
    I am trying to push the changes in accordance to ushahidi/platform#4251

    but I encounter this error: error: failed to push some refs to 'git@github.com:evanessa234/platform.git'
    complete log can be found here: https://pastebin.com/raw/mAC2Z1Qz

    can someone please help me out with this, thank you!

    Obiagba Mary Ifeoma
    @Ifycode
    Hi Heena. Are you still having the issue?
    Most times when I see such, it may be because there are newer changes and the local may need to be synced with the original repo.
    Obiagba Mary Ifeoma
    @Ifycode
    Alongside the log you sent, you could also send a screenshot of how the error was displayed in your terminal.
    Obiagba Mary Ifeoma
    @Ifycode

    Most times when I see such, it may be because there are newer changes and the local may need to be synced with the original repo.

    Sorry, thought I mentioned using git pull here earlier.

    heena singh
    @evanessa234

    Most times when I see such, it may be because there are newer changes and the local may need to be synced with the original repo.

    Sorry, thought I mentioned using git pull here earlier.

    yes, the branch is up to date.

    Hello,
    I am trying to push the changes in accordance to ushahidi/platform#4251

    but I encounter this error: error: failed to push some refs to 'git@github.com:evanessa234/platform.git'
    complete log can be found here: https://pastebin.com/raw/mAC2Z1Qz

    can someone please help me out with this, thank you!

    sorry not log.....in pastebin I have pasted complete terminal output (error)

    Obiagba Mary Ifeoma
    @Ifycode
    Ok Heena. Looks like there are some tests that should be passing before you're allowed to push or something. Looking at the pastebin link you sent again. Looks like it's been configured to run the functions in this test file - https://github.com/ushahidi/platform/blob/develop/tests/unit/App/DataSource/Console/OutgoingCommandTest.php against git push actions.
    I don't really understand anything in there myself especially because it's php and looks related to database.
    But I believe the mentors will be in the best position to help out here.
    Obiagba Mary Ifeoma
    @Ifycode
    I don't know if you noticed the error messages ErrorException: mysqli::__construct(): (HY000/2002): No route to host and passport/oauth-public.key" does not exist or is not reada ble
    You may want to google those to get an idea of what errors you are facing pending the time mentors intervene.
    Obiagba Mary Ifeoma
    @Ifycode
    Obiagba Mary Ifeoma
    @Ifycode
    And the captainhook documentation on validating commit messages with regex and rules too - http://captainhook.info/actions.html
    Obiagba Mary Ifeoma
    @Ifycode

    And the captainhook documentation on validating commit messages with regex and rules too - http://captainhook.info/actions.html

    This explains clearer too: https://captainhookphp.github.io/captainhook/configure.html

    Obiagba Mary Ifeoma
    @Ifycode
    So you may need to change your commit message as suggested earlier with - https://docs.github.com/en/github/committing-changes-to-your-project/changing-a-commit-message as suggested earlier (sorry, deleted it earlier because I wasn't sure then). I suggest removing the symbols in the commit message.
    I'm just learning about most of these things myself. Sorry for the plenty plenty links. Lol. I hope they still help before mentor comes.
    heena singh
    @evanessa234
    Thank you @Ifycode ....for looking into this problem. I will try to unblock myself with the links you provided. :D
    Obiagba Mary Ifeoma
    @Ifycode
    👍🏽💯