Git Product home page Git Product logo

cs50-wiki's Issues

Duplicate Content When Updating Entry

Duplicate Entry

When updating an entries that already exists, The prepopulated content duplicates itself on every submit. :sad:

I narrowed the problem down to textarea in encyclopedia/templates/create_edit_entry.html here.

This is sending multiple submission values and is causing mix signal on the server.
I also checked the server-side handler for saving the new content, and it's working as it should. πŸ‘

Testing the server came back 100% βœ… and everything seems to be fine there, so the duplicate entries are not saving incorrectly on the backendπŸ‘.

Fair enough,this is a simple πŸ”§ and I will take care of it and submit PR in the next commit.

Search returning random page

Search Issue

Whenever searching for and entry, the search returns takes me to a random page.
For example if I search for "s", I'm redirected to "Python" entry page.

This is not the correct behavior for searches, instead this should be the decision tree for searches.

  • When a user enters any character that's part of an available entry, they should be redirect to the index page containing all the available matches from search.
  • When the user types in the exact match of an available entry, they should be redirect to that exact page
  • When no matches are found, the user should be redirect to notFound page

Mobile enhancement for wiki

This enhancement/issue is regarding to Wiki mobile layouts

Wiki website layout is not properly responding to mobile device.

Here are some issues regarding mobile devices

  • The sidebar take up the full mobile height in portrait mode on the landing page.
  • The navigation list A-Z is cut off, resulting in users having to manually scroll to view index from N-Z
  • Navigation button jumps when editing or creating entry causing screen to move when insert content for entry (Only in portrait mode)

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.