activist
activist copied to clipboard
feat: addition of signal social media
Contributor checklist
- [x] This pull request is on a separate branch and not the main branch
Description
Added Signal social to the modal share page. Thanks!
Related issue
- #694
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. Also consider joining our bi-weekly Saturday dev syncs. It'd be great to have you!
Maintainer checklist
-
[x] The commit messages for the remote branch should be checked to make sure the contributor's email is set up correctly so that they receive credit for their contribution
- The contributor's name and icon in remote commits should be the same as what appears in the PR
- If there's a mismatch, the contributor needs to make sure that the email they use for GitHub matches what they have for
git config user.emailin their local activist repo
-
[ ] The TypeScript and formatting workflows within the PR checks do not indicate new errors in the files changed
-
[ ] The Playwright end to end and Zap penetration tests have been ran and are passing (if necessary)
-
[x] The CHANGELOG has been updated with a description of the changes for the upcoming release and the corresponding issue (if necessary)
Deploy Preview for activist-org ready!
| Name | Link |
|---|---|
| Latest commit | 67711995d0b3c4aae1cc3442d58a3c414448ee54 |
| Latest deploy log | https://app.netlify.com/sites/activist-org/deploys/66d1fc1acf00090008c3c606 |
| Deploy Preview | https://deploy-preview-935--activist-org.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
As discussed in the sync, let's look into how we would automatically launch Signal on a person's device and include a default message for sharing :)
Hi, so far regarding the URL link for sharing to Signal, there is no feature to support sending a pre-defined message yet. However, it is possible to have a share-to-signal link. Thanks!
Ref: https://github.com/signalapp/Signal-iOS/issues/706
Hey @UnknownSean8 👋 As discussed, would be great if we could still get Signal opened at least, and then we can figure this out later when that issue for Signal is closed 😊
Comment from the dev sync: Copy the URL to clipboard and open the app :)
Hi @andrewtavis, the feature is working correctly for now. But there are still some settings/preferences that can be improved. Could you take a look and let me know your thoughts?
I think that the copyToClipboard function can be separated from the redirection so we can time the waiting time. But maybe the functions shouldn't exist in the file itself?
Other than that, since the link is using the same contentCopied variable, the copy URL button will also change when the Signal link is clicked. Do you want this behaviour or want it to be separated?
Thanks!
Hey @UnknownSean8 👋 So all's working well, but I do agree that we want to split the functionality of copying the link and the opening Signal. The copy link shouldn't change in this case, but the Signal option should change to a checkmark and the same green and URL copied should be the text displayed to the user until Signal opens. Can you make those quick changes and then I'll merge it in? :)
Also, don't worry about how some of the texts are a bit weird at the moment! This is coming from needing to combine a bunch of strings for the rework I talked to you about. It'll get figured out once all the PRs are in :)