Project

General

Profile

Actions

개선(improvement) #307

closed

[Improvement] Replace orders of list - add Drag/Drop

Added by ziniy Kang 10 months ago. Updated 9 months ago.

Status:
완료성공(Resolve)
Priority:
높음(High)
Assignee:
Start date:
05/22/2025
Due date:
05/28/2025
% Done:

100%

Estimated time:
40.00 h
Spent time:
Part:
Build env.:
Prod

Description

Notion: https://www.notion.so/traport/Improvement-Replace-orders-of-list-Product-Group-and-Product-List-on-Event-Deals-menu-1b993412093e8037ad96eb9db1acf2be?pvs=4

Description:
1. The ability to change the order with drag and drop should only be applied within the same city. Items within the same city can only be changed.
2. If you change the order by drag and drop and save it, it means that the same order will be applied to the B2C site as well.
If you swap the positions of product 1 and product 2 in the admin, it will appear in the 2-1 order in the admin, and the B2C site will also show the 2-1 order.

Script update ranking_order product hotel:

UPDATE BS_EVENT_PRODUCT ep
JOIN (
    SELECT 
        PRODUCT_CODE,
        EVENT_MASTER_SEQ,
        ROW_NUMBER() OVER (
            PARTITION BY EVENT_CITY_GROUP_SEQ 
            ORDER BY RANKING_ORDER
        ) AS new_rank
    FROM BS_EVENT_PRODUCT
) ranked ON ep.PRODUCT_CODE = ranked.PRODUCT_CODE
AND ep.EVENT_MASTER_SEQ = ranked.EVENT_MASTER_SEQ
SET ep.RANKING_ORDER = ranked.new_rank;

Script update ranking_order product group hotel:

UPDATE BS_EVENT_CITY_GROUP ep
JOIN (
    SELECT 
        EVENT_CITY_GROUP_SEQ,
        EVENT_MASTER_SEQ,
        ROW_NUMBER() OVER (
            PARTITION BY EVENT_MASTER_SEQ
            ORDER BY RANKING_ORDER
        ) AS new_rank
    FROM BS_EVENT_CITY_GROUP
) ranked ON ep.EVENT_MASTER_SEQ = ranked.EVENT_MASTER_SEQ
AND ep.EVENT_CITY_GROUP_SEQ = ranked.EVENT_CITY_GROUP_SEQ
SET ep.RANKING_ORDER = ranked.new_rank;


Files

picture779-1.png (189 KB) picture779-1.png ziniy Kang, 05/20/2025 07:09 AM
Actions #1

Updated by Joseph Vo 10 months ago

  • Assignee changed from Joseph Vo to John Lee
  • Priority changed from 높음(High) to 보통(Normal)

ziniy Kang is this task High Priority? We can use the input order number instead.

I already changed the priority to normal.

John Lee please proceed this task after you finish your current tasks

Actions #2

Updated by ziniy Kang 10 months ago

  • Priority changed from 보통(Normal) to 높음(High)
Actions #3

Updated by ziniy Kang 10 months ago

Yes, the task was processed with High priority.
This issue was originally requested by the marketing team a while ago.
They mentioned that the overall development has been completed, except for the Drag & Drop part, which is still pending.

Actions #4

Updated by John Lee 10 months ago

  • Due date set to 05/25/2025
  • Status changed from 신규(New) to 진행(Doing)
  • Start date set to 05/22/2025
  • Estimated time set to 16.00 h
Actions #5

Updated by John Lee 10 months ago

  • Assignee changed from John Lee to ziniy Kang

hi c ziniy Kang , please help me add description or figma for B2C frontpages follow above requirement

Actions #6

Updated by John Lee 10 months ago

  • Assignee changed from ziniy Kang to John Lee
Actions #7

Updated by ziniy Kang 10 months ago

Tại trang Event & Deals, Product Group và Product List cần có chức năng kéo và thả (drag & drop) để thay đổi thứ tự.
Thứ tự sau khi sắp xếp này phải được áp dụng cho danh sách khách sạn trong trang promotion tương ứng.

On the Event & Deals page, the Product Group and Product List should support drag-and-drop to change the order.
The updated order must be reflected in the hotel list on the corresponding promotion page.

Event & Deals 페이지에 Product Group과 Product List 가 드래그 앤 드롭으로 순서 변경이 가능하고, 이 내용이 기획전 호텔 리스트에 적용이 되어야 한다는 것입니다.

Actions #8

Updated by John Lee 10 months ago

  • Description updated (diff)
Actions #9

Updated by John Lee 10 months ago

  • Due date changed from 05/25/2025 to 05/28/2025
  • Estimated time changed from 16.00 h to 40.00 h

Extend estimated time for this task due to complexity

Actions #10

Updated by John Lee 9 months ago

  • Description updated (diff)
Actions #11

Updated by John Lee 9 months ago

  • Description updated (diff)
Actions #12

Updated by John Lee 9 months ago

  • Status changed from 진행(Doing) to 완료(Done)
  • % Done changed from 0 to 100
Actions #13

Updated by John Lee 9 months ago

  • Status changed from 완료(Done) to 피드백(Feedback)
Actions #14

Updated by John Lee 9 months ago

  • Assignee changed from John Lee to ziniy Kang
  • Build env. set to Dev

Hi c ziniy Kang, this task is reflected on dev now. Please help me verify it. Thank you!

Actions #15

Updated by ziniy Kang 9 months ago

  • Assignee changed from ziniy Kang to John Lee

Dev test done.

Actions #16

Updated by John Lee 9 months ago

  • Description updated (diff)
  • Assignee changed from John Lee to ziniy Kang

Hi c ziniy Kang, this task is reflected on staging now. Please help me verify it. Thank you!

Actions #17

Updated by ziniy Kang 9 months ago

  • Assignee changed from ziniy Kang to John Lee
  • Build env. changed from Dev to Staging

STG test done.

Actions #18

Updated by ziniy Kang 9 months ago

  • Status changed from 피드백(Feedback) to 완료(Done)

need to built in prod at 2025/06/05.

Actions #19

Updated by John Lee 9 months ago

  • Status changed from 완료(Done) to 피드백(Feedback)
  • Assignee changed from John Lee to ziniy Kang
  • Build env. changed from Staging to Prod
Actions #20

Updated by John Lee 9 months ago

  • Status changed from 피드백(Feedback) to 완료(Done)

Alica verify on prod env done.

Actions #21

Updated by ziniy Kang 9 months ago

  • Status changed from 완료(Done) to 완료성공(Resolve)
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 50 MB)