Legacy web pages to be migrated
ikhoon opened this issue · comments
- Login:
/web/auth/login
- Logout:
/web/auth/logout
- List of projects:
/#/projects
- Project detail:
/#/projects/{project-name}
- New project:
/#/new_project
- Project metadata:
/#/metadata/{project-name}
- New repository:
/#/projects/{project-name}/new_repo
- Repository file viewer:
/#/projects/{project-name}/repos/{repository-name}
- Repository history:
/#/projects/{project-name}/repos/{repository-name}/history/head/
- Repository revision:
/#/projects/{project-name}/repos/{repository-name}/list/{revision-number}/
- Add a new file:
/#/projects/{project-name}/repos/{repository-name}/new_file/head/
- Delete a file:
/#/projects/{project-name}/repos/{repository-name}/files/head/{file-name}
- Query a JSON file:
/#/projects/{project-name}/repos/{repository-name}/query/head/{file-name.json}
- Repository metadata:
/#/metadata/bar-project/bar-repository
- New token:
/#/settings/tokens
- List of tokens:
/#/settings/tokens
The logout page could be replaced with the login page or simply add a blank page with a message. Apart from the logout page, all pages have been migrated to the new webapp. https://github.com/line/centraldogma/milestone/93
30+ PRs have been merged. The new webapp supports:
- Ability to toggle Dark and light mode
- Lazy loading with Next.js router
- Modern editor with https://microsoft.github.io/monaco-editor/
- Quick jump to a project with the global search bar
- Searchable token input
- Relative time for history
- Project, repository and history pagination
- Improved UX for every single page
- Support for breadcrumb that would be useful to go a parent directory or a project
- API and CLI URL can be copied to the clipboard with a button click. Special thanks to @clavinjune
- ...
It is likely that the migration issue for the old UI has been finished. Without @rainy789's support, we wouldn't have completed that. 😅 🙇♂️ ❤️
The new UI will be released after adding a new UI for Git mirroring and handling the CORS issue #754.