Problem/Motivation

Currently links saved as link_id: link_id (Refer screenshot below). This is related to #1928082: Make usage of book.settings:allowed_types consistent
1964588-3.png

Proposed resolution

Fix the way saving links. So saved as "- link_id".

Comments

vijaycs85’s picture

Status: Active » Needs review
StatusFileSize
new1.27 KB

Issuing patch...

jair’s picture

Issue tags: +Needs reroll
deveshpal’s picture

StatusFileSize
new3.74 KB

Rerolled the patch and attached the updated patch file..

star-szr’s picture

Status: Needs review » Needs work

Hm, I think this code must have moved - the rerolled patch adds an entirely new class. Needs another look.

tim bozeman’s picture

Assigned: Unassigned » tim bozeman

I shall try.

tim bozeman’s picture

Assigned: tim bozeman » Unassigned
Status: Needs work » Needs review
Issue tags: -Needs reroll
StatusFileSize
new1.62 KB
new68.38 KB

Tada!
tada.png
I rerolled the patch from #1 because the preSave function moved from ShortcutSetStorageController.php to ShortcutSet.php

tim bozeman’s picture

StatusFileSize
new1.58 KB

Whoops. Removed a commented out line from #6.

tim bozeman’s picture

Stale? Patch no longer apply's.

tim bozeman’s picture

Status: Needs review » Needs work
swentel’s picture

Status: Needs work » Needs review
StatusFileSize
new1.6 KB
tim bozeman’s picture

StatusFileSize
new10.33 KB

Patch #10 apply's and makes the links save as - 01234567890
Selection_015.png
10++

heddn’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new16.16 KB

It works.
shortcut-links.png

amateescu’s picture

The 'links' property of shortcut sets is going away entirely in #2021779: Decouple shortcuts from menu links, would you mind postponing on that a bit?

vijaycs85’s picture

I agree with @amateescu that we are fixing something that is going to be removed in nearby future. +1 to postponed or closed(won't fix).

amateescu’s picture

Status: Reviewed & tested by the community » Postponed

Ok then, let's take the cautios step first, just in case that issue doesn't make it.

wim leers’s picture

Issue summary: View changes
Status: Postponed » Closed (works as designed)

This is now irrelevant indeed. Let's put this issue to rest.