Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37331 54 d 1 h amit /trunk/profitmandi-fofo/src/main/ Add offer circular review and curation screen

Shows the nine verbatim PDF columns beside what the parser made of them, uploads a
new monthly circular, and resolves the products the matcher could not.

Upload deliberately does not parse - it stores the PDF, sha256-deduped, and
registers it DRAFT, so an upload can never half-populate the offer tables. The cron
ingest job picks it up from there.

The curation queue groups by distinct (division, raw text) because that is the
product_alias key: one answer clears every row carrying that text, on this circular
and on every later one. On the Aug'26 circular that turns 152 unresolved rows into
106 decisions. Three actions mirror product_alias.action - PIN to a catalog id,
REWRITE to the catalog's spelling and match again, or IGNORE.

- Writes product_alias only, so nothing the screen does can set manually_curated
and lock a circular against re-ingest. Coverage decisions, which do need that,
are listed but visibly parked rather than offered a naming answer.
- A saved decision changes nothing until re-ingest, because aliases are read at
ingest time; the queue says so and the re-ingest button puts the document back
to DRAFT for the scheduler. The portal cannot run the ingest itself - that lives
in profitmandi-cron, which fofo does not depend on.
- The closest rejected match is shown for context and never pre-selected. Four new
OnePlus models each "nearly" matched a 2015 OnePlus 2 at 0.80-0.84, and offering
that as a suggestion invites a reviewer to confirm it. Where the catalog has no
such SKU the search says so and steers to IGNORE.
- aliasExport emits every decision as replayable SQL, because the portal writes to
one database and environments would otherwise drift apart silently.

Access is an email allowlist AND the admin role. Both are enforced in the
controller; the sidebar entry repeats the allowlist because visibility in auth.menu
is role-driven and cannot express a per-email rule.

No jsVersion bump: offer-circular-review.js is a new file that was never cached,
so it needs no cache-buster, and churning that shared counter only conflicts with
whoever is mid-edit on it.
 
37006 99 d 6 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ new app v2 version access to rbm  
36681 137 d 11 h ranu /trunk/ beat plan info commit  
36597 144 d 9 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Add HOME menu item as first entry in left sidebar for both admin and partner dashboards  
36570 147 d 11 h amit /trunk/profitmandi-fofo/src/main/webapp/ Fix header/content layout: header pinned top:0 left:180px, wrapper block+border-box, dashboard zoom on wrapper only, visible menu arrows, accessories tile aligned with brand tiles  
36566 147 d 11 h amit /trunk/profitmandi-fofo/src/main/ UI modernization: sidebar redesign with CSS transitions, distinct menu icons, ellipsis overflow, flexbox header, HTML cleanup, improved text contrast  
36201 187 d 5 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Chatbot for RBM only: Inject SmartChat  
36195 187 d 7 h vikas /trunk/ Chatbot for RBM only: Inject SmartChat  
36194 187 d 7 h vikas /trunk/ Chatbot for RBM only: Inject SmartChat  
36080 198 d 5 h aman /trunk/profitmandi-fofo/src/main/ Fix:Replace "FOFO/FOCO/COCO" with "Partner" — Visual Only  
35606 255 d 8 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix JavaScript errors: $ is not defined and $retailers is not defined

- ticket.vm, managerTicket.vm, my-partner-tickets.vm: Wrap all jQuery code in $(document).ready() to ensure jQuery is loaded before executing
- admin.vm: Check each variable independently (retailers, warehouses, authId) before assigning to prevent undefined variable errors
 
35587 260 d 8 h ranu /trunk/ code diploy for bulletins  
35585 261 d 6 h ranu /trunk/ code updated by  
35584 262 d 5 h ranu /trunk/profitmandi-fofo/src/main/ code updated by  
35583 262 d 6 h ranu /trunk/ code updated by  
35561 268 d 8 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ ui updated of dashboard  
35560 268 d 8 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ bulletin updated on dashboard and give access category department  
35549 268 d 12 h ranu /trunk/ bulletin updated on dashboard and give access category department  
35396 297 d 23 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Improveed offer logic  
35335 313 d 6 h ranu /trunk/ code deploy with partners of loans  

Show All