Updating admin panel to control academix backend operations

Need to update the admin dashboard to have the functionalities to operate data entry part of the academix project.

1 Like

This is the sketch I made on add item view,


when we click on Add Item it redirects to update item view.

When we click on + sign on translations this pops up

1 Like

This is the way that I understood how it should function.
@jaye @Gimhan_minion Can you add your suggestions?

Nicely done @Gravewalker

A minor change:
When user clicks on the plus button there should be a dropdown to select a language. After choosing the language it should add new two fields to the same view. Add a remove button. So the users can remove the translation if they need.

But, no need to focus on translations at this moment as we discussed.

1 Like

For now I will build the first view and send the PR btw I forgot everything about the real thing, this should change like this.

1 Like

Awesome! Better if you could move the subcategory selection to the top. Also, keep in mind it is multiple selections. Better if you could display the category name along with the subcategory too to avoid confusion.

Example:

In order to do that I think these changes should be done on the backend.

  1. I saw the subcategory has JsonIgnored the category object. You need to remove that. (Currently, it has been ignored in both directions. It should ignore only in one direction)
  2. You need an API to get all subcategories.
1 Like

Yeah we need those changes in the backend

1 Like

Code review on add item view

Held on: 2020-06-14T14:30:00Z
Attendees: @Gravewalker @jaye @anjisvj
Description: Developed this UI on the admin dashboard to add a new item.


Notes:
Following suggestions were made on the UI of the add item form

  1. Change the select subcategory button into a drop-down menu
  2. Change the file structure

Had a discussion on the file structure and came into a conclusion to change the current structure to a more optimum one.
Had a discussion on the necessary endpoints that need to make this admin dashboard. Needed APIs are,

  1. LIst all the items, sub-categories
  2. Update the sub-categories endpoint to return the category of the particular sub-category
  3. Get item by id
2 Likes

Thanks @Gravewalker!

Please follow this structure for the code reviews.

Held on:
Description:
Attendees:
Notes:
Next Steps: (optional)

1 Like

Implemented the above UI