Add Backlink #174

Open
wants to merge 8 commits into
from

Projects

None yet

2 participants

@suzuki
Member
suzuki commented Feb 1, 2017 edited

Overview

  • Added Backlink

Features

  • Add Backlink data when Page was created or edited.
    • And remove a backlink when the link deleted from the page.
  • Show Backlink list when Page has links.
  • I don't have a plan to migrate already exists pages.

Flow

Create data

  1. Users create or edit page.
  2. Detect page links to own Crowi
    • Using config.crowi['app:url'] config
    • Support these link patterns:
      • </path/to/page>
      • [PAGE_NAME](APP_URL/path/to/page)
      • APP_URL/path/to/page
  3. Create Backlink data

View data

  1. Open page
  2. React Component call to Backlink API
  3. If the page has backlinks, show it.

Screenshot

_2017-02-01_22_41_11

@sotarok sotarok temporarily deployed to crowi-dev-pr-174 Feb 1, 2017 Inactive
@sotarok sotarok temporarily deployed to crowi-dev-pr-174 Feb 1, 2017 Inactive
@sotarok sotarok added this to the v1.7.0 milestone Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment