Step 3 · Mockups: the first pass

Agreed in principle 26-10-2026Updated 29-10-2026

Clickable mockups of the public and the embedded tariff page that reproduce eRegulations v7's tariff page exactly, as it is live today, changed only where a decision of steps 1 and 2 requires. Design and UX are reworked in a second pass, from this base.

Why

melux wants to judge the starting point before anything is redesigned: what traders already know, in v7's own look and behaviour, with the calculator's decisions applied and nothing else. The second pass then changes the design and the UX on purpose, one change at a time, against this base.

What is reproduced

The reference is v7's tariff page at release 7.6.49, as Burundi and Rwanda show it on 26-10-2026:

  • https://burundi.tradeportal.org/Tariffs and https://rwandatrade.rw/Tariffs, live;
  • the code that renders it, eRegulations-4.0-Public on origin/main: Views/Tariffs/*.cshtml, wwwroot/assets/js/views/tariff*.js, tariffs*.js, wwwroot/assets/css/views/tariffs*, wwwroot/templates/tariff/*, and the site's layout and stylesheets around it. No commit has touched the tariff page since 7.6.49 (15-10-2026).

Reproduced exactly means: the same layout, Bootstrap 3.4 grid, colours, fonts, icons, texts, order of fields, lists and their order, and the same behaviour on every click and key, at desktop and phone widths. Where the live site and the code disagree, the live site wins, and the difference is noted.

Two pages:

  1. Public page: /Tariffs within the site's header, menu and footer, as each country shows it.
  2. Embedded page: /Tariffs?embed=true, without them.

Two countries, switched outside the page frame: Burundi (OBR) and Rwanda (RRA), each with its own header, languages, currencies, code boxes (national digits: Burundi 010, 020, 999; Rwanda 100, 900) and search behaviour (RRA's word search returns about 5 ranked lines, OBR's all).

Every state a trader can reach, each reachable by clicking, and also directly from a scenario list outside the page frame:

Group States
Product Empty; search by code (with dots, spaces, dashes, 10 or 11 digits); search by words; no match; product chosen; code boxes with the fifth box; product cleared
Shipment Import and Export cards, #export opening Export; the four amount rows, each with its currency; units and quantities; cylinder capacity on 8701–8705, 8709, 8716; optional boxes left empty
Estimate Waiting; result with every line; result out of date; result cleared
Refusals and failures A field refused; external freight at zero; a currency with no rate; customs refusing the shipment; customs not answering; credentials refused (as the trader sees it)
Keep it Print sheet; CSV file

What differs from v7, and only this

Each difference is a decision already taken. D56, totals shown as they come, has no case here: neither OBR nor RRA answers only totals, and KRA is out of this pass (Claude's call). Nothing else changes, even where it would be better: that is the second pass.

# Decision What the mockup does instead of v7
1 D4 The estimate notice under the total, every time
2 D23, D52 Amounts converted into the declaration currency with exact decimals and rounded once, for both countries, where v7's browser code rounds each to whole units (tariffs.js, ERN-1235); Rwanda's figures are RRA's own
3 D53 The currencies: quoted by customs, less the exclusions, the local one always; UGS found by "UGX" (v7 already does this since 7.6.48)
4 D33, D54 A changed field dims the result and marks it "out of date"; a new product or tab clears it
5 D46, D47 The total in the currency chosen, with the local currency beside it; the rate to six decimals with its date and source

The other step 2 decisions v7 does not follow, D35 (translated descriptions), D36 (the cheaper treatment notice) and D45 ("legal act not found"), come in the second pass (melux, 26-10-2026).

A page outside the frame, What differs from v7, lists each difference with its decision and the state where it shows.

How it is made

  • Static files under docs/step3/mockups/, served by the documentation site as they are; no build step of their own.
  • v7's own front end, reused: the page's HTML as v7 renders it for each country, captured from the live sites; v7's stylesheets, fonts, icons and scripts (jQuery 3.5, Backbone 1.4, v7's tariff views), copied from eRegulations-4.0-Public at a named commit. The five differences are made as small, marked changes on top, so a reader can see each one.
  • No live call: a small stand-in answers v7's /api/tariffs/* requests from recorded answers. They come from the live sites: about five real estimates per country, import and export, rice and one other product, sent through v7's live pages and kept in docs/sources/ (agreed by melux, 26-10-2026) and, for failures, are written by hand in the shape v7 receives. The rice of module 2 (Burundi, OBR's answer of 30-09-2026) is one of the cases.
  • Outside the frame: a thin bar to switch country, page (public, embedded), language and scenario; nothing in it looks like v7.
  • Rwanda's recordings go through rwandatrade.rw, since RRA is not called directly yet D52; every amount is entered in the declaration currency, so v7's rounding never applies and the answer is RRA's (Claude's call).
  • New texts: the differences' texts, which v7 lacks, are written in English and French; in any other language a site offers they show in English, and the What differs from v7 page says so (Claude's call).
  • Security headers: the documentation site's policy blocks inline styles and scripts and every frame. Under /docs/step3/mockups/ only, the server relaxes it to what v7's captured pages need, and allows framing by the site itself, so the embedded page can be shown in a frame; the build copies that folder into site/ as it is (Claude's call).
  • The step's own pages (this one, the index of the mockups, What differs from v7) are written in English and French D51. The mockups' texts are v7's own, in the languages each site offers.

How it is checked

  1. Side by side with the live site, for each country, at 1 280 and 375 pixels wide: the same screen for each state that the live site can reach without a real estimate, and the same screen after a real estimate for at least one import and one export per country.
  2. Every state of the table above reached by clicking, and listed with how to reach it.
  3. Each of the five differences shown in the state where it applies, and nowhere else.
  4. Print and CSV opened and compared with v7's.

Not in this pass

  • Administration (melux, 26-10-2026).
  • Any change of design or UX not listed above.
  • D35, D36 and D45 (melux, 26-10-2026).
  • The computing provider's figures (module 5), KRA, and the embed's script for other portals (module 8 beyond ?embed=true).

The second pass

It starts from the Kenya Duty Estimator, a one-page calculator on KRA's sandbox, and takes from it what serves the trader. D56 is shown there, with KRA's answers; Kenya is not added to the first pass (D57, melux, 29-10-2026).

Left to the builder

How the pages are captured, how the stand-in intercepts v7's requests, which recorded cases are kept, and the scenario list's order.

Drafted with Claude for melux · UNCTAD · working material, hidden from search enginesUpdated · 29-10-2026