cityofaustin / cityofaustin/techstack

Redirect users away from joplin's admin/pages

Open
#3,854 1 comment 0 reactions 0 assignees View on GitHub
Joplin Alpha P5 Team: Dev
Dominant language
No language data
Stars
11
Forks
3
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug

If you visit https://joplin.herokuapp.com/admin/pages/ you see this view:
![Screen Shot 2020-01-28 at 12.35.00 PM.png](https://images.zenhubusercontent.com/5d94ec32d5b3be000146f82d/972e7c83-76c2-42ae-b89d-c8477e61075c)
Which isn't accurate. How did I get to this page you may wonder? I deleted the page I was editing out of the url,
(`admin/pages/280/edit/#tab-content`, removing `280/edit` for example) and got to this view. We should hide this from everyone. Redirect it to the search view?

## URL

## To Reproduce
Steps to reproduce the behavior
example:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

## Current behavior
A clear and concise description of what happened

## Expected behavior
Don't show a view that is confusing or misleading. Redirect to a correct view.

## Screenshots
see above

## Device and browser

## Additional context

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the /admin/pages/ URL and the shortened admin/pages/280/edit/ URL described in the issue. Trace the entry point that serves the admin pages view and confirm the appropriate search destination; done means the misleading view is no longer shown and the redirect is covered by a relevant test if one exists.

Written by the indexing model from the issue text.

Assessment

Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.