Summary: 1. Unclear why Embed fails often. Locally, it fails for me every time, and this tweak makes it pass (while still keeping the test useful). 2. Reduced back main bundle's size by removing dependency of some common elements on the full AdminPanel. Updated expected size of errorPages bundle to the new reduced size. Test Plan: No changes to functionality; relying on existing tests to verify that. Reviewers: jordigh Reviewed By: jordigh Subscribers: georgegevoian, jordigh Differential Revision: https://phab.getgrist.com/D4315pull/1157/head
parent
773588f795
commit
4ed90faf79
@ -0,0 +1,11 @@
|
|||||||
|
// Separated out into its own file because this is used in several modules, but we'd like to avoid
|
||||||
|
// pulling in the full AdminPanel into their bundle.
|
||||||
|
|
||||||
|
import {makeT} from 'app/client/lib/localization';
|
||||||
|
|
||||||
|
const t = makeT('AdminPanel');
|
||||||
|
|
||||||
|
// Translated "Admin Panel" name, made available to other modules.
|
||||||
|
export function getAdminPanelName() {
|
||||||
|
return t("Admin Panel");
|
||||||
|
}
|
Loading…
Reference in new issue