Create questions for another user

Aberta
#1,184 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 6 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
30/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
go
Domínio
api, backend

Direção de pesquisa

Nenhum arquivo ou teste é especificado. Comece revisando a API existente de criação de perguntas e o caminho de autorização para ações administrativas; o trabalho estaria concluído com um escopo definido e testes cobrindo o workflow escolhido, incluindo quem pode criar uma pergunta para outro usuário.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

new-feature

Hello everyone. This is my first issue in this project.

Is your feature request related to a problem? Please describe

We use a cloud-hosted Answer instance. It's common that some possible users do not even know the app and use another channel to ask something, like an issue in a project, for example, or just think something is a bug while it's not. We need a quick way to do a soft move, without forcing the user to rewrite everything.

Describe the solution you'd like

I think best experience for user would be having an admin endpoint to create the question as another user. So we can use it in workflows. It's already possible to have a user to create the question using the API, but it should be the asking user because he'll choose the right answer.

Describe alternatives you've considered

A simpler feature may be fill the new question form with query parameters, like "http://my-instance/questions/ask?title=Test%20Title&description=My%20%test%description&tags=mytag1,mytag2. This is a good feature in GitLab and GitHub while opening issues.

I can work in the solution if needed.

Linguagem predominante
Go
Estrelas
15.7k
Forks
1.4k
Merge médio
9d 6h
PRs com merge (30d)
8

Preparar o ambiente

  • Inclui um Dockerfile ou arquivo Docker Compose
  • Tem um modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de apache/answer

Todas as issues de apache/answer

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.