-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added isHighRisk component to Activist #585
Conversation
Implemented Backend Changes
UI implementation isHighRisk
Frontend Alert Icon Implementation
Thank you for the pull request!The activist team will do our best to address your contribution as soon as we can. The following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :) If you're not already a member of our public Matrix community, please consider joining! We'd suggest using Element as your Matrix client, and definitely join the General and Development rooms once you're in. It'd be great to have you! Maintainer checklist
|
✅ Deploy Preview for activist-org ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This pull request was made from main so will made second |
Description
This pull request introduces the isHighRisk property to the CardDiscussionInput component in the activist project. The feature aims to increase safety for users who are part of or interacting with high-risk organizations. It modifies the user interface to display warnings and different styles when the isHighRisk flag is true.
Testing
The feature was tested in a local development environment. The UI changes were verified for both high-risk and non-high-risk scenarios. Additionally, the feature was tested in dark mode to ensure visual consistency and accessibility
Proof of output:
![Screenshot 2023-11-28 at 10 00 01 pm](https://private-user-images.githubusercontent.com/122262442/286370773-bc67a24c-5c6c-42c5-b6b4-1c3ed848e55e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDA5ODEsIm5iZiI6MTczOTQwMDY4MSwicGF0aCI6Ii8xMjIyNjI0NDIvMjg2MzcwNzczLWJjNjdhMjRjLTVjNmMtNDJjNS1iNmI0LTFjM2VkODQ4ZTU1ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQ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Y9h8OKVpDwgI29g7VTRrzH6kGWmE)
Issue Number
This pull request Closes Issue #558: "Add isHighRisk prop to CardDiscussionInput", which was opened to enhance the safety features of the activist platform's discussion component.
Team Members:
Shahad Astaneh, Al Maha Al Jabor, Ali Al-Quradaghi, and Fatima Johar