plone / plone/mockup

use `plone.types_use_view_action_in_listings` registry setting for toolbar `view` action

Open
#1,385 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
57
Forks
103
Avg merge
10h 25m
Merged PRs (30d)
18

Description

If you view a content_type which is in plone.types_use_view_action_in_listings and click in the Toolbar on View action, the object url should be enhanced with /view at the end ... for example when viewing a File and clicking on View it gets downloaded (https://classic.demo.plone.org/en/demo/penguin.mp4/view)

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 by tracing the toolbar's View action and how it reads the plone.types_use_view_action_in_listings registry setting. Verify the behavior with a listed content type such as File; done means the View action produces an object URL ending in /view, allowing the file to be viewed rather than downloaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.