Skip to content

Commit

Permalink
Merge pull request #825 from planetary-social/update_suggested_user_l…
Browse files Browse the repository at this point in the history
…ist_jan_18

updating suggested followers for discovery tab
  • Loading branch information
joshuatbrown authored Jan 18, 2024
2 parents d1279ba + 2d95312 commit 0cb8496
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]


- Updated suggested users for discovery tab.
- Show the profile view when a search matches a valid User ID (npub).
- Added tabs to Profiles to filter posts.
- Fixed a bug that could cause the out of network warning to be shown on reposts in the stories view.
Expand Down
25 changes: 12 additions & 13 deletions Nos/Models/CoreData/Event+CoreDataClass.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ public class Event: NosManagedObject {
/// The userId mapped to an array of strings witn information of the user
static let discoverTabUserIdToInfo: [String: [String]] = [
"npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m": ["Jack Dorsey"],
"npub1g53mukxnjkcmr94fhryzkqutdz2ukq4ks0gvy5af25rgmwsl4ngq43drvk": ["Martti Malmi/sirius"],
"npub1qlkwmzmrhzpuak7c2g9akvcrh7wzkd7zc7fpefw9najwpau662nqealf5y": ["Katie"],
"npub176ar97pxz4t0t5twdv8psw0xa45d207elwauu5p93an0rfs709js4600cg": ["arjwright"],
"npub1nstrcu63lzpjkz94djajuz2evrgu2psd66cwgc0gz0c0qazezx0q9urg5l": ["nostrica"],
"npub14ps5krdd2wezq4kytmzv3t5rt6p4hl5tx6ecqfdxt5y0kchm5rtsva57gc": ["Martin"],
Expand All @@ -104,29 +102,21 @@ public class Event: NosManagedObject {
"npub1lur3ft9rk43fmjd2skwefz0jxlhfj0nyz3zjfkxwe3y8xlf5r6nquat0xg": ["Shaina Dane"],
"npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30wscmntxy": ["brugeman"],
"npub1sn0wdenkukak0d9dfczzeacvhkrgz92ak56egt7vdgzn8pv2wfqqhrjdv9": ["Edward Snowden"],
"npub12ye6p9r6h6qpg3wrfch4v9gas6g0g7y6knrkxf6mzstxuax9sv8sdxrdku": ["Heather Everdeen"],
"npub1pvgcusxk7006hvtlyx555erhq8c5pk9svw57snlxujpkgnkup89sekdx8c": ["Pam"],
"npub1veeqt66jt2j209y9nv4a90w3dej074lavqygq5q0c57dharkgw0qk738wt": ["S3x_jay"],
"npub12n7xd8xvqwj8k0v44yg3hlwutyyx85n28xx8zjwj6dykswuy28yqu7xsq4": ["Mara"],
"npub1f594agr5xkjd9vgxqgdw0el56y55satlh4ey4mck6trfmxhf4gdsh9npnz": ["Bobi"],
"npub1ctsq6nmn5af0evwrlka32kqc7tuhkwzmxlmu6lxt5qw2r6wfnuaqmcad65": ["Julien"],
"npub10ft5tkcwknwqkspx9cxhxy2yvyqzmavjku7g37n2kk9ja9yd5rwshhz4z3": ["Joi Ito"],
"npub1dcl4zejwr8sg9h6jzl75fy4mj6g8gpdqkfczseca6lef0d5gvzxqvux5ey": ["Adam Ritter"],
"npub1qd0smfnmu8936edjx3maet6rckw80wz36jdf6a4lj2gn6ayq2m3q76lelz": ["Carlos Rodriguez"],
"npub1k7cnst4fh4ajgg8w6ndcmqen4fnyc7ahhm3zpp255vdxqarrtekq5rrg96": ["Bigmarh"],
"npub1gk6ufj53zcc07dt8vrnwwslr3zqs2z398808z9gaw0pl2znmacrqp5y8se": ["Andressa Muntro"],
"npub188dexxxmyqhj2r9yte0eq08kfrxtgdmer6gz0ljnzq06edc5fttsjtt409": ["Mary Yar"],
"npub1a32cg8ntvpcq0gqk00t73kzywptxjvm2aatysk6g7nfc750976xsm2ea5z": ["Johannes Ernst"],
"npub1gvy07gxw6uu8rd57mz72mg4q2x7r5ptpp5gc832dv768e58hqd0q5nyn0t": ["Ferret"],
"npub17nd4yu9anyd3004pumgrtazaacujjxwzj36thtqsxskjy0r5urgqf6950x": ["isoabellaart"],
"npub1rkqw2kyduqgdzdax03ptqdcht90475gww0jzelzg7vd6ayvyf4vsl2jtk0": ["bannana art"],
"npub1chuth0ru5mq5pjeq6magew3kse4d5m7wgzqk3tnz0kgqwu3vt6ls5hq3gd": ["chut"],
"npub1ke0hjv9nx5cy4kz3yuw9kwrhey72cphh8cehfnrh2gjlm8dq7ujsuwt0pu": ["LucioMint"],
"npub1pkj5lugwrychstydkt9h2xdzst9ejreemleh3hz69nr85cmegqrs232y4t": ["monk_cactus"],
"npub1a406tcmltkud34kmqkevkpykp384czamffw2245a9v5uc2z22l2q55gxd2": ["tina"],
"npub1matmfxr293jejewrm72u50l2x5e6ypasn0ev2kns6srv05zfzf8s0z6fsr": ["Jon Pincus"],
"npub1ftpy6thgy2354xypal6jd0m37wtsgsvcxljvzje5vskc9cg3a5usexrrtq": ["Raúl Piracés"],
"npub12hcytyr8fumy3axde8wgeced523gyp6v6zczqktwuqeaztfc2xzsz3rdp4": ["NoGood"],
"npub1l9kr6ajfwp6vfjp60vuzxwqwwlw884dff98a9cznujs520shsf9s35xfwh": ["Karine"],
"npub1rfdkj37rhymcrr5jk9jjaae5c3yj8l24jtr8a27q0chh2y2aq42snhh53u": ["eolaí"],
"npub1uch5rxswzes8h9hlzrktqqjf4a75k6w86ys7fvzpxrrpejvccvhq4sl7fj": ["muneomi"],
Expand All @@ -144,7 +134,6 @@ public class Event: NosManagedObject {
"npub1mhrdsyurcmnva5783cuwmvp2k6kqc7er47lh56z5zr48ha5fhgesf5028h": ["BeatingUpwind"],
"npub1zwulrffp23wle3tl25dt0jr2q376k0k8vhe9xzjl5jnxnag5tc2sr2hjds": ["Love of Nature"],
"npub1sur5gd3mrfvcd4nh8dtsdh0ztrqrnaknff0lcfcfz5pn56n8eqkqv9sm0l": ["Animals"],
"npub1v60thnx0gz0wq3n6xdnq46y069l9x70xgmjp6lprdl6fv0eux6mqgjj4rp": ["Goats!"],
"npub1tvw3h5xqnuc2aq5zelxp3dy58sz7x9u8e6enkxywmrz70cg2j2zqjes44n": ["Tech Priest"],
"npub1zumnu05rrr7fg608gereh7a2v0prtea4dc9m4wzgkxut965ru8qqf4j3xg": ["Nostalgia"],
"npub19fwwstv5dg8qsmuj9rmgf98nt9lfz5gvv67jqx6y9jtgekpcz5pqpgulzp": ["Pro Publica"],
Expand Down Expand Up @@ -188,7 +177,6 @@ public class Event: NosManagedObject {
"npub18n3yh0g4u9k0jlp2ux38cyatg7300s40z4g9vsvg7at6lneau5usalwg29": ["Der Postillon"],
"npub1dkpwe7v5tnq59q5f57ay3qxcfknm7r4yr765tl8kttxr8judnrxs790xl8": ["Greta Thunberg"],
"npub18mmgvu4457x8yrsr3djhhnfp8uhp5swj6fed6jyrd3cpu0vwfcfs3mwg7n": ["European Commission"],
"npub1ux9ze4ccwnevdsy8k62l6tp3jecm8m3ha5q948ukcjcfv8lp6rgsadufmc": ["Auschwitz Memorial"],
"npub17fjpccfwjdsklnauh2x6cs0rkqmppdpjjgh5q0963q4yjn9qnkxqm9gh0n": ["Mark Ruffalo"],
"npub1y8av7a5337erepxphjf50c9p4w5ghu6zu56fjqklpw0n06d7wvgqwh5cy0": ["Tor Project"],
"npub1hjugp75htg9zx2xhkk0h2zen47yfx9de3mkade4g4q7m9tn56atqwhq06v": ["Digital Courage"],
Expand All @@ -204,7 +192,18 @@ public class Event: NosManagedObject {
"npub1c878wu04lfqcl5avfy3p5x83ndpvedaxv0dg7pxthakq3jqdyzcs2n8avm": ["Ben Arc"],
"npub1xz5g8uqpmg3mqvezjhfnev660m0h476wk3rssra44fn87gwgequqwra02a": ["Lahmienwski Lab"],
"npub1plx4lff553p6kryg2vkrf47h82lcsvjespfdcv5zmzmn03429psst9hnwk": ["Dylan"],
"npub1cl3098w2krckyfyyzcnnefltuggvj0ke32p3kag88v3wsx5j4y8q5e69y2": ["Leaa"]
"npub1cl3098w2krckyfyyzcnnefltuggvj0ke32p3kag88v3wsx5j4y8q5e69y2": ["Leaa"],
"npub19sjwrt6hr76velk28xqkf8qmp8rftnvrky5hp84nksw84559fzvsq7ccqn": ["MrsNancyJ"],
"npub1995y964wmxl94crx3ksfley24szjr390skdd237ex9z7ttp5c9lqld8vtf": ["franny"],
"npub14u2x75trff0mp279jtau90k59nm5quqfjq6y5an23xvlu40w68rq40ewrz": ["Kathrin"],
"npub1rjc54ve4sahunm7r0kpchg58eut7ttwvevst7m2fl8dfd9w4y33q0w0qw2": ["Hes"],
"npub1wqfzz2p880wq0tumuae9lfwyhs8uz35xd0kr34zrvrwyh3kvrzuskcqsyn": ["MichaelJ"],
"npub1n0pdxnwa4q7eg2slm5m2wjrln2hvwsxmyn48juedjr3c85va99yqc5pfp6": ["SimplySarah"],
"npub1zyfv44hl4kezcn2st6de75ejypfwqk5rfq3vlymgm365e2au0w5spdg837": ["Dr. Monali Desai"],
"npub1r9lucu40595a3qlycc7whv0524664dm6hp7qmah80psvt7zznyzq9vkmz0": ["lynnrose"],
"npub1qk003dm7f6tqe3ydykawvqrmnze5n444dwql88qxd6hzxczzgv3syh87jz": ["bettyrose"],
"npub13mh45wl4u9ur26sxxwcklywgyt640s2dqkn6mvsu55302nwvqymq6xae0f": ["Katrin Theresa"],
"npub1curnt7jtq8mhl9fcswnwvuvc9ccm6lvsdv4kzydx75v92kldrvdqh7sq09": ["loveai"]
]

// MARK: - Fetching
Expand Down

0 comments on commit 0cb8496

Please sign in to comment.