fix(admin): P0 user-reported bugs - raw keys, table overflow, builder escape route
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> - Transactions: 'adminTransactions.flag'/'clearFlag' raw keys rendered on the fraud toggle button (missed by earlier audit because the key sits inside a ternary); added en/ru/hy strings with merchant wording ('Flag as suspicious') - Table overflow on Customers/Transactions root-caused: app-table host is a grid item with default min-width:auto, so wide tables stretched their parent card instead of scrolling inside the wrapper; shared TableComponent now declares display:block/min-width:0/max-width:100% on its element selector (encapsulation None - :host would not match), fixing every admin table at once; verified in browser: cards contained, wrapper scrolls internally - Builder trap root-caused: section editor pages (/:lang/edit/<section>) had zero routes to the backoffice - only a link back to the builder overview - so admins inside a section could not return to the dashboard; sidebar now has a persistent 'Back to dashboard' link (new builder.backToDashboard key, en/ru/hy); verified navigation lands on /ru/backoffice/dashboard
This commit is contained in:
@@ -686,6 +686,7 @@ export const hy: Translations = {
|
||||
linkUrlDesc: 'Ուղին կամ URL-ը, որին ուղղորդում է այս նավիգացիոն հղումը։',
|
||||
linkVisibleDesc: 'Արդյո՞ք այս նավիգացիոն հղումը ցուցադրվում է գնորդներին։',
|
||||
appName: 'Մարկետփլեյսի կոնստրուկտոր',
|
||||
backToDashboard: 'Վերադառնալ կառավարման վահանակ',
|
||||
breadcrumbRoot: 'Մարկետփլեյսի կոնստրուկտոր',
|
||||
statusComplete: 'Ավարտված',
|
||||
statusInProgress: 'Ընթացքի մեջ',
|
||||
@@ -1623,6 +1624,8 @@ export const hy: Translations = {
|
||||
method: 'Վճարման եղանակ',
|
||||
fraud: 'Խարդախության ստուգում',
|
||||
flagged: 'Նշված',
|
||||
flag: 'Նշել որպես կասկածելի',
|
||||
clearFlag: 'Հանել նշումը',
|
||||
retry: 'Կրկնել',
|
||||
audit: 'Պատմություն',
|
||||
emptyTitle: 'Գործարքներ չեն գտնվել',
|
||||
|
||||
Reference in New Issue
Block a user