line / line/centraldogma

Redirect an old URL for Git file viewer to new UI

Open
#985 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

improvement
Dominant language
Java
Stars
668
Forks
135
Avg merge
4d 19h
Merged PRs (30d)
7

Description

The URL patterns for UI have been changed for the new web application.

It would be nicer if we could provide automatic redirection for some patterns.

Good candidates:

- Old) `https://dogma.com/#/projects/{project}/repos/{repo}/files/head/{file}`
New) `https://dogma.com/app/projects/{project}/repos/{repo}/files/head/{file}`
- Old) `https://dogma.com/#/projects/{project}`
New) `https://dogma.com/app/projects/{project}/`
- Old) `https://dogma.com/#/metadata/{project}`
New) `https://dogma.com/app/projects/{project}/settings/`

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 locating the web application's URL routing entry point and compare the three old hash-based patterns with their listed /app destinations. Verify redirects for the file viewer, project, and metadata URLs, including their project and file placeholders; done means each old URL reaches the corresponding new UI route.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
frontend
Issue type
Feature
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.