Reads are disabled, although my Micropub server advertises support #410

Open
opened 2020-11-01 19:04:51 +01:00 by jamietanna · 3 comments
jamietanna commented 2020-11-01 19:04:51 +01:00 (Migrated from github.com)

Describe the bug

When enabling the setting Hide post types, the ability to post a read is disabled.

To Reproduce

See additional context for q=config responses.

Expected behavior

Publishing reads would be possible.

Screenshots
N/A

Smartphone (please complete the following information):

  • Device: Pixel
  • Android version: 3A

Additional context

I have tried with the following in my q=config:

{
  "post-types": [
    {
      "h": "entry",
      "name": "Reading",
      "properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "required-properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "type": "read"
    },
  ]
}

And

{
  "post-types": [
    {
      "h": "entry",
      "name": "Reading",
      "properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "required-properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "type": "reads"
    },
  ]
}

But neither work 🤔 Happy to be told there's a different type we're using!

**Describe the bug** When enabling the setting `Hide post types`, the ability to post a read is disabled. **To Reproduce** See additional context for `q=config` responses. **Expected behavior** Publishing reads would be possible. **Screenshots** N/A **Smartphone (please complete the following information):** - Device: Pixel - Android version: 3A **Additional context** I have tried with the following in my `q=config`: ```json { "post-types": [ { "h": "entry", "name": "Reading", "properties": [ "published", "read-of", "read-status" ], "required-properties": [ "published", "read-of", "read-status" ], "type": "read" }, ] } ``` And ```json { "post-types": [ { "h": "entry", "name": "Reading", "properties": [ "published", "read-of", "read-status" ], "required-properties": [ "published", "read-of", "read-status" ], "type": "reads" }, ] } ``` But neither work :thinking: Happy to be told there's a different `type` we're using!
swentel commented 2020-11-01 19:57:40 +01:00 (Migrated from github.com)

Type should be "read" so the first one should be fine normally. I'm assuming you refreshed the configuration as well in Indigenous?

This is about the main menu right? Wanted to check that, because there's also a 'read' configuration option for the reader (as there's such a close difference to bookmark too, I made those responses for every item optional, and response types do not care about the post-types variable (yet)).

Type should be "read" so the first one should be fine normally. I'm assuming you refreshed the configuration as well in Indigenous? This is about the main menu right? Wanted to check that, because there's also a 'read' configuration option for the reader (as there's such a close difference to bookmark too, I made those responses for every item optional, and response types do not care about the post-types variable (yet)).
jamietanna commented 2020-11-01 21:50:57 +01:00 (Migrated from github.com)

Yep, I've just retried it, making sure to refresh config, and it still doesn't show up.

Yep, this is from the main menu's Write option

Yep, I've just retried it, making sure to refresh config, and it still doesn't show up. Yep, this is from the main menu's `Write` option
swentel commented 2020-11-01 22:29:37 +01:00 (Migrated from github.com)

Just tried it with my micropub server adding 'read', and it showed up in the Write section (after a restart of indigenous too, that' something I need to fix). When I disabled it again on my server, refreshed config, it was gone again too.

So not clue why this is broken. Apart from maybe the fact that you already run Android 11? If so, I'll have to test with an emulator as I'm still on 9.

Just tried it with my micropub server adding 'read', and it showed up in the Write section (after a restart of indigenous too, that' something I need to fix). When I disabled it again on my server, refreshed config, it was gone again too. So not clue why this is broken. Apart from maybe the fact that you already run Android 11? If so, I'll have to test with an emulator as I'm still on 9.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
inhji/indiepass-android#410
No description provided.