Giter VIP home page Giter VIP logo

Comments (3)

sbruggmann avatar sbruggmann commented on June 3, 2024 1

Sounds like the way to go!
Just one addition: One big UX improvement would be to hide automatically generated redirects in the default view (#10 (comment))

from redirecthandler-ui.

Sebobo avatar Sebobo commented on June 3, 2024

I propose the following (which we shortly discussed during the Dresden sprint):

For creating a new redirect we do something like a little wizard.

Option 1 is they want to create a non-redirect status (like 404):

  1. User selects a non-redirect status type(from a dropdown).
  2. We only show the source url and the confirmation button says "Set status".
  3. We check if the source url is a page/resource and go back to step 2 with a warning.
  4. We store the new redirect and show a success message and the updated list.

Option 2 is they want to create a redirect (like 301):

  1. User selects a redirect status type (from a dropdown)
  2. We show the source and target url fields.
  3. We do checks whether the source url is an existing page/resource and go back to step 2 and show a warning if that's the case (as the redirect wouldn't work).
  4. We check whether an existing redirect with the same source url exists and go back to step 2 with a warning.
  5. We check whether the target url actually exits and go back to step 2 with a warning if not.
  6. We store the new redirect and show a success message and the updated list.

The idea is based on some discussion and diagrams I had with the friends from Yoast and how they do it in Wordpress.

from redirecthandler-ui.

Sebobo avatar Sebobo commented on June 3, 2024

@mficzel @sbruggmann you can chime in with your ideas :)

from redirecthandler-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.