Giter VIP home page Giter VIP logo

chaynhq / soulmedicine Goto Github PK

View Code? Open in Web Editor NEW
30.0 7.0 6.0 89.25 MB

Soul Medicine a multilingual digital service designed to deliver critical safety information and supportive messaging in bite-sized pieces.

Home Page: https://soulmedicine.io

License: MIT License

Ruby 61.31% JavaScript 2.21% HTML 17.76% Vue 10.38% Shell 0.73% SCSS 6.88% Procfile 0.04% Dockerfile 0.68%
dpg ruby sdg opensourceforgood public-goods

soulmedicine's People

Contributors

annarhughes avatar atreay avatar aybeedee avatar dependabot[bot] avatar eleanorreem avatar fahadiqbal1 avatar issyl0 avatar jits avatar kyleecodes avatar seanmarcia avatar snyk-bot avatar sophieheb avatar swetha-charles avatar tarebyte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

soulmedicine's Issues

Sign-in & Account Creation Buttons Grayed-Out

When filling in the form to create an account or sign in, the buttons still appear "grayed out" even once all of the required information has been filled in. This is confusing and can make the user wonder if they haven't done everything needed in order to proceed.

SoulMedicine_SubmitButtonsGreyedOut

Link to our Volunteer Info page in our README.md

Overview

Currently, our README links interested volunteers directly to the volunteer form, not to our volunteer info page (which contains the form). We need the README to link to the Getting Involved volunteer info page instead, similar to how our CONTRIBUTING.md file does.

Action Items

  • Replace the text in the README.md under the Getting Involved section:
    If you would like to help Bloom and receive special access to our organization and volunteer opportunities, please get in touch with us to express your interest in volunteering via this form."
    with the following text:
    "If you would like to help Chayn and receive special access to our organization and volunteer opportunities, please visit our Getting Involved page."
  • Make sure the above sentence contains a markdown link to our Getting Involved page: https://www.notion.so/chayn/Get-involved-423c067536f3426a88005de68f0cab19?pvs=4

Please disregard failing tests as we are updating their performance. Thank you!

Resources/Instructions

Upgrade Ruby to 3.1

The current system is running on Ruby 2.5.8 which reached EOL in April of 2021.

We need to upgrade the system to use Ruby 3.2 to ensure that we are secure and the most up to date that is possible.

Below is the order in which the update is recommended.

  • 2.7 (the last of the 2 series)
  • 3.0
  • 3.1.4

These should be updated with as few dependencies updated as possible to avoid breaking changes during the upgrade process. Once we're on the latest version of Ruby, we can then look at tackling the Rails framework updates.

[Cleanup] Uninstall Travis CI

As of #305 we're now officially on GitHub Actions ๐ŸŽ‰

We should remove the Travis CI GitHub App from the organization as it's no longer being used.

Sign in again to view profile

When I'm signed in to the site and click my name -> "my profile", it takes me to a page that says "Please sign in again to view and change your profile" and forces me to sign in a second time.

This feels frustrating and redundant. Is there a reason users are required to sign in again in order to view their profile?

missing form label

Example page: https://soulmedicine.io/ar/auth/sign_in

What It Means
A form control does not have a corresponding label.

Why It Matters: If a form control does not have a properly associated text label, the function or purpose of that form control may not be presented to screen reader users. Form labels also provide visible descriptions and larger clickable targets for form controls.

How to Fix It: If a text label for a form control is visible, use the element to associate it with its respective form control. If there is no visible label, either provide an associated label, add a descriptive title attribute to the form control, or reference the label(s) using aria-labelledby. Labels are not required for image, submit, reset, button, or hidden form controls.

broken ARIA reference

Example page: https://soulmedicine.io/en/pathways/diy-online-safety/notes/note-1-how-many-sites-and-services-do-you-use & https://soulmedicine.io/en/profile

What It Means: An aria-labelledby or aria-describedby reference exists, but the target for the reference does not exist.

Why It Matters: ARIA labels and descriptions will not be presented if the element referenced does not exist in the page.

How to Fix It: Ensure the element referenced in the aria-labelledby or aria-describedby attribute value is present within the page and presents a proper label or description.

UX suggestion: log user out when "leave this site" button is clicked

When a user clicks the "leave this site" button (which is an awesome UX feature!), they remain signed in. It might be a good idea to also log the user out.

While the browser history will remain intact for that session, if the site is navigated to by a bad actor (ie: the abuser) and the account is still logged in, both the existence of an account and any subscriptions will be viewable. This seems undesirable.

2019-12-03 15 16 53

some missing alt text

Example page: https://soulmedicine.io/en

What It Means: Two images near each other have the same alternative text.

Why It Matters: When two images have the same alternative text, this often causes redundancy or indicates incorrect alternative text.

How to Fix It: Ensure that the alternative text for each image or image button is appropriate while removing unnecessary redundancy. If the content of the image is already conveyed elsewhere (through text or the alternative text of a nearby image) or if the image does not convey content, the image may generally be given empty/null alternative text (alt=""). Image buttons always convey a specific function, and thus cannot be given null alternative text.

image

Upgrade Node to the latest LTS (18.x)

According to the Node release schedule Node 18 will be supported until April of 2025. In order to ensure stability of the platform we need to upgrade from our current version of Node 10.

Below is the recommended upgrade order:

  • 14.x (EOL 2023-04)
  • 16.x (EOL 2023-09-11)
  • 18.x (LTS)

These should be updated with as few dependencies updated as possible to avoid breaking changes during the upgrade process. Once we're on Node 18 we can look at updating the other dependencies of the project.

Typo - How to cope with stress page

Found a couple of typos on the How to cope with stress page:

"A lot of experience stress on a day to day basis." -- Seems like this should read as "A lot of people experience stress..."

"In this course, we will help you understand how your body and mind reacts to stress," -- I think the word "reacts" should be changed to "react".

Update framework defaults to Rails 7

Overview

Now that we have migrated to Rails 7 #372 we need to update the framework to be up to date as well.

See the file for more details.

These default are meant to be turned on either individually or in small batches as they are breaking changes inside of the application.

Action Items

  • Understand each change in the new_framework_defaults_7_0.rb file.
  • Ship each change safely by deploying first to the staging heroku environment.
  • The merge and deploy to production.

Resources

https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-6-1-to-rails-7-0

Link Hover Color Makes Text Disappear

When hovering over "Chayn" in the "Powered by Chayn" banner across the bottom of the home page, the word "Chayn" gets lost. The hover color for the hyperlinks is almost the exact same shade of pink as the background color. (I understand that this is the hover color for all the hyperlinks on the page, but it feels like an accessibility issue to have the link basically disappear upon hover).
SoulMedicine_LinkHoverColor

Migrate Travis CI to github actions

Our travis integration is not currently working and we've decided not to fix it as Travis is proving challenging to fix and we don't want to migrate plans. To simplify our stack we want to migrate travis continuous integration to Github actions.
Approach

  • have a look at this quickstart guide https://docs.github.com/en/actions/quickstart
  • create a new branch to work on
  • replicate the steps in travis in github actions
  • if you need help with storing secrets for github actions contact the team (@swetha-charles or @eleanorreem)
  • note that we want the travis CI to run at the same point in the development flow (i.e. on pull request creation)
  • Commit any changes to the branch and push up
  • Comment on the ticket about the changes made and request reviews from the team (@swetha-charles or @eleanorreem)

Add link to CONTRIBUTING.md file in README.md

Overview

We need to link to the CONTRIBUTING.md file in the README.md so contributors can more easily see the contributing guidelines.

Action Items

  • Under the title in the "Development and Testing" section in the README.md, add the following:
    "To make a contribution, please read our Contributing Guidelines in CONTRIBUTING.md"
  • Make sure the sentence above contains a Markdown link to the repo's CONTRIBUTING.md file.

Please disregard failing tests as we are updating their performance. Thank you!

Resources/Instructions

Implement a GitHub Action for welcoming contributors

Overview

Implement a GitHub Action that will automatically welcome contributors in issues.

Action Items

  • Draft an informative message linking contributors to helpful information.
  • Write a new workflow and submit a PR.

Resources

https://github.com/marketplace/actions/auto-message-for-pr-s-and-issues
https://github.com/actions/first-interaction
https://github.com/marketplace/actions/first-interaction
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment

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.