Search and an empty list
You search for a declaration with /, and an empty list says whether there is nothing at all or nothing matches.
Improved
- On Declarations you search in a calm field, with Search declarations… and a /. / puts the cursor in the search field and selects what is there, without typing a /. With text in it, you clear the field with the round button. Under Shortcuts you find This page’s search field. In another field, or with a window open, / simply types.
- An empty list keeps the column headers and puts the text in the middle, without scrolling sideways. The first time you read No tariff calculations yet, or that list’s variant. A search term that finds nothing reads No relations found, with Clear search. You clear a filter with Clear filters. Each button clears only what it names. If there is nothing, there is no pagination. If there are records outside this page, you read that, with the way back.
Fixed
- After an update the page reloads once, instead of showing Something went wrong. If that happens again within half a minute, the message stays.
Addendum
Every list searches the same way, shows where it is, and opens a record from the row.
- Every list has the same search field. / opens the page’s search field. A search field in a window or on the items looks the same, without that /.
- During the first load you see grey lines, and sorting and pagination are disabled. When you change page, filter or sorting, the previous lines stay until the new ones arrive. A line runs across the table. A value that does not fit shows the full text when you hover over it.
- At the bottom you read, for example, 26–50 of 142, with the first and the last page. You drag the column edge to change the width. Under Columns you choose Row height: Compact, Normal or Comfortable. Compact remains the default. A saved view remembers the height, and Reset columns puts Compact back.
- Filters sit as lines above the table: the field, the comparison and the value. You change the value in place, you remove a single line, or you choose Clear all. A line without a value does not filter yet.
- You open a record by clicking the row. Ctrl, ⌘ or a middle click opens a new tab. With the arrow keys you move along the rows, and Enter opens the row that has focus. A button or a link in the cell only does its own action.
Addendum
You edit a field in the cell, and you drag a column.
- You click a cell, and Enter, a double click or typing opens the field. The arrow keys and Tab move to the next cell. Pasting works across several rows. A field you may not edit shows a lock with the reason. If saving fails, you read Not saved and the old value is restored. On a phone the row opens the record, as before.
- This is how you edit the name and the reference of a relation, and its EORI and place. On Declarations you edit client, case, responsible person and, on a draft, the importer or the exporter. The LRN stays locked: CustomsLens assigns the LRN when the declaration is submitted. On an open case you edit the responsible person and the title. On Shipments, the expected arrival, and you move the shipment to another case. On a declaration template and a signing template you edit the name. On a manually recorded service you edit client, case and quantity. On a goods location, a product, a guarantee and an authorisation you edit the fields in the list. On a tariff calculation you edit client and case.
- In BFV you edit a product’s write-off and batch in the table. Save remains the button that records it. On Review, Goods and levies is a read-only table, with the totals at the bottom.
- The table shows a line between the rows and the columns. + at the end of the header opens the same columns as Columns. You drag a column by its header to another place. A line shows where it will land. A saved view remembers the order, and Reset columns puts it back.
Addendum
You move a column with the keyboard, and a saved view no longer warns you wrongly.
- With Alt and the left or right arrow you move the column that has focus. A pinned neighbour or the end of the row stops it. A saved view remembers the order. Reset columns puts it back.
- A saved view on Declarations, sorted by Updated, no longer warns that a column is missing. The same applied to Goods locations on Relation, and to closed cases and IIAA entries. The column picker on Declarations opens without an empty line.
- Below 420 pixels the + in the header moves along, instead of lying over the first column.