sforkowany z mirror/soapbox
edited notifications-test
rodzic
49d69178ae
commit
88b0ed440b
|
@ -1,23 +1,40 @@
|
|||
{
|
||||
"account": {
|
||||
"acct": "seanking",
|
||||
"avatar": "https://gleasonator.com/images/avi.png",
|
||||
"avatar_static": "https://gleasonator.com/images/avi.png",
|
||||
"acct": "crockwave",
|
||||
"avatar": "https://media.gleasonator.com/d6dcd2779bdb63ef8b8a5f127743f5ad757046943c4b4a8867215c15a72c5e55.png",
|
||||
"avatar_static": "https://media.gleasonator.com/d6dcd2779bdb63ef8b8a5f127743f5ad757046943c4b4a8867215c15a72c5e55.png",
|
||||
"bot": false,
|
||||
"created_at": "2020-05-24T01:46:12.000Z",
|
||||
"display_name": "Sean King",
|
||||
"created_at": "2020-02-26T16:31:25.000Z",
|
||||
"display_name": "Curtis Rock",
|
||||
"emojis": [],
|
||||
"fields": [],
|
||||
"followers_count": 8,
|
||||
"following_count": 4,
|
||||
"header": "https://gleasonator.com/images/banner.png",
|
||||
"header_static": "https://gleasonator.com/images/banner.png",
|
||||
"id": "9vMAje101ngtjlMj7w",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Web Site/Book",
|
||||
"value": "<a href=\"https://teci.world/a-users-guide-to-the-great-awakening\" rel=\"ugc\">https://teci.world/a-users-guide-to-the-great-awakening</a>"
|
||||
},
|
||||
{
|
||||
"name": "Gab",
|
||||
"value": "<a href=\"https://gab.com/crockwave\" rel=\"ugc\">https://gab.com/crockwave</a>"
|
||||
},
|
||||
{
|
||||
"name": "Twitter",
|
||||
"value": "<a href=\"https://twitter.com/GAP_Great\" rel=\"ugc\">https://twitter.com/GAP_Great</a>"
|
||||
},
|
||||
{
|
||||
"name": "MeWe",
|
||||
"value": "<a href=\"https://mewe.com/i/curtisrock\" rel=\"ugc\">https://mewe.com/i/curtisrock</a>"
|
||||
}
|
||||
],
|
||||
"followers_count": 13,
|
||||
"following_count": 11,
|
||||
"header": "https://media.gleasonator.com/82720af49afb0daa2a700f4371db9848cd7efb38eaca09d47898e8e7b527e0b4.png",
|
||||
"header_static": "https://media.gleasonator.com/82720af49afb0daa2a700f4371db9848cd7efb38eaca09d47898e8e7b527e0b4.png",
|
||||
"id": "9v5c6xSEgAi3Zu1Lv6",
|
||||
"locked": false,
|
||||
"note": "Hi, I'm Sean King, Founder and President of Sandia Mesa. I'll be here to try out new features and help test out some with Soapbox FE.",
|
||||
"note": "soapbox development team test test2",
|
||||
"pleroma": {
|
||||
"background_image": null,
|
||||
"confirmation_pending": true,
|
||||
"confirmation_pending": false,
|
||||
"deactivated": false,
|
||||
"hide_favorites": true,
|
||||
"hide_followers": false,
|
||||
|
@ -33,7 +50,7 @@
|
|||
"endorsed": false,
|
||||
"followed_by": true,
|
||||
"following": true,
|
||||
"id": "9vMAje101ngtjlMj7w",
|
||||
"id": "9v5c6xSEgAi3Zu1Lv6",
|
||||
"muting": false,
|
||||
"muting_notifications": false,
|
||||
"requested": false,
|
||||
|
@ -44,23 +61,39 @@
|
|||
"tags": []
|
||||
},
|
||||
"source": {
|
||||
"fields": [],
|
||||
"note": "Hi, I'm Sean King, Founder and President of Sandia Mesa. I'll be here to try out new features and help test out some with Soapbox FE.",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Web Site/Book",
|
||||
"value": "https://teci.world/a-users-guide-to-the-great-awakening"
|
||||
},
|
||||
{
|
||||
"name": "Gab",
|
||||
"value": "https://gab.com/crockwave"
|
||||
},
|
||||
{
|
||||
"name": "Twitter",
|
||||
"value": "https://twitter.com/GAP_Great"
|
||||
},
|
||||
{
|
||||
"name": "MeWe",
|
||||
"value": "https://mewe.com/i/curtisrock"
|
||||
}
|
||||
],
|
||||
"note": "soapbox development team test test2",
|
||||
"pleroma": {
|
||||
"actor_type": "Person",
|
||||
"discoverable": false
|
||||
},
|
||||
"sensitive": false
|
||||
},
|
||||
"statuses_count": 15,
|
||||
"url": "https://gleasonator.com/users/seanking",
|
||||
"username": "seanking"
|
||||
"statuses_count": 212,
|
||||
"url": "https://gleasonator.com/users/crockwave",
|
||||
"username": "crockwave"
|
||||
},
|
||||
"created_at": "2020-06-10T02:54:39.000Z",
|
||||
"emoji": "😢",
|
||||
"id": "10744",
|
||||
"created_at": "2020-06-10T02:51:05.000Z",
|
||||
"id": "10743",
|
||||
"pleroma": {
|
||||
"is_seen": false
|
||||
"is_seen": true
|
||||
},
|
||||
"status": {
|
||||
"account": {
|
||||
|
@ -188,7 +221,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "At 10.72% test coverage, Soapbox FE now has 2x more than MastoFE, which only has 4.21%.Pleroma FE doesn't seem to report coverage, but I suspect it's better than both of these combined.I don't know how Mastodon got away with not writing tests for so long, but I feel like there could be an entire release dedicated only to going back and writing missing tests... jesus."
|
||||
"text_plain": "At 10.72% test coverage, Soapbox FE now has 2x more than MastoFE, which only has 4.21%.Pleroma FE doesn't seem to report coverage, but I suspect it's better than both of these combined.I don't know how Mastodon got away with not writing tests for so long, but I feel like there could be an entire release dedicated only to going back and writing missing tests... jesus."
|
||||
},
|
||||
"conversation_id": 1168229,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -197,7 +230,7 @@
|
|||
"in_reply_to_account_acct": null,
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -213,5 +246,5 @@
|
|||
"url": "https://gleasonator.com/notice/9vvNxoo5EFbbnfdXQu",
|
||||
"visibility": "public"
|
||||
},
|
||||
"type": "pleroma:emoji_reaction"
|
||||
"type": "favourite"
|
||||
}
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "At 10.72% test coverage, Soapbox FE now has 2x more than MastoFE, which only has 4.21%.Pleroma FE doesn't seem to report coverage, but I suspect it's better than both of these combined.I don't know how Mastodon got away with not writing tests for so long, but I feel like there could be an entire release dedicated only to going back and writing missing tests... jesus."
|
||||
"text_plain": "At 10.72% test coverage, Soapbox FE now has 2x more than MastoFE, which only has 4.21%.Pleroma FE doesn't seem to report coverage, but I suspect it's better than both of these combined.I don't know how Mastodon got away with not writing tests for so long, but I feel like there could be an entire release dedicated only to going back and writing missing tests... jesus."
|
||||
},
|
||||
"conversation_id": 1168229,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -198,7 +198,7 @@
|
|||
"in_reply_to_account_acct": null,
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -439,7 +439,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "At 10.72% test coverage, Soapbox FE now has 2x more than MastoFE, which only has 4.21%.Pleroma FE doesn't seem to report coverage, but I suspect it's better than both of these combined.I don't know how Mastodon got away with not writing tests for so long, but I feel like there could be an entire release dedicated only to going back and writing missing tests... jesus."
|
||||
"text_plain": "At 10.72% test coverage, Soapbox FE now has 2x more than MastoFE, which only has 4.21%.Pleroma FE doesn't seem to report coverage, but I suspect it's better than both of these combined.I don't know how Mastodon got away with not writing tests for so long, but I feel like there could be an entire release dedicated only to going back and writing missing tests... jesus."
|
||||
},
|
||||
"conversation_id": 1168229,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -448,7 +448,7 @@
|
|||
"in_reply_to_account_acct": null,
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -668,7 +668,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "At 10.72% test coverage, Soapbox FE now has 2x more than MastoFE, which only has 4.21%.Pleroma FE doesn't seem to report coverage, but I suspect it's better than both of these combined.I don't know how Mastodon got away with not writing tests for so long, but I feel like there could be an entire release dedicated only to going back and writing missing tests... jesus."
|
||||
"text_plain": "At 10.72% test coverage, Soapbox FE now has 2x more than MastoFE, which only has 4.21%.Pleroma FE doesn't seem to report coverage, but I suspect it's better than both of these combined.I don't know how Mastodon got away with not writing tests for so long, but I feel like there could be an entire release dedicated only to going back and writing missing tests... jesus."
|
||||
},
|
||||
"conversation_id": 1168229,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -677,7 +677,7 @@
|
|||
"in_reply_to_account_acct": null,
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -918,7 +918,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "@alex you dont need to write tests when your community builds a social framework that flags people not using your software as bad people. They have no choice but to eat it up bugs in all"
|
||||
"text_plain": "@alex you dont need to write tests when your community builds a social framework that flags people not using your software as bad people. They have no choice but to eat it up bugs in all"
|
||||
},
|
||||
"conversation_id": 1168229,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -933,7 +933,7 @@
|
|||
"in_reply_to_account_acct": "alex",
|
||||
"local": false,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -1140,7 +1140,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "At 10.72% test coverage, Soapbox FE now has 2x more than MastoFE, which only has 4.21%.Pleroma FE doesn't seem to report coverage, but I suspect it's better than both of these combined.I don't know how Mastodon got away with not writing tests for so long, but I feel like there could be an entire release dedicated only to going back and writing missing tests... jesus."
|
||||
"text_plain": "At 10.72% test coverage, Soapbox FE now has 2x more than MastoFE, which only has 4.21%.Pleroma FE doesn't seem to report coverage, but I suspect it's better than both of these combined.I don't know how Mastodon got away with not writing tests for so long, but I feel like there could be an entire release dedicated only to going back and writing missing tests... jesus."
|
||||
},
|
||||
"conversation_id": 1168229,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -1149,7 +1149,7 @@
|
|||
"in_reply_to_account_acct": null,
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -1316,7 +1316,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "@alex The first step to getting people to commit inhumane acts is to convince them that they are incapable of doing so."
|
||||
"text_plain": "@alex The first step to getting people to commit inhumane acts is to convince them that they are incapable of doing so."
|
||||
},
|
||||
"conversation_id": 1117237,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -1325,7 +1325,7 @@
|
|||
"in_reply_to_account_acct": "alex",
|
||||
"local": false,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -1532,7 +1532,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "Pleroma Recurring Donations update: looking into other solutions, possibly working from fosspay instead: https://git.pleroma.social/pleroma/pleroma/-/issues/1853#note_62881"
|
||||
"text_plain": "Pleroma Recurring Donations update: looking into other solutions, possibly working from fosspay instead: https://git.pleroma.social/pleroma/pleroma/-/issues/1853#note_62881"
|
||||
},
|
||||
"conversation_id": 1149840,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -1541,7 +1541,7 @@
|
|||
"in_reply_to_account_acct": null,
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -1714,7 +1714,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "@alex @crockwave well, the preliminary state of the issue is not \"no it's not happening\", but rather \" let's find a way to make this possible in the generic case\", so we'll see what can be done. I think a wrapper is definitely possible but also probably expensive to maintain."
|
||||
"text_plain": "@alex @crockwave well, the preliminary state of the issue is not \"no it's not happening\", but rather \" let's find a way to make this possible in the generic case\", so we'll see what can be done. I think a wrapper is definitely possible but also probably expensive to maintain."
|
||||
},
|
||||
"conversation_id": 1149840,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -1723,7 +1723,7 @@
|
|||
"in_reply_to_account_acct": "alex",
|
||||
"local": false,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -1971,7 +1971,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "@crockwave I think we can achieve both those things (funding goal on homepage, Patron badge) by exposing API endpoints from fosspay.I agree a wrapper service could provide many future benefits, but I've done that exact thing before (see: Mastodon Engine: https://gitlab.com/soapbox-pub/mastodon-engine ) and it was experimental, back-breaking, and required a DEEP understanding of the underlying tech. I just don't have the time or energy to dive that deep into Phoenix right now, especially not having a strong grasp of Elixir."
|
||||
"text_plain": "@crockwave I think we can achieve both those things (funding goal on homepage, Patron badge) by exposing API endpoints from fosspay.I agree a wrapper service could provide many future benefits, but I've done that exact thing before (see: Mastodon Engine: https://gitlab.com/soapbox-pub/mastodon-engine ) and it was experimental, back-breaking, and required a DEEP understanding of the underlying tech. I just don't have the time or energy to dive that deep into Phoenix right now, especially not having a strong grasp of Elixir."
|
||||
},
|
||||
"conversation_id": 1149840,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -1980,7 +1980,7 @@
|
|||
"in_reply_to_account_acct": "crockwave",
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -2188,7 +2188,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "Been feeling like I'm losing my mind a bit the past few days. I feel like I'm pushing heavy weights up a steep hill and it's never-ending. Can't wait to get to the top so I can sail down.Working on automated tests today."
|
||||
"text_plain": "Been feeling like I'm losing my mind a bit the past few days. I feel like I'm pushing heavy weights up a steep hill and it's never-ending. Can't wait to get to the top so I can sail down.Working on automated tests today."
|
||||
},
|
||||
"conversation_id": 1150963,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -2203,7 +2203,7 @@
|
|||
"in_reply_to_account_acct": null,
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -2438,7 +2438,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "@alex Can you create some automated test templates, then outsource the drudgerous portion of the effort to your support team?"
|
||||
"text_plain": "@alex Can you create some automated test templates, then outsource the drudgerous portion of the effort to your support team?"
|
||||
},
|
||||
"conversation_id": 1150963,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -2447,7 +2447,7 @@
|
|||
"in_reply_to_account_acct": "alex",
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -2640,7 +2640,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "@alex it's good to be thorough, and is useful if that code ever changes down the line."
|
||||
"text_plain": "@alex it's good to be thorough, and is useful if that code ever changes down the line."
|
||||
},
|
||||
"conversation_id": 1147390,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -2649,7 +2649,7 @@
|
|||
"in_reply_to_account_acct": "alex",
|
||||
"local": false,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -2834,7 +2834,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "@alex whatever you do: KEEP GOING ALMOST THERE YOU CAN DO IT!"
|
||||
"text_plain": "@alex whatever you do: KEEP GOING ALMOST THERE YOU CAN DO IT!"
|
||||
},
|
||||
"conversation_id": 1150963,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -2843,7 +2843,7 @@
|
|||
"in_reply_to_account_acct": "alex",
|
||||
"local": false,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -3063,7 +3063,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "Been feeling like I'm losing my mind a bit the past few days. I feel like I'm pushing heavy weights up a steep hill and it's never-ending. Can't wait to get to the top so I can sail down.Working on automated tests today."
|
||||
"text_plain": "Been feeling like I'm losing my mind a bit the past few days. I feel like I'm pushing heavy weights up a steep hill and it's never-ending. Can't wait to get to the top so I can sail down.Working on automated tests today."
|
||||
},
|
||||
"conversation_id": 1150963,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -3078,7 +3078,7 @@
|
|||
"in_reply_to_account_acct": null,
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -3271,7 +3271,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "@alex You're close to a finish line 🌈"
|
||||
"text_plain": "@alex You're close to a finish line 🌈"
|
||||
},
|
||||
"conversation_id": 1150963,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -3280,7 +3280,7 @@
|
|||
"in_reply_to_account_acct": "alex",
|
||||
"local": false,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -3515,7 +3515,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "@alex I think a wrapper service can provide many future benefits, if the complications are manageable. It would allow you to stay well ahead of the features development curve. There is also great value in displaying funding goals status on the home page. The Patron tag is also highly valuable from a social community standpoint."
|
||||
"text_plain": "@alex I think a wrapper service can provide many future benefits, if the complications are manageable. It would allow you to stay well ahead of the features development curve. There is also great value in displaying funding goals status on the home page. The Patron tag is also highly valuable from a social community standpoint."
|
||||
},
|
||||
"conversation_id": 1149840,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -3524,7 +3524,7 @@
|
|||
"in_reply_to_account_acct": "alex",
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -3765,7 +3765,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "Pleroma Recurring Donations update: looking into other solutions, possibly working from fosspay instead: https://git.pleroma.social/pleroma/pleroma/-/issues/1853#note_62881"
|
||||
"text_plain": "Pleroma Recurring Donations update: looking into other solutions, possibly working from fosspay instead: https://git.pleroma.social/pleroma/pleroma/-/issues/1853#note_62881"
|
||||
},
|
||||
"conversation_id": 1149840,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -3774,7 +3774,7 @@
|
|||
"in_reply_to_account_acct": null,
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -3995,7 +3995,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "@lain Yeah I have no clue what the reasoning was for that one. 😆 It's crazy how \"words\" are such an ongoing issue in FOSS.A seasoned programmer once told me she's had the deepest programming debates about \"naming things.\" It's true that names are important in programming, but at the end of the day it's just code."
|
||||
"text_plain": "@lain Yeah I have no clue what the reasoning was for that one. 😆 It's crazy how \"words\" are such an ongoing issue in FOSS.A seasoned programmer once told me she's had the deepest programming debates about \"naming things.\" It's true that names are important in programming, but at the end of the day it's just code."
|
||||
},
|
||||
"conversation_id": 1122858,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -4004,7 +4004,7 @@
|
|||
"in_reply_to_account_acct": "lain@lain.com",
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -4191,7 +4191,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "@alex @lain The Peter Principle has a chapter on this.The less significant the decision the more people feel qualified to have an opinion on it."
|
||||
"text_plain": "@alex @lain The Peter Principle has a chapter on this.The less significant the decision the more people feel qualified to have an opinion on it."
|
||||
},
|
||||
"conversation_id": 1122858,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -4200,7 +4200,7 @@
|
|||
"in_reply_to_account_acct": "alex",
|
||||
"local": false,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
@ -4431,7 +4431,7 @@
|
|||
"pinned": false,
|
||||
"pleroma": {
|
||||
"content": {
|
||||
"text/plain": "Pleroma Recurring Donations update: looking into other solutions, possibly working from fosspay instead: https://git.pleroma.social/pleroma/pleroma/-/issues/1853#note_62881"
|
||||
"text_plain": "Pleroma Recurring Donations update: looking into other solutions, possibly working from fosspay instead: https://git.pleroma.social/pleroma/pleroma/-/issues/1853#note_62881"
|
||||
},
|
||||
"conversation_id": 1149840,
|
||||
"direct_conversation_id": null,
|
||||
|
@ -4440,7 +4440,7 @@
|
|||
"in_reply_to_account_acct": null,
|
||||
"local": true,
|
||||
"spoiler_text": {
|
||||
"text/plain": ""
|
||||
"text_plain": ""
|
||||
},
|
||||
"thread_muted": false
|
||||
},
|
||||
|
|
|
@ -206,13 +206,13 @@ describe('notifications reducer', () => {
|
|||
expect(reducer(state, action)).toEqual(ImmutableMap({
|
||||
items: ImmutableList([
|
||||
ImmutableMap({
|
||||
id: '10744',
|
||||
type: 'pleroma:emoji_reaction',
|
||||
account: '9vMAje101ngtjlMj7w',
|
||||
created_at: '2020-06-10T02:54:39.000Z',
|
||||
id: '10743',
|
||||
type: 'favourite',
|
||||
account: '9v5c6xSEgAi3Zu1Lv6',
|
||||
created_at: '2020-06-10T02:51:05.000Z',
|
||||
status: '9vvNxoo5EFbbnfdXQu',
|
||||
emoji: '😢',
|
||||
is_seen: false,
|
||||
emoji: undefined,
|
||||
is_seen: true,
|
||||
}),
|
||||
]),
|
||||
top: false,
|
||||
|
@ -220,32 +220,39 @@ describe('notifications reducer', () => {
|
|||
}));
|
||||
});
|
||||
|
||||
it('should handle NOTIFICATIONS_UPDATE_QUEUE', () => {
|
||||
// it('should handle NOTIFICATIONS_UPDATE_QUEUE', () => {
|
||||
// const state = ImmutableMap({
|
||||
// items: ImmutableList(),
|
||||
// queuedNotifications: ImmutableList([ take(notifications, 1) ]),
|
||||
// totalQueuedNotificationsCount: 1,
|
||||
// });
|
||||
// const action = {
|
||||
// type: actions.NOTIFICATIONS_UPDATE_QUEUE,
|
||||
// notification: notification,
|
||||
// intlMessages: intlMessages,
|
||||
// intlLocale: 'en',
|
||||
// };
|
||||
// debugger;
|
||||
// expect(reducer(state, action)).toEqual(ImmutableMap({
|
||||
// items: ImmutableList([]),
|
||||
// queuedNotifications: ImmutableList([ take(notifications, 2), ImmutableMap( intlMessages ), 'en' ]),
|
||||
// totalQueuedNotificationsCount: 2,
|
||||
// }));
|
||||
// });
|
||||
|
||||
it('should handle NOTIFICATIONS_DEQUEUE', () => {
|
||||
const state = ImmutableMap({
|
||||
items: ImmutableList(),
|
||||
queuedNotifications: take(notifications, 3),
|
||||
totalQueuedNotificationsCount: 3,
|
||||
items: ImmutableList([]),
|
||||
queuedNotifications: take(notifications, 1),
|
||||
totalQueuedNotificationsCount: 1,
|
||||
});
|
||||
const action = {
|
||||
type: actions.NOTIFICATIONS_UPDATE_QUEUE,
|
||||
notification: notification,
|
||||
intlMessages: intlMessages,
|
||||
intlLocale: 'en',
|
||||
type: actions.NOTIFICATIONS_DEQUEUE,
|
||||
};
|
||||
expect(reducer(state, action)).toEqual(ImmutableMap({
|
||||
items: ImmutableList([
|
||||
ImmutableMap({
|
||||
id: '10744',
|
||||
type: 'pleroma:emoji_reaction',
|
||||
account: '9vMAje101ngtjlMj7w',
|
||||
created_at: '2020-06-10T02:54:39.000Z',
|
||||
status: '9vvNxoo5EFbbnfdXQu',
|
||||
emoji: '😢',
|
||||
is_seen: false,
|
||||
}),
|
||||
]),
|
||||
top: false,
|
||||
unread: 2,
|
||||
items: ImmutableList([]),
|
||||
queuedNotifications: ImmutableList([]),
|
||||
totalQueuedNotificationsCount: 0,
|
||||
}));
|
||||
});
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue