Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Preview Edit Links #81

Open
petrsvihlik opened this issue May 22, 2018 · 7 comments
Open

Add Preview Edit Links #81

petrsvihlik opened this issue May 22, 2018 · 7 comments
Assignees
Labels
blocked enhancement groomed The issue has been groomed and should be in a good shape. help wanted up-for-grabs

Comments

@petrsvihlik
Copy link
Contributor

petrsvihlik commented May 22, 2018

Kentico Kontent admin UI now supports navigating to specific content items via URLs in a certain format.

The goal of this task is to enrich the markup of this sample application with the links.

Suggested approach:

Blocked by: https://github.com/Kentico/kontent-delivery-sdk-js/issues/52

Motivation

We want to present to our customers an example of this feature – how they can use that

Solution

When
I open About Us preview
Then
I see enabled "Edit mode" in the fixed bar on the bottom of the page
And
I am able to click on each element from the page About Us

When
I open About Us preview
Then
I see the link "Open in KC" in the fixed bar on the bottom of the page
And
I am able to click on it

When
I click on toggle button Edit mode
Then
Edit mode is turned off
And
I am able to preview page without distraction - only the fixed bar is presented

Design notes

  • Do not show button for menu/navigation,Language selector, Dancing goat heading
  • For Text element – show edit button next to the element (on the right)
  • For Richt text element (and others) – show edit button in the center of the element
  • While in Edit mode, I am able to click anywhere on the element (not just on the button) to be redirected to KC
  • When I hover over the element, the button should be in hover state
@petrsvihlik petrsvihlik changed the title Preview Edit Links Add Preview Edit Links Aug 20, 2018
@petrsvihlik petrsvihlik added the groomed The issue has been groomed and should be in a good shape. label Aug 20, 2018
@leniquenoralez
Copy link

I can work on this.

@Simply007
Copy link
Contributor

Hello @leniquenoralez, I've just sent you an invitation to the project. If you accept it, I'll be able to assign the issue to you.

Currently there is no support for generating links in javascript SDK (kontent-ai/delivery-sdk-js#29), so it is required to implement the Preview edit links generation in an application.

It would be great to implement this functionality similarily as it is in content management SDK for .net:
https://github.com/Kentico/content-management-sdk-net/pull/8/files (EditLinkBuilder class) to be able to use the code in the SDK in the future.

There is the documentation fot the preview edit links.
https://developer.kenticocloud.com/docs/implementing-a-preview-edit-button

If you have any questions, feel free to ask!

@petrsvihlik
Copy link
Contributor Author

unassigning due to inactivity

@web20opensource
Copy link

HI, is this project still alive ?

@petrsvihlik
Copy link
Contributor Author

Hey @web20opensource , absolutely. This sample project is being updated along with releases of new features in Kentico Cloud.

@PetrSvirak
Copy link

Please, note kontent-ai/sample-app-net#130

@kentico-michaelb kentico-michaelb self-assigned this Aug 26, 2021
@Manishgupta200
Copy link

I would like to work on it. Please assign it to me

@IvanKiral IvanKiral removed this from To do in Kentico Academy Jul 25, 2022
@nkooman nkooman mentioned this issue Sep 5, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement groomed The issue has been groomed and should be in a good shape. help wanted up-for-grabs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants