# Updating the AcadeMix Admin panel

**URL:** <https://sef.discourse.group/t/updating-the-academix-admin-panel/131>\
**Category:** Development\
**Created:** [July 6, 2020, 3:02am UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131 "2020-07-06T03:02:51Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [July 6, 2020, 3:02am UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/1 "2020-07-06T03:02:51Z")

</div>

We need to update the admin panel with the new functionalities for the Academix. Here are the main requirements : -

1. Categories

- Show all the categories in a table
- Component to edit the category
- Component to add categories

1. Subcategories

- Once a category clicked it will go to a new page and list all the subcategories for that category
- Component to edit the subcategory
- Component to add subcategories

1. Items

- Once a subcategory clicked it will go to a new page and list all the items for that subcategory
- Component to edit the item
- Component to add items

# Here’s the timeline for Updating the admin panel

> **[Academix Admin Panel](https://docs.google.com/spreadsheets/d/1udcia5Xmbx5jX6L60Xy2RY2upd9iBlRQuI5gdXv3LUs/edit?usp=sharing)**
>
> Timeline
> 
> 
> Total,760,Completed,Remaining
> Completed,0,0.00%,100.00%
> Task,Weight,Status,Deadlines,Assignee 
> Create a view for Categories,80,Not Yet,2020-07-07,0
> Create a view for SubCategories inside Categories ,100,Not Yet,2020-07-08,0
> Create a view...

---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [July 6, 2020, 3:08am UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/2 "2020-07-06T03:08:06Z")

</div>



---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [July 6, 2020, 10:11am UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/3 "2020-07-06T10:11:35Z")

</div>



---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [July 6, 2020, 2:15pm UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/4 "2020-07-06T14:15:20Z")

</div>

@jaye @Gimhan_minion @Gravewalker @piumal1999 Let me know your thoughts.

---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [July 7, 2020, 5:45am UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/5 "2020-07-07T05:45:12Z")

</div>

Here’s the PR for phase one: creating views for categories, subcategories, items.  
Next step: creating components to add categories, subcategories

> <https://github.com/sef-global/sef-core/pull/65>

  
 ![phase](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/cfa89931836f026f4f973367d58480723264fdc4.gif)

---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [July 7, 2020, 3:47pm UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/6 "2020-07-07T15:47:58Z")

</div>

Here’s the PR for “Adding subcategories”,

> <https://github.com/sef-global/sef-core/pull/67>

  
 ![sub](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/b2fc9a525d261642bcc1951877162f1da64e1774.gif)

---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [July 8, 2020, 5:35am UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/7 "2020-07-08T05:35:59Z")

</div>

Here’s the thread for design forum for Academix:

> [@Design Forum: Updating AcadeMix admin panel](https://sef.discourse.group/t/design-forum-academix-admin-panel/133):
>
> We need to discuss about few endpoints that we need to use to edit Categories, Subcategories, Items. Since this is a basic requirement that we need in Academix Admin Dashboard we need to update current endpoints. We need to be able to change the category when editing the subcategories Who: @YohanAvishke@jaye @piumal1999 @anjisvj @Gravewalker@Gimhan_minion Where: Google meet: [meet.google.com/aua-dmck-hgp](http://meet.google.com/aua-dmck-hgp) When: 2020-07-08T11:30:00Z (UTC) → 2020-07-08T12:15:00Z (UTC) [poll](https://sef.discourse.group/t/design-forum-updating-academix-admin-panel/133/1)

---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [July 12, 2020, 12:03pm UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/8 "2020-07-12T12:03:56Z")

</div>

I added the delete options for categories, subcategories, and items.

> <https://github.com/sef-global/sef-core/pull/72>

  
 ![Kapture 2020-07-12 at 21.20.49](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/7b2e45450195d1c12962ab33e0a6aaac929ada11.gif)

---

<div class="post-metadata">

**Author:** ![jaye](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/jaye/32/810_2.png) [@jaye](https://sef.discourse.group/u/jaye)\
**Post date:** [July 14, 2020, 4:02pm UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/9 "2020-07-14T16:02:47Z")

</div>

Nicely done @anjisvj! 😍

---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [July 18, 2020, 6:06am UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/10 "2020-07-18T06:06:16Z")

</div>

Here’s the PR for edit subcategories:

> <https://github.com/sef-global/sef-core/pull/78>

---

<div class="post-metadata">

**Author:** ![Gravewalker](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/gravewalker/32/12_2.png) [@Gravewalker](https://sef.discourse.group/u/Gravewalker)\
**Post date:** [July 18, 2020, 8:51am UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/11 "2020-07-18T08:51:21Z")

</div>

PR to edit categories

> <https://github.com/sef-global/sef-core/pull/81>

---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [July 19, 2020, 2:31am UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/12 "2020-07-19T02:31:36Z")

</div>

As the final step of Updating AcadeMix Admin panel, I just added the edit item PR. Once these PR’s are merged we have finished all the tasks.

> <https://github.com/sef-global/sef-core/pull/83>

  
 ![Kapture 2020-07-18 at 22.16.22](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/589e906bc99e57af3ce36f65a5392f0bc5ff2c5e.gif)

---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [July 20, 2020, 12:35pm UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/13 "2020-07-20T12:35:11Z")

</div>

I added a breadcrumb to the page now we can navigate through the site easily.

> <https://github.com/sef-global/sef-core/pull/85>

  
 ![Kapture 2020-07-20 at 17.53.47](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/5e6a921176cac1068059353ec4d62619be50e532.gif)

---

<div class="post-metadata">

**Author:** ![piumal1999](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/piumal1999/32/274_2.png) [@piumal1999](https://sef.discourse.group/u/piumal1999)\
**Post date:** [July 23, 2020, 5:33pm UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/14 "2020-07-23T17:33:04Z")

</div>

There was an error with updating categories(categories PUT request). Fixed it with this PR.  
Please review and merge

> <https://github.com/sef-global/sef-core/pull/91>

---

<div class="post-metadata">

**Author:** ![piumal1999](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/piumal1999/32/274_2.png) [@piumal1999](https://sef.discourse.group/u/piumal1999)\
**Post date:** [July 24, 2020, 11:00am UTC](https://sef.discourse.group/t/updating-the-academix-admin-panel/131/15 "2020-07-24T11:00:05Z")

</div>

Fixed the issue with delete mapping.  
Removed the cascade types and rewrote the deleting methods

> <https://github.com/sef-global/sef-core/pull/93>

  
Please review and merge
