Fix up menus and information architecture to improve navigability. Fi… #2
Conversation
app/src/Locale/en_US/default.po
Outdated
@@ -478,16 +478,40 @@ msgid "match.home.welcome" | |||
msgstr "Welcome to {0}." | |||
|
|||
### Informational Messages | |||
msgid "match.in.matchgrid" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's already a localization for matchgrid, Match.ct.Matchgrids
, though see RTL comment below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True - this should really be match.in.matchgrid.title and combined with the appropriate localization (sending the title to be combined with this). Will fix.
app/src/Locale/en_US/default.po
Outdated
msgid "match.in.matchgrid" | ||
msgstr "Matchgrid" | ||
|
||
msgid "match.in.matchgrid.config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels more like match.op
than match.in
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably so. I'll change it - it's used as a title on the Manage page ... as opposed to a button or link (which is why it ended up in the .in. section).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second thought - It's not an operation - it's really just a title "Matchgrid Configuration" (not "Configure Matchgrid" ... I deliberated over noun vs. verb for this one). Both this item and "Matchgrid: name" serve the purpose of titles (headings, e.g. h1, h2), so I'll create a new section called match.ti for them.
app/src/Locale/en_US/default.po
Outdated
msgid "match.me.display" | ||
msgstr "Display" | ||
|
||
msgid "match.me.manage" | ||
msgstr "Manage" | ||
|
||
msgid "match.me.platform" | ||
msgstr "Platform" | ||
|
||
msgid "match.me.reconcile" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this replace the match.op
localizations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were not meant to replace them, but rather to separate the menus so they could be differentiated from buttons and links in the content areas. However, if that's over-complicated (and it is a little), I can use the match.op sections. I'll change these.
@@ -47,16 +47,6 @@ if($this->request->getRequestTarget(false) != '/') { | |||
'action' => 'select'] | |||
); | |||
|
|||
if($modelsName != 'Matchgrids' && $modelsName != 'Permissions' && $modelsName != 'ApiUsers' | |||
|| ($modelsName == 'Matchgrids' && ($action == 'reconcile' || $action == 'pending'))) { | |||
// Link to matchgrids listing where appropriate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this go away?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My thinking is that the only way to get to the Platform-level Matchgrid listing (where we can edit or delete a Matchgrid) is from the Platform menu. When we're in the context of managing the matches, we want to only operate within the interior context of the matchgrid. So the breacrumbs will reflect getting to the matchgrid selector and then the matchgrid management page only. (The matchgrid select view should also not have the interstitial "Matchgrids" crumb, so I should weed that out.) I think the interstitial link to the platform level matchgrid page is otherwise a little confusing even for platform admins - because the grid selector list is the simple path to switch between the grids, and having both crumbs creates a situation where we have two adjacent links to extremely similar but slightly different information ... and in reality the activies and contexts of the pages are different. (One for moving between matchgrids, one for managing matchgrids themselves.)
(On a related note, I'd like to bounce users straight to the matchgrid management page on login if only one matchgrid exists, and we've discussed adding a quick selector to switch between matchgrids near the matchgrid management title, too. ...But both can wait.)
app/src/Template/Layout/default.ctp
Outdated
<?= $this->Html->link(__('match.meta.match'),'/'); ?> | ||
<?php if(!empty($vv_cur_mg)): ?> | ||
<?= $this->Html->link( | ||
__('match.in.matchgrid') . ": " . $vv_cur_mg['table_name'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Infixing a colon violates RTL compatibility. Pass the table name as an argument to the localized text string instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely right (oops!): I'll change this as suggested in the first comment.
I've updated the localization strings as described in the comments; I also hid the breadcrumbs from the "select matchgrid" page and made the hamburger menu only appear when it has a menu to interact with. |
…rst pass refactoring of layout and CSS components to generalize and bring in line with Registry 4.0 and Registry Future. Remove unused libraries, and upgrade Bootstrap and jQuery. (CO-2141 / CO-1948 / CO-2133)
…menu appear only when they should (CO-2141)
4b6acf2
to
0b6cd7b
Compare
This has been rebased against the latest develop. |
…rst pass refactoring of layout and CSS components to generalize and bring in line with Registry 4.0 and Registry Future. Remove unused libraries, and upgrade Bootstrap and jQuery. (CO-2141 / CO-1948 / CO-2133)