MLH-Fellowship / orientation-project-js

0 stars 0 forks source link

Reorder a specific section #5

Open wrussell1999 opened 1 year ago

wrussell1999 commented 1 year ago

Add functionality for users to drag up or down the individual items inside of one the sections (e.g. change the order of the Experiences on the page).

When these are updated, a request should be sent to the server to update them inside of the list. Fellows should collaborate with fellows contributing to the Python project to agree a standard format. The same issue for the server can be found here: https://github.com/MLH-Fellowship/orientation-project-python/issues/11

andyjianzhou commented 2 months ago

Hey all! Who else is assigned here?

Lets discuss about the format of how the re-ordering should look like.

Are we:

  1. Re-ordering the categories ONLY
  2. Re-ordering the categories + information (Making a filter e.g: based on date and time)
  3. Both?

Let me know!

Depending on how we want to re-order categories/individual categories. I was think we pass a dynamic route like so:

/resume/reorder/<section>

Where section is either, experience, skills, or education.

Payload should look something like:

Payload: {"order": [3, 1, 2]}  # Where the numbers are the specific id's that the user presses on/wants to reformat. (Think abt it like a database). 

Thoughts?