Problem/Motivation

On the /admin/config/services/mastodon/push-status and /admin/config/mastodon/mastodon_api_entity/add forms it is annoying to have to select the instance you want when there is only one instance present.

Steps to reproduce

Install module.
Create a single instance.
Head to the aforementioned forms and witness the "The instance to push to" select elements.

Proposed resolution

Auto select the instance if only one is present. Don't disable the form or anything, just auto select.

Remaining tasks

Write a test.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

philipnorton42 created an issue. See original summary.

  • philipnorton42 committed 2c7adf9c on 1.0.x
    feat: #3586993 Automatically select if only one instance is present
    
philipnorton42’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

philipnorton42’s picture

Status: Fixed » Closed (fixed)