nextcloud / nextcloud/polls

Use poll title in html title instead of "Nextcloud"

Open Beginner friendly
#4,874 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new
Dominant language
JavaScript
Stars
284
Forks
91
Avg merge
4d 3h
Merged PRs (30d)
50

Description

⚠️ This issue respects the following points: ⚠️
Describe the goal you'd like to achieve

As a poll owner, I want to share public links with meaningful title, because it helps to make people vote.

When I share public links in messenger like Signal, there is currently no meaningful title showing:

Image

I would like to show the poll title. For example, nuudel is doing that:

Image
Describe possible solutions

I guess, the problem is the HTML title (head->meta->title). In the poll link (e.g. https://cloud.fg9.eu/index.php/apps/polls/s/d6LS3sOV ) the HTML title is just "Nextcloud". (As example Nuudel uses the poll title, see here: https://nuudel.digitalcourage.de/DC9H7MrXtmkakmIg )

Could you also use the poll title as the HTML title?

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the public poll link shown in the issue and inspect how its HTML head title is produced. Change the title shown for a public poll to use that poll's title instead of "Nextcloud". Verify the result by opening a shared poll link and checking its page title or link preview.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.