| Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
| 38016 |
4 h 33 m |
amit |
/trunk/profitmandi-fofo/src/main/ |
Hot Deals admin UI rework + Brand Identifier CSV upload (needs dao r38015)
Hot Deals (Catalog > Hot Deals):
- every Hot Deal model listed, incl. ones with no attributes saved; stat cards + Needs attention filter
- OEM brand dropdown (form + per row), pre-filled from model name, required on save
- row save keeps the OEM model mapping; Clear button; Updated By column
Content page: Brand Identifier CSV (itemId,brandIdentifier) -> catalog.item.brand_identifier
- POST /catalog/brandIdentifier/upload?apply= : preview (NEW/REPLACE/UNCHANGED/ERROR) then apply; replaces existing values
- all-or-nothing; rejects unknown/duplicate items, blank or >100 chars, Hot Deal and Any Colour items; max 5000 rows
- GET /catalog/brandIdentifier/template.csv
jsVersion 453 |
|
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/service/BrandIdentifierUploadService.java
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/AppConfig.java /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ContentController.java /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/HotDealController.java /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/content.vm /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals-table.vm /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals.vm /trunk/profitmandi-fofo/src/main/webapp/resources/js/hot-deals.js
|
| 37643 |
53 d 6 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Hot Deal brand: admin edits attributes + optional OEM catalog mapping; brand/date/cap controls removed; jsVersion 424 |
|
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/AppConfig.java /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/HotDealController.java /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals-table.vm /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals.vm /trunk/profitmandi-fofo/src/main/webapp/resources/js/hot-deals.js
|
| 37288 |
89 d 5 h |
ranu |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
all active brand in hot deals |
|
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/HotDealController.java
|
| 37270 |
89 d 13 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Hot deals admin: activated -> fresh (labels, params, row editors); manual Push to Solr for selected models (checkbox selection + /hotDeals/pushSolr calling FofoSolr.updateSingleCatalog directly, bypasses prod-gated event so Category team curation is searchable immediately); jsVersion 395 |
|
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/AppConfig.java /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/HotDealController.java /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals-table.vm /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals.vm /trunk/profitmandi-fofo/src/main/webapp/resources/js/hot-deals.js
|
| 37261 |
92 d 7 h |
ranu |
/trunk/ |
hot deal show all items |
|
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/CatalogRepository.java /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/CatalogRepositoryImpl.java /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/HotDealController.java
|
| 37256 |
93 d 8 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
feat: hot-deals admin — all-brands searchable/paginated table
- /hotDeals/all replaces per-brand /hotDeals table: server-side search (model/
brand), 20/page with prev/next, Brand column, newest window first
- /hotDeals/slots: active-slot usage per brand (n / 15) for the add form
- jsVersion 394 |
|
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/AppConfig.java /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/HotDealController.java /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals-table.vm /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals.vm /trunk/profitmandi-fofo/src/main/webapp/resources/js/hot-deals.js
|
| 37246 |
93 d 13 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Hot deals admin: five mandatory attribute inputs (no defaults) on add + inline row edit, table columns, updateDeal params; jsVersion 393 |
|
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/AppConfig.java /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/HotDealController.java /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals-table.vm /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals.vm /trunk/profitmandi-fofo/src/main/webapp/resources/js/hot-deals.js
|
| 37229 |
95 d 5 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Hot Deals: add class-level @Transactional to HotDealController - fixes 'Could not obtain transaction-synchronized Session' (fofo convention: transaction opens at controller, BrandsService/CatalogRepository have no own tx) |
|
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/HotDealController.java
|
| 37212 |
95 d 11 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Hot Deals: Category-team page under Catalog menu - brand-wise hot deal models with inline date editing (manage-hot-deals) |
|
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/HotDealController.java /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals-table.vm /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/hot-deals.vm /trunk/profitmandi-fofo/src/main/webapp/resources/js/hot-deals.js
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/AppConfig.java /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/include-scripts.vm
|