🔀 Fork of Bluesky (https://github.com/bluesky-social/social-app) with minor adjustments for https://zio.blue
 
 
 
 
 
 
Go to file
Eric Bailey 58aaad704a
Add tags and mute words (#2968)
* Add bare minimum hashtags support (#2804)

* Add bare minimum hashtags support

As atproto/api already parses hashtags, this is as simple as hooking it
up like link segments.

This is "bare minimum" because:

- Opening hashtag "#foo" is actually just a search for "foo" right now
  to work around #2491.
- There is no integration in the composer. This hasn't stopped people
  from using hashtags already, and can be added later.
- This change itself only had to hook things up - thank you for having
  already put the hashtag parsing in place.

* Remove workaround for hash search not working now that it's fixed

* Add RichTextTag and TagMenu

* Sketch

* Remove hackfix

* Some cleanup

* Sketch web

* Mobile design

* Mobile handling of tags search

* Web only

* Fix navigation woes

* Use new callback

* Hook it up

* Integrate muted tags

* Fix dropdown styles

* Type error

* Use close callback

* Fix styles

* Cleanup, install latest sdk

* Quick muted words screen

* Targets

* Dir structure

* Icons, list view

* Move to dialog

* Add removal confirmation

* Swap copy

* Improve checkboxees

* Update matching, add tests

* Moderate embeds

* Create global dialogs concept again to prevent flashing

* Add access from moderation screen

* Highlight tags on native

* Add web highlighting

* Add close to web modal

* Adjust close color

* Rename toggles and adjust logic

* Icon update

* Load states

* Improve regex

* Improve regex

* Improve regex

* Revert link test

* Hyphenated words

* Improve matching

* Enhance

* Some tweaks

* Muted words modal changes

* Handle invalid handles, handle long tags

* Remove main regex

* Better test

* Space/punct check drop to includes

* Lowercase post text before comparison

* Add better real world test case

---------

Co-authored-by: Kisaragi Hiu <mail@kisaragi-hiu.com>
2024-02-26 20:33:48 -08:00
.bundle Initial commit 2022-06-07 17:50:05 -05:00
.github feat(nvm): add support for nvm & minor actions housekeeping (#2979) 2024-02-26 17:35:06 -08:00
.husky set up lint-staged via husky 2023-07-13 15:35:56 -07:00
__e2e__ Update tests to get them passing again (#2853) 2024-02-12 18:55:19 -08:00
__mocks__ Use Sentry only for errors (#1776) 2023-11-07 04:30:00 +00:00
__tests__/lib fix some youtube videos not properly loading (#2726) 2024-02-06 11:05:17 -08:00
assets Add tags and mute words (#2968) 2024-02-26 20:33:48 -08:00
bskyweb Add tags and mute words (#2968) 2024-02-26 20:33:48 -08:00
docs improves build.md completeness (#2835) 2024-02-12 08:17:26 -08:00
jest Bump dev-env 2024-01-26 13:54:25 -08:00
modules/react-native-ui-text-view Fix `numberOfLines` not updating on iOS 15 (#2956) 2024-02-21 11:49:46 -08:00
patches patch react-navigation to fix history bug (#2955) 2024-02-21 17:54:25 -08:00
plugins Add largeHeap to AndroidManifest.xml (#2191) 2023-12-12 13:40:24 -08:00
scripts Use EAS managed build number, run build/submit on GH Actions (#2841) 2024-02-21 13:54:31 -08:00
src Add tags and mute words (#2968) 2024-02-26 20:33:48 -08:00
web Add tags and mute words (#2968) 2024-02-26 20:33:48 -08:00
.buckconfig Initial commit 2022-06-07 17:50:05 -05:00
.detoxrc.js Update testrunner to use new dev-env [WIP] (#1575) 2023-10-10 15:46:27 -07:00
.easignore Fix easignore 2024-01-26 17:37:27 -08:00
.env.example E2E 🟢 (#2092) 2023-12-05 14:50:56 -06:00
.eslintrc.js Add Lingui check to CI (#2058) 2023-12-01 09:14:10 -08:00
.gitignore Merge PR #2495 by haileyok 2024-01-23 14:15:47 -08:00
.nvmrc feat(nvm): add support for nvm & minor actions housekeeping (#2979) 2024-02-26 17:35:06 -08:00
.prettierignore Basic golang CI setup (#360) 2023-03-27 10:16:17 -05:00
.prettierrc.js Add state management 2022-06-09 13:03:25 -05:00
.ruby-version Improve lightbox... and update to React Native 0.71.0 (#49) 2023-01-17 20:40:02 -06:00
.watchmanconfig Initial commit 2022-06-07 17:50:05 -05:00
Dockerfile feat(nvm): add support for nvm & minor actions housekeeping (#2979) 2024-02-26 17:35:06 -08:00
Gemfile Improve lightbox... and update to React Native 0.71.0 (#49) 2023-01-17 20:40:02 -06:00
LICENSE Update copyright year in LICENSE (#2606) 2024-01-25 12:15:40 -08:00
Makefile bskyweb: update golang indigo dep (from May!), and some small devex tweaks (#2227) 2023-12-18 19:31:48 +04:00
README.md Remove invite codes from README (#2988) 2024-02-27 01:24:14 +00:00
app.config.js Use EAS managed build number, run build/submit on GH Actions (#2841) 2024-02-21 13:54:31 -08:00
babel.config.js Bump react-native to 0.73.1, expo to 50 (#2214) 2023-12-23 15:44:38 -08:00
eas.json Use EAS managed build number, run build/submit on GH Actions (#2841) 2024-02-21 13:54:31 -08:00
google-services.json.example Add example google-services file (#1545) 2023-09-28 12:22:23 -07:00
index.js E2E 🟢 (#2092) 2023-12-05 14:50:56 -06:00
index.web.js Re-enable fetch monkey-patch (#2036) 2023-11-29 16:00:13 -08:00
lingui.config.js Add italian to app languages 2024-02-13 10:01:59 -08:00
metro.config.js Let Metro handle import/export instead of Babel (#1772) 2023-10-30 21:54:23 +00:00
package.json Add tags and mute words (#2968) 2024-02-26 20:33:48 -08:00
tsconfig.check.json [APP-786] Native notifications (#1095) 2023-08-23 16:28:51 -07:00
tsconfig.e2e.json E2E runner fixes (#2428) 2024-01-04 17:33:57 -08:00
tsconfig.json Bump react-native to 0.73.1, expo to 50 (#2214) 2023-12-23 15:44:38 -08:00
webpack.config.js Enable Fast Refresh for web (#1383) 2023-09-05 11:13:42 -07:00
yarn.lock Add tags and mute words (#2968) 2024-02-26 20:33:48 -08:00

README.md

Bluesky Social App

Welcome friends! This is the codebase for the Bluesky Social app.

Get the app itself:

Development Resources

This is a React Native application, written in the TypeScript programming language. It builds on the atproto TypeScript packages (like @atproto/api), code for which is also on open source, but in a different git repository.

There is a small amount of Go language source code (in ./bskyweb/), for a web service that returns the React Native Web application.

The Build Instructions are a good place to get started with the app itself.

The Authenticated Transfer Protocol ("AT Protocol" or "atproto") is a decentralized social media protocol. You don't need to understand AT Protocol to work with this application, but it can help. Learn more at:

The Bluesky Social application encompasses a set of schemas and APIs built in the overall AT Protocol framework. The namespace for these "Lexicons" is app.bsky.*.

Contributions

While we do accept contributions, we prioritize high quality issues and pull requests. Adhering to the below guidelines will ensure a more timely review.

Rules:

  • We may not respond to your issue or PR.
  • We may close an issue or PR without much feedback.
  • We may lock discussions or contributions if our attention is getting DDOSed.
  • We're not going to provide support for build issues.

Guidelines:

  • Check for existing issues before filing a new one please.
  • Open an issue and give some time for discussion before submitting a PR.
  • Stay away from PRs like...
    • Changing "Post" to "Skeet."
    • Refactoring the codebase, eg to replace mobx with redux or something.
    • Adding entirely new features without prior discussion.

Remember, we serve a wide community of users. Our day to day involves us constantly asking "which top priority is our top priority." If you submit well-written PRs that solve problems concisely, that's an awesome contribution. Otherwise, as much as we'd love to accept your ideas and contributions, we really don't have the bandwidth. That's what forking is for!

Forking guidelines

You have our blessing 🪄 to fork this application! However, it's very important to be clear to users when you're giving them a fork.

Please be sure to:

  • Change all branding in the repository and UI to clearly differentiate from Bluesky.
  • Change any support links (feedback, email, terms of service, etc) to your own systems.
  • Replace any analytics or error-collection systems with your own so we don't get super confused.

Security disclosures

If you discover any security issues, please send an email to security@bsky.app. The email is automatically CCed to the entire team and we'll respond promptly.

Are you a developer interested in building on atproto?

Bluesky is an open social network built on the AT Protocol, a flexible technology that will never lock developers out of the ecosystems that they help build. With atproto, third-party can be as seamless as first-party through custom feeds, federated services, clients, and more.

License (MIT)

See ./LICENSE for the full license.

P.S.

We ❤️ you and all of the ways you support us. Thank you for making Bluesky a great place!