2021-03-13 14:24:45 +00:00
|
|
|
|
export function createMessage(
|
|
|
|
|
|
format: (...strArgs: any[]) => string,
|
|
|
|
|
|
...args: any[]
|
|
|
|
|
|
) {
|
|
|
|
|
|
return format(...args);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export const ERROR_MESSAGE_SELECT_ACTION = () => `Please select an action`;
|
|
|
|
|
|
export const ERROR_MESSAGE_SELECT_ACTION_TYPE = () =>
|
|
|
|
|
|
`Please select an action type`;
|
|
|
|
|
|
export const ACTION_CREATED_SUCCESS = (actionName: string) =>
|
|
|
|
|
|
`${actionName} action created successfully`;
|
|
|
|
|
|
export const ERROR_ADD_API_INVALID_URL = () =>
|
|
|
|
|
|
`Unable to create API. Try adding a URL to the datasource`;
|
|
|
|
|
|
export const ERROR_MESSAGE_NAME_EMPTY = () => `Please select a name`;
|
|
|
|
|
|
export const ERROR_MESSAGE_CREATE_APPLICATION = () =>
|
|
|
|
|
|
`We could not create the Application`;
|
|
|
|
|
|
export const APPLICATION_NAME_UPDATE = () => `Application name updated`;
|
|
|
|
|
|
export const ERROR_EMPTY_APPLICATION_NAME = () =>
|
|
|
|
|
|
`Application name can't be empty`;
|
|
|
|
|
|
export const API_PATH_START_WITH_SLASH_ERROR = () => `Path cannot start with /`;
|
|
|
|
|
|
export const FIELD_REQUIRED_ERROR = () => `This field is required`;
|
|
|
|
|
|
export const VALID_FUNCTION_NAME_ERROR = () =>
|
|
|
|
|
|
`Must be a valid variable name (camelCase)`;
|
|
|
|
|
|
export const UNIQUE_NAME_ERROR = () => `Name must be unique`;
|
|
|
|
|
|
export const NAME_SPACE_ERROR = () => `Name must not have spaces`;
|
|
|
|
|
|
|
|
|
|
|
|
export const FORM_VALIDATION_EMPTY_EMAIL = () => `Please enter an email`;
|
|
|
|
|
|
export const FORM_VALIDATION_INVALID_EMAIL = () =>
|
|
|
|
|
|
`Please provide a valid email address`;
|
|
|
|
|
|
export const ENTER_VIDEO_URL = () => `Please provide a valid url`;
|
|
|
|
|
|
|
|
|
|
|
|
export const FORM_VALIDATION_EMPTY_PASSWORD = () => `Please enter the password`;
|
|
|
|
|
|
export const FORM_VALIDATION_PASSWORD_RULE = () =>
|
2021-08-04 09:33:33 +00:00
|
|
|
|
`Please provide a password between 6 and 42 characters`;
|
2021-01-27 06:12:32 +00:00
|
|
|
|
export const FORM_VALIDATION_INVALID_PASSWORD = FORM_VALIDATION_PASSWORD_RULE;
|
2019-12-16 08:49:10 +00:00
|
|
|
|
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const LOGIN_PAGE_SUBTITLE = () => `Use your organization email`;
|
|
|
|
|
|
export const LOGIN_PAGE_TITLE = () => `Sign In to your account`;
|
|
|
|
|
|
export const LOGIN_PAGE_EMAIL_INPUT_LABEL = () => `Email`;
|
|
|
|
|
|
export const LOGIN_PAGE_PASSWORD_INPUT_LABEL = () => `Password`;
|
|
|
|
|
|
export const LOGIN_PAGE_EMAIL_INPUT_PLACEHOLDER = () => `Email`;
|
|
|
|
|
|
export const LOGIN_PAGE_PASSWORD_INPUT_PLACEHOLDER = () => `Password`;
|
|
|
|
|
|
export const LOGIN_PAGE_INVALID_CREDS_ERROR = () =>
|
|
|
|
|
|
`It looks like you may have entered incorrect/invalid credentials. Please try again or reset password using the button below.`;
|
|
|
|
|
|
export const LOGIN_PAGE_INVALID_CREDS_FORGOT_PASSWORD_LINK = () =>
|
|
|
|
|
|
`Reset Password`;
|
|
|
|
|
|
export const NEW_TO_APPSMITH = () => `New to Appsmith?`;
|
|
|
|
|
|
|
|
|
|
|
|
export const LOGIN_PAGE_LOGIN_BUTTON_TEXT = () => `sign in`;
|
|
|
|
|
|
export const LOGIN_PAGE_FORGOT_PASSWORD_TEXT = () => `Forgot Password`;
|
|
|
|
|
|
export const LOGIN_PAGE_REMEMBER_ME_LABEL = () => `Remember`;
|
|
|
|
|
|
export const LOGIN_PAGE_SIGN_UP_LINK_TEXT = () => `Sign up`;
|
|
|
|
|
|
export const SIGNUP_PAGE_TITLE = () => `Create your free account`;
|
|
|
|
|
|
export const SIGNUP_PAGE_SUBTITLE = () => `Use your organization email`;
|
|
|
|
|
|
export const SIGNUP_PAGE_EMAIL_INPUT_LABEL = () => `Email`;
|
|
|
|
|
|
export const SIGNUP_PAGE_EMAIL_INPUT_PLACEHOLDER = () => ` Email`;
|
|
|
|
|
|
export const SIGNUP_PAGE_NAME_INPUT_PLACEHOLDER = () => `Name`;
|
|
|
|
|
|
export const SIGNUP_PAGE_NAME_INPUT_LABEL = () => `Name`;
|
|
|
|
|
|
export const SIGNUP_PAGE_PASSWORD_INPUT_LABEL = () => `Password`;
|
|
|
|
|
|
export const SIGNUP_PAGE_PASSWORD_INPUT_PLACEHOLDER = () => `Password`;
|
|
|
|
|
|
export const SIGNUP_PAGE_LOGIN_LINK_TEXT = () => `Sign In`;
|
|
|
|
|
|
export const SIGNUP_PAGE_NAME_INPUT_SUBTEXT = () => `How should we call you?`;
|
|
|
|
|
|
export const SIGNUP_PAGE_SUBMIT_BUTTON_TEXT = () => `Sign Up`;
|
|
|
|
|
|
export const ALREADY_HAVE_AN_ACCOUNT = () => `Already have an account?`;
|
|
|
|
|
|
|
|
|
|
|
|
export const SIGNUP_PAGE_SUCCESS = () =>
|
|
|
|
|
|
`Awesome! You have successfully registered.`;
|
|
|
|
|
|
export const SIGNUP_PAGE_SUCCESS_LOGIN_BUTTON_TEXT = () => `Login`;
|
|
|
|
|
|
|
|
|
|
|
|
export const RESET_PASSWORD_PAGE_PASSWORD_INPUT_LABEL = () => `New Password`;
|
|
|
|
|
|
export const RESET_PASSWORD_PAGE_PASSWORD_INPUT_PLACEHOLDER = () =>
|
|
|
|
|
|
`New Password`;
|
|
|
|
|
|
export const RESET_PASSWORD_LOGIN_LINK_TEXT = () => `Back to Sign In`;
|
|
|
|
|
|
export const RESET_PASSWORD_PAGE_TITLE = () => `Reset Password`;
|
|
|
|
|
|
export const RESET_PASSWORD_SUBMIT_BUTTON_TEXT = () => `Reset`;
|
|
|
|
|
|
export const RESET_PASSWORD_PAGE_SUBTITLE = () =>
|
|
|
|
|
|
`Create a new password for your account `;
|
|
|
|
|
|
|
|
|
|
|
|
export const RESET_PASSWORD_RESET_SUCCESS = () =>
|
|
|
|
|
|
`Your password has been reset`; //`Your password has been reset. Please login` (see next entry));
|
|
|
|
|
|
export const RESET_PASSWORD_RESET_SUCCESS_LOGIN_LINK = () => `Login`;
|
|
|
|
|
|
|
|
|
|
|
|
export const RESET_PASSWORD_EXPIRED_TOKEN = () =>
|
|
|
|
|
|
`The password reset link has expired. Please try generating a new link`;
|
|
|
|
|
|
export const RESET_PASSWORD_INVALID_TOKEN = () =>
|
|
|
|
|
|
`The password reset link is invalid. Please try generating a new link`;
|
|
|
|
|
|
export const RESET_PASSWORD_FORGOT_PASSWORD_LINK = () => `Forgot Password`;
|
|
|
|
|
|
|
|
|
|
|
|
export const FORGOT_PASSWORD_PAGE_EMAIL_INPUT_LABEL = () => `Email`;
|
|
|
|
|
|
export const FORGOT_PASSWORD_PAGE_EMAIL_INPUT_PLACEHOLDER = () => `Email`;
|
|
|
|
|
|
export const FORGOT_PASSWORD_PAGE_TITLE = () => `Reset Password`;
|
|
|
|
|
|
export const FORGOT_PASSWORD_PAGE_SUBTITLE = () =>
|
|
|
|
|
|
`We will send a reset link to the email below`;
|
|
|
|
|
|
export const FORGOT_PASSWORD_PAGE_SUBMIT_BUTTON_TEXT = () => `Reset`;
|
|
|
|
|
|
export const FORGOT_PASSWORD_SUCCESS_TEXT = () =>
|
|
|
|
|
|
`A password reset link has been sent to`;
|
|
|
|
|
|
|
|
|
|
|
|
export const PRIVACY_POLICY_LINK = () => `Privacy Policy`;
|
|
|
|
|
|
export const TERMS_AND_CONDITIONS_LINK = () => `Terms and Conditions`;
|
|
|
|
|
|
|
|
|
|
|
|
export const ERROR_500 = () =>
|
|
|
|
|
|
`We apologize, Something went wrong. We're working to fix things.`;
|
|
|
|
|
|
export const ERROR_0 = () =>
|
|
|
|
|
|
`We could not connect to our servers. Please check your network connection`;
|
|
|
|
|
|
export const ERROR_401 = () =>
|
|
|
|
|
|
`We are unable to verify your identity. Please login again.`;
|
|
|
|
|
|
export const ERROR_403 = () =>
|
|
|
|
|
|
`Permission Denied. Please contact your admin to gain access.`;
|
|
|
|
|
|
export const URL_HTTP_VALIDATION_ERROR = () => `Please enter a valid URL`;
|
|
|
|
|
|
export const NAVIGATE_TO_VALIDATION_ERROR = () =>
|
|
|
|
|
|
`Please enter a valid URL or page name`;
|
|
|
|
|
|
export const PAGE_NOT_FOUND_ERROR = () =>
|
|
|
|
|
|
`The page you’re looking for either does not exist, or cannot be found`;
|
|
|
|
|
|
export const INVALID_URL_ERROR = () => `Invalid URL`;
|
|
|
|
|
|
|
|
|
|
|
|
export const INVITE_USERS_VALIDATION_EMAIL_LIST = () =>
|
|
|
|
|
|
`Invalid Email address(es) found`;
|
|
|
|
|
|
export const INVITE_USERS_VALIDATION_ROLE_EMPTY = () => `Please select a role`;
|
|
|
|
|
|
|
|
|
|
|
|
export const INVITE_USERS_EMAIL_LIST_PLACEHOLDER = () =>
|
|
|
|
|
|
`Comma separated emails`;
|
|
|
|
|
|
export const INVITE_USERS_ROLE_SELECT_PLACEHOLDER = () => `Select Role`;
|
|
|
|
|
|
export const INVITE_USERS_ROLE_SELECT_LABEL = () => `Role`;
|
|
|
|
|
|
export const INVITE_USERS_EMAIL_LIST_LABEL = () => `User emails`;
|
|
|
|
|
|
export const INVITE_USERS_ADD_EMAIL_LIST_FIELD = () => `Add more`;
|
|
|
|
|
|
export const INVITE_USERS_SUBMIT_BUTTON_TEXT = () => `Invite Users`;
|
|
|
|
|
|
export const INVITE_USERS_SUBMIT_ERROR = () =>
|
|
|
|
|
|
`We were unable to invite the users, please try again later`;
|
|
|
|
|
|
export const INVITE_USERS_SUBMIT_SUCCESS = () =>
|
|
|
|
|
|
`The users have been invited successfully`;
|
2021-03-18 13:50:33 +00:00
|
|
|
|
export const INVITE_USER_SUBMIT_SUCCESS = () =>
|
|
|
|
|
|
`The user has been invited successfully`;
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const INVITE_USERS_VALIDATION_EMAILS_EMPTY = () =>
|
|
|
|
|
|
`Please enter the user emails`;
|
|
|
|
|
|
|
|
|
|
|
|
export const CREATE_PASSWORD_PAGE_PASSWORD_INPUT_LABEL = () => `New Password`;
|
|
|
|
|
|
export const CREATE_PASSWORD_PAGE_PASSWORD_INPUT_PLACEHOLDER = () =>
|
|
|
|
|
|
`New Password`;
|
|
|
|
|
|
export const CREATE_PASSWORD_LOGIN_LINK_TEXT = () =>
|
|
|
|
|
|
`Already know the password? Login`;
|
|
|
|
|
|
export const CREATE_PASSWORD_PAGE_TITLE = () => `Set Password`;
|
|
|
|
|
|
export const CREATE_PASSWORD_SUBMIT_BUTTON_TEXT = () => `Create`;
|
|
|
|
|
|
export const CREATE_PASSWORD_PAGE_SUBTITLE = () =>
|
|
|
|
|
|
`Set a new password for your account `;
|
|
|
|
|
|
|
|
|
|
|
|
export const CREATE_PASSWORD_RESET_SUCCESS = () => `Your password has been set`;
|
|
|
|
|
|
export const CREATE_PASSWORD_RESET_SUCCESS_LOGIN_LINK = () => `Login`;
|
|
|
|
|
|
|
|
|
|
|
|
export const CREATE_PASSWORD_EXPIRED_TOKEN = () =>
|
|
|
|
|
|
`The invite link has expired. Please try requesting a new invite`;
|
|
|
|
|
|
export const CREATE_PASSWORD_INVALID_TOKEN = () =>
|
|
|
|
|
|
`The invite link is invalid. Please try request a new invite`;
|
|
|
|
|
|
|
|
|
|
|
|
export const DELETING_APPLICATION = () => `Deleting application...`;
|
|
|
|
|
|
export const DUPLICATING_APPLICATION = () => `Duplicating application...`;
|
|
|
|
|
|
|
|
|
|
|
|
export const CURL_IMPORT_SUCCESS = () => `Curl command imported successfully`;
|
|
|
|
|
|
export const FORGOT_PASSWORD_PAGE_LOGIN_LINK = () => `Back to Sign In`;
|
|
|
|
|
|
export const ADD_API_TO_PAGE_SUCCESS_MESSAGE = (actionName: string) =>
|
|
|
|
|
|
`${actionName} API added to page`;
|
|
|
|
|
|
export const INPUT_WIDGET_DEFAULT_VALIDATION_ERROR = () => `Invalid input`;
|
|
|
|
|
|
|
|
|
|
|
|
export const AUTOFIT_ALL_COLUMNS = () => `Autofit all columns`;
|
|
|
|
|
|
export const AUTOFIT_THIS_COLUMN = () => `Autofit this column`;
|
|
|
|
|
|
export const AUTOFIT_COLUMN = () => `Autofit column`;
|
|
|
|
|
|
|
|
|
|
|
|
export const DATE_WIDGET_DEFAULT_VALIDATION_ERROR = () => "Date out of range";
|
|
|
|
|
|
|
|
|
|
|
|
export const TIMEZONE = () => `Timezone`;
|
|
|
|
|
|
export const ENABLE_TIME = () => `Enable Time`;
|
|
|
|
|
|
|
|
|
|
|
|
export const EDIT_APP = () => `Edit App`;
|
|
|
|
|
|
export const FORK_APP = () => `Fork App`;
|
|
|
|
|
|
export const SIGN_IN = () => `Sign In`;
|
|
|
|
|
|
|
|
|
|
|
|
export const LIGHTNING_MENU_DATA_API = () => `Use data from an API`;
|
|
|
|
|
|
export const LIGHTNING_MENU_DATA_QUERY = () => `Use data from a Query`;
|
|
|
|
|
|
export const LIGHTNING_MENU_DATA_TOOLTIP = () => `Quick start data binding`;
|
|
|
|
|
|
export const LIGHTNING_MENU_DATA_WIDGET = () => `Use data from a Widget`;
|
|
|
|
|
|
export const LIGHTNING_MENU_QUERY_CREATE_NEW = () => `Create new Query`;
|
|
|
|
|
|
export const LIGHTNING_MENU_API_CREATE_NEW = () => `Create new API`;
|
|
|
|
|
|
|
|
|
|
|
|
export const LIGHTNING_MENU_OPTION_TEXT = () => `Plain Text`;
|
|
|
|
|
|
export const LIGHTNING_MENU_OPTION_JS = () => `Write JS`;
|
|
|
|
|
|
export const LIGHTNING_MENU_OPTION_HTML = () => `Write HTML`;
|
|
|
|
|
|
export const CHECK_REQUEST_BODY = () => `Check Request body to debug?`;
|
|
|
|
|
|
export const DONT_SHOW_THIS_AGAIN = () => `Don't show this again`;
|
|
|
|
|
|
export const SHOW_REQUEST = () => `Show Request`;
|
|
|
|
|
|
|
|
|
|
|
|
export const TABLE_FILTER_COLUMN_TYPE_CALLOUT = () =>
|
|
|
|
|
|
`Change column datatype to see filter operators`;
|
|
|
|
|
|
|
|
|
|
|
|
export const WIDGET_SIDEBAR_TITLE = () => `Widgets`;
|
|
|
|
|
|
export const WIDGET_SIDEBAR_CAPTION = () =>
|
|
|
|
|
|
`To add a widget, please drag and drop a widget on the canvas to the right`;
|
|
|
|
|
|
export const GOOGLE_RECAPTCHA_KEY_ERROR = () =>
|
|
|
|
|
|
`Google Re-Captcha Token Generation failed! Please check the Re-captcha Site Key.`;
|
|
|
|
|
|
export const GOOGLE_RECAPTCHA_DOMAIN_ERROR = () =>
|
|
|
|
|
|
`Google Re-Captcha Token Generation failed! Please check the allowed domains.`;
|
|
|
|
|
|
|
|
|
|
|
|
export const SERVER_API_TIMEOUT_ERROR = () =>
|
|
|
|
|
|
`Appsmith server is taking too long to respond. Please try again after some time`;
|
|
|
|
|
|
export const DEFAULT_ERROR_MESSAGE = () => `There was an unexpected error`;
|
2021-06-03 06:18:08 +00:00
|
|
|
|
export const REMOVE_FILE_TOOL_TIP = () => "Remove Upload";
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const ERROR_FILE_TOO_LARGE = (fileSize: string) =>
|
|
|
|
|
|
`File size should be less than ${fileSize}!`;
|
|
|
|
|
|
export const ERROR_DATEPICKER_MIN_DATE = () =>
|
|
|
|
|
|
`Min date cannot be greater than current widget value`;
|
|
|
|
|
|
export const ERROR_DATEPICKER_MAX_DATE = () =>
|
|
|
|
|
|
`Min date cannot be greater than current widget value`;
|
|
|
|
|
|
export const ERROR_WIDGET_DOWNLOAD = (err: string) => `Download failed. ${err}`;
|
|
|
|
|
|
export const ERROR_API_EXECUTE = (actionName: string) =>
|
|
|
|
|
|
`${actionName} failed to execute. Please check it's configuration`;
|
|
|
|
|
|
export const ERROR_FAIL_ON_PAGE_LOAD_ACTIONS = () =>
|
|
|
|
|
|
`Failed to execute actions during page load`;
|
|
|
|
|
|
export const ERROR_ACTION_EXECUTE_FAIL = (actionName: string) =>
|
|
|
|
|
|
`${actionName} action returned an error response`;
|
|
|
|
|
|
export const ACTION_DELETE_SUCCESS = (actionName: string) =>
|
|
|
|
|
|
`${actionName} action deleted successfully`;
|
|
|
|
|
|
export const ACTION_MOVE_SUCCESS = (actionName: string, pageName: string) =>
|
|
|
|
|
|
`${actionName} action moved to page ${pageName} successfully`;
|
|
|
|
|
|
export const ERROR_ACTION_MOVE_FAIL = (actionName: string) =>
|
|
|
|
|
|
`Error while moving action ${actionName}`;
|
|
|
|
|
|
export const ACTION_COPY_SUCCESS = (actionName: string, pageName: string) =>
|
|
|
|
|
|
`${actionName} action copied to page ${pageName} successfully`;
|
|
|
|
|
|
export const ERROR_ACTION_COPY_FAIL = (actionName: string) =>
|
|
|
|
|
|
`Error while copying action ${actionName}`;
|
|
|
|
|
|
export const ERROR_ACTION_RENAME_FAIL = (actionName: string) =>
|
|
|
|
|
|
`Unable to update action name to ${actionName}`;
|
|
|
|
|
|
|
|
|
|
|
|
export const DATASOURCE_CREATE = (dsName: string) =>
|
|
|
|
|
|
`${dsName} datasource created`;
|
|
|
|
|
|
export const DATASOURCE_DELETE = (dsName: string) =>
|
|
|
|
|
|
`${dsName} datasource deleted successfully`;
|
|
|
|
|
|
export const DATASOURCE_UPDATE = (dsName: string) =>
|
|
|
|
|
|
`${dsName} datasource updated successfully`;
|
|
|
|
|
|
export const DATASOURCE_VALID = (dsName: string) =>
|
|
|
|
|
|
`${dsName} datasource is valid`;
|
|
|
|
|
|
|
|
|
|
|
|
export const ERROR_EVAL_ERROR_GENERIC = () =>
|
|
|
|
|
|
`Unexpected error occurred while evaluating the application`;
|
|
|
|
|
|
|
|
|
|
|
|
export const ERROR_EVAL_TRIGGER = (message: string) =>
|
|
|
|
|
|
`Error occurred while evaluating trigger: ${message}`;
|
|
|
|
|
|
|
|
|
|
|
|
export const WIDGET_DELETE = (widgetName: string) =>
|
|
|
|
|
|
`${widgetName} widget deleted`;
|
2021-05-18 18:29:39 +00:00
|
|
|
|
export const WIDGET_BULK_DELETE = (widgetName: string) =>
|
|
|
|
|
|
`${widgetName} widgets deleted`;
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const WIDGET_COPY = (widgetName: string) => `Copied ${widgetName}`;
|
|
|
|
|
|
export const ERROR_WIDGET_COPY_NO_WIDGET_SELECTED = () =>
|
|
|
|
|
|
`Please select a widget to copy`;
|
2021-04-23 05:43:13 +00:00
|
|
|
|
export const ERROR_WIDGET_COPY_NOT_ALLOWED = () =>
|
|
|
|
|
|
`This selected widget cannot be copied.`;
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const WIDGET_CUT = (widgetName: string) => `Cut ${widgetName}`;
|
|
|
|
|
|
export const ERROR_WIDGET_CUT_NO_WIDGET_SELECTED = () =>
|
|
|
|
|
|
`Please select a widget to cut`;
|
2021-05-18 18:29:39 +00:00
|
|
|
|
export const SELECT_ALL_WIDGETS_MSG = () =>
|
|
|
|
|
|
`All widgets in this page including modals have been selected`;
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const ERROR_ADD_WIDGET_FROM_QUERY = () => `Failed to add widget`;
|
|
|
|
|
|
|
|
|
|
|
|
export const REST_API_AUTHORIZATION_SUCCESSFUL = () =>
|
2021-02-16 12:28:03 +00:00
|
|
|
|
"Authorization was successful!";
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const REST_API_AUTHORIZATION_FAILED = () =>
|
2021-02-16 12:28:03 +00:00
|
|
|
|
"Authorization failed. Please check your details or try again.";
|
|
|
|
|
|
// Todo: improve this for appsmith_error error message
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const REST_API_AUTHORIZATION_APPSMITH_ERROR = () =>
|
|
|
|
|
|
"Something went wrong.";
|
2021-02-16 12:28:03 +00:00
|
|
|
|
|
2021-04-22 03:30:09 +00:00
|
|
|
|
export const SAAS_AUTHORIZATION_SUCCESSFUL = "Authorization was successful!";
|
|
|
|
|
|
export const SAAS_AUTHORIZATION_FAILED =
|
|
|
|
|
|
"Authorization failed. Please check your details or try again.";
|
|
|
|
|
|
// Todo: improve this for appsmith_error error message
|
|
|
|
|
|
export const SAAS_AUTHORIZATION_APPSMITH_ERROR = "Something went wrong.";
|
|
|
|
|
|
export const SAAS_APPSMITH_TOKEN_NOT_FOUND = "Appsmith token not found";
|
|
|
|
|
|
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const LOCAL_STORAGE_QUOTA_EXCEEDED_MESSAGE = () =>
|
2021-02-16 06:17:23 +00:00
|
|
|
|
"Error saving a key in localStorage. You have exceeded the allowed storage size limit";
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const LOCAL_STORAGE_NO_SPACE_LEFT_ON_DEVICE_MESSAGE = () =>
|
2021-02-16 06:17:23 +00:00
|
|
|
|
"Error saving a key in localStorage. You have run out of disk space";
|
2021-04-26 09:18:39 +00:00
|
|
|
|
export const LOCAL_STORAGE_NOT_SUPPORTED_APP_MIGHT_NOT_WORK_AS_EXPECTED = () =>
|
|
|
|
|
|
"Localstorage storage is not supported on your device. Some features including the appsmith store won't work.";
|
2021-03-08 08:24:12 +00:00
|
|
|
|
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const OMNIBAR_PLACEHOLDER = () =>
|
2021-08-09 06:22:37 +00:00
|
|
|
|
`Search Widgets, Queries, Documentation`;
|
|
|
|
|
|
export const OMNIBAR_PLACEHOLDER_SNIPPETS = () => "Search Snippets";
|
|
|
|
|
|
export const OMNIBAR_PLACEHOLDER_NAV = () => "Search Widgets and Queries";
|
|
|
|
|
|
export const OMNIBAR_PLACEHOLDER_DOC = () => "Search Documentation";
|
2021-03-13 14:24:45 +00:00
|
|
|
|
export const HELPBAR_PLACEHOLDER = () => "Quick search & navigation";
|
2021-04-23 13:50:55 +00:00
|
|
|
|
export const NO_SEARCH_DATA_TEXT = () => "No results found";
|
2021-03-13 14:24:45 +00:00
|
|
|
|
|
|
|
|
|
|
export const WIDGET_BIND_HELP = () =>
|
|
|
|
|
|
"Having trouble taking inputs from widgets?";
|
|
|
|
|
|
|
|
|
|
|
|
export const BACK_TO_HOMEPAGE = () => "Go back to homepage";
|
|
|
|
|
|
|
|
|
|
|
|
export const PAGE_NOT_FOUND = () => "Page not found";
|
2021-04-23 13:50:55 +00:00
|
|
|
|
|
Initialise comments (#3328)
* Initial scaffolding for comments CRUD APIs
* add actions
* add assets
* state management for existing comments and creating new
* add ui components
* add overlay comments wrapper to baseWidget
* add toggle comment mode button at editor header
* trigger tests
* Disallow commenting as someone else
* Add applicationId for comments
* lint
* Add overlay blacklist to prevent component interaction while adding comments
* Comment thread style updates
* Placeholder comment context menu
* Controlled comment thread visibility for making new comments visible by default
* Update comment type description
* Reset input on save
* Resolve comment thread button ui
* fix close on esc key, dont create new comment on outside click
* Submit on enter
* add emoji picker
* Attempt at adding a websocket server in Java
* CRUD APIs for comment threads
* Add API for getting all threads in application
* Move types to a separate file
* Initial commit for real time server (RTS)
* Add script to start RTS
* Fix position property
* Use create comment thread API
* Use add comment to thread API
* Add custom cursor
* Dispatch logout init on 401 errors
* Allow CORS for real time connection
* Add more logs to RTS
* Fix construction of MongoClient
* WIP: Real time comments
* Enable comments
* Minor updates
* Read backend API base URL from environment
* Escape to reset comments mode
* Set popover position as auto and boundary as scroll parent
* Disable warning
* Added permissions for comment threads
* Add resolved API for comment threads
* Migration to set commenting permission on existing apps
* Fix updates bringing the RTS down
* Show view latest button, scroll to bottom on creating a new comment
* Cleanup comment reducer
* Move to typescript for RTS
* Add missing server.ts and tsconfig files
* Resolve / unresolve comment
* Scaffold app comments
* Minor fixes: comment on top of all widgets, add toggle button at viewer header
* Reconnect socket on creating a new app, set connected status in store
* Retry socket connection flow
* Integration tests for comments with api mocks using msw
* Fix circular depependency
* rm file
* Minor cleanup and comments
* Minor refactors: move isScrolledToBottom to common hooks, decouple prevent interactions overlay from comments wrapper
* Use policies when pushing updates in RTS
* ENV var to set if comments are enabled
* Fix: check if editor/viewer is initialised before waiting for init action
* Add tests for comments reducer
* Revert "ENV var to set if comments are enabled"
This reverts commit 988efeaa69d378d943a387e1e73510334958adc5.
* Enable comments for users with appsmith email
* lint
* fix
* Try running a socket.io server inside backend
* Update comment reducer tests
* Init mentions within comments
* Fix comment thread updates with email rooms
* Minor fixes
* Refactors / review suggestions
* lint
* increase cache limit for builds
* Comment out tests for feature that's under development
* Add Dockerfile for RTS
* Fix policies missing for first comment in threads
* Use draftJS for comments input with mentions support
* fix fixtures
* Use thread's policies when querying for threads
* Update socket.io to v4
* Add support for richer body with mentions
* Update comment body type to RawDraftContentState
* fix stale method
* Fix mentions search
* Minor cleanups
* Comment context menu and thread UI updates
* revert: Scaffold app comments
* Yarn dependencies
* Delete comment using id api added
* Init app comments
* Add test for creating thread
* Api for delete comment with id
* Test comment creation response and policies
* Copy comment links
* Fix reset editor state
* Delete valid comment testcase added
* Delete comment TC : code refactor
* Don't allow creating comments with an empty body
* Pin comments WIP[]
* Ignore dependency-reduced-pom.xml files from VCS
* Cleanup of some dev-only files, for review
* Delete comment
* Update socket.io to v4 in RTS
* Pin and resolve comment thread object added in commentThread
* Pin and resolve comment thread object added in commentThread
* Update comment thread API
* Added creationTime and updationTime in comment thread response
* Added creationTime and updationTime in comment thread response
* Added human readable id to comment threads, fallback to username for null name in user document
* Refactor
* lint
* fix test, rm duplicate selector
* comment out saga used for dev
* CommentThread viewed status, username fallback for getName=null, username field added in pin & resolve status
* lint
* trigger tests
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Abhijeet <abhi.nagarnaik@gmail.com>
2021-04-29 10:33:51 +00:00
|
|
|
|
export const RESOLVE = () => "Resolve";
|
|
|
|
|
|
export const UNRESOLVE = () => "Unresolve";
|
|
|
|
|
|
|
|
|
|
|
|
// comments
|
|
|
|
|
|
export const ADD_COMMENT_PLACEHOLDER = () => "Add a comment. Use @ to mention";
|
|
|
|
|
|
export const PIN_COMMENT = () => "Pin Comment";
|
2021-05-20 12:03:08 +00:00
|
|
|
|
export const UNPIN_COMMENT = () => "Unpin Comment";
|
Initialise comments (#3328)
* Initial scaffolding for comments CRUD APIs
* add actions
* add assets
* state management for existing comments and creating new
* add ui components
* add overlay comments wrapper to baseWidget
* add toggle comment mode button at editor header
* trigger tests
* Disallow commenting as someone else
* Add applicationId for comments
* lint
* Add overlay blacklist to prevent component interaction while adding comments
* Comment thread style updates
* Placeholder comment context menu
* Controlled comment thread visibility for making new comments visible by default
* Update comment type description
* Reset input on save
* Resolve comment thread button ui
* fix close on esc key, dont create new comment on outside click
* Submit on enter
* add emoji picker
* Attempt at adding a websocket server in Java
* CRUD APIs for comment threads
* Add API for getting all threads in application
* Move types to a separate file
* Initial commit for real time server (RTS)
* Add script to start RTS
* Fix position property
* Use create comment thread API
* Use add comment to thread API
* Add custom cursor
* Dispatch logout init on 401 errors
* Allow CORS for real time connection
* Add more logs to RTS
* Fix construction of MongoClient
* WIP: Real time comments
* Enable comments
* Minor updates
* Read backend API base URL from environment
* Escape to reset comments mode
* Set popover position as auto and boundary as scroll parent
* Disable warning
* Added permissions for comment threads
* Add resolved API for comment threads
* Migration to set commenting permission on existing apps
* Fix updates bringing the RTS down
* Show view latest button, scroll to bottom on creating a new comment
* Cleanup comment reducer
* Move to typescript for RTS
* Add missing server.ts and tsconfig files
* Resolve / unresolve comment
* Scaffold app comments
* Minor fixes: comment on top of all widgets, add toggle button at viewer header
* Reconnect socket on creating a new app, set connected status in store
* Retry socket connection flow
* Integration tests for comments with api mocks using msw
* Fix circular depependency
* rm file
* Minor cleanup and comments
* Minor refactors: move isScrolledToBottom to common hooks, decouple prevent interactions overlay from comments wrapper
* Use policies when pushing updates in RTS
* ENV var to set if comments are enabled
* Fix: check if editor/viewer is initialised before waiting for init action
* Add tests for comments reducer
* Revert "ENV var to set if comments are enabled"
This reverts commit 988efeaa69d378d943a387e1e73510334958adc5.
* Enable comments for users with appsmith email
* lint
* fix
* Try running a socket.io server inside backend
* Update comment reducer tests
* Init mentions within comments
* Fix comment thread updates with email rooms
* Minor fixes
* Refactors / review suggestions
* lint
* increase cache limit for builds
* Comment out tests for feature that's under development
* Add Dockerfile for RTS
* Fix policies missing for first comment in threads
* Use draftJS for comments input with mentions support
* fix fixtures
* Use thread's policies when querying for threads
* Update socket.io to v4
* Add support for richer body with mentions
* Update comment body type to RawDraftContentState
* fix stale method
* Fix mentions search
* Minor cleanups
* Comment context menu and thread UI updates
* revert: Scaffold app comments
* Yarn dependencies
* Delete comment using id api added
* Init app comments
* Add test for creating thread
* Api for delete comment with id
* Test comment creation response and policies
* Copy comment links
* Fix reset editor state
* Delete valid comment testcase added
* Delete comment TC : code refactor
* Don't allow creating comments with an empty body
* Pin comments WIP[]
* Ignore dependency-reduced-pom.xml files from VCS
* Cleanup of some dev-only files, for review
* Delete comment
* Update socket.io to v4 in RTS
* Pin and resolve comment thread object added in commentThread
* Pin and resolve comment thread object added in commentThread
* Update comment thread API
* Added creationTime and updationTime in comment thread response
* Added creationTime and updationTime in comment thread response
* Added human readable id to comment threads, fallback to username for null name in user document
* Refactor
* lint
* fix test, rm duplicate selector
* comment out saga used for dev
* CommentThread viewed status, username fallback for getName=null, username field added in pin & resolve status
* lint
* trigger tests
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Abhijeet <abhi.nagarnaik@gmail.com>
2021-04-29 10:33:51 +00:00
|
|
|
|
export const COPY_LINK = () => "Copy Link";
|
|
|
|
|
|
export const DELETE_COMMENT = () => "Delete Comment";
|
2021-05-20 12:03:08 +00:00
|
|
|
|
export const DELETE_THREAD = () => "Delete Thread";
|
|
|
|
|
|
export const EDIT_COMMENT = () => "Edit Comment";
|
Initialise comments (#3328)
* Initial scaffolding for comments CRUD APIs
* add actions
* add assets
* state management for existing comments and creating new
* add ui components
* add overlay comments wrapper to baseWidget
* add toggle comment mode button at editor header
* trigger tests
* Disallow commenting as someone else
* Add applicationId for comments
* lint
* Add overlay blacklist to prevent component interaction while adding comments
* Comment thread style updates
* Placeholder comment context menu
* Controlled comment thread visibility for making new comments visible by default
* Update comment type description
* Reset input on save
* Resolve comment thread button ui
* fix close on esc key, dont create new comment on outside click
* Submit on enter
* add emoji picker
* Attempt at adding a websocket server in Java
* CRUD APIs for comment threads
* Add API for getting all threads in application
* Move types to a separate file
* Initial commit for real time server (RTS)
* Add script to start RTS
* Fix position property
* Use create comment thread API
* Use add comment to thread API
* Add custom cursor
* Dispatch logout init on 401 errors
* Allow CORS for real time connection
* Add more logs to RTS
* Fix construction of MongoClient
* WIP: Real time comments
* Enable comments
* Minor updates
* Read backend API base URL from environment
* Escape to reset comments mode
* Set popover position as auto and boundary as scroll parent
* Disable warning
* Added permissions for comment threads
* Add resolved API for comment threads
* Migration to set commenting permission on existing apps
* Fix updates bringing the RTS down
* Show view latest button, scroll to bottom on creating a new comment
* Cleanup comment reducer
* Move to typescript for RTS
* Add missing server.ts and tsconfig files
* Resolve / unresolve comment
* Scaffold app comments
* Minor fixes: comment on top of all widgets, add toggle button at viewer header
* Reconnect socket on creating a new app, set connected status in store
* Retry socket connection flow
* Integration tests for comments with api mocks using msw
* Fix circular depependency
* rm file
* Minor cleanup and comments
* Minor refactors: move isScrolledToBottom to common hooks, decouple prevent interactions overlay from comments wrapper
* Use policies when pushing updates in RTS
* ENV var to set if comments are enabled
* Fix: check if editor/viewer is initialised before waiting for init action
* Add tests for comments reducer
* Revert "ENV var to set if comments are enabled"
This reverts commit 988efeaa69d378d943a387e1e73510334958adc5.
* Enable comments for users with appsmith email
* lint
* fix
* Try running a socket.io server inside backend
* Update comment reducer tests
* Init mentions within comments
* Fix comment thread updates with email rooms
* Minor fixes
* Refactors / review suggestions
* lint
* increase cache limit for builds
* Comment out tests for feature that's under development
* Add Dockerfile for RTS
* Fix policies missing for first comment in threads
* Use draftJS for comments input with mentions support
* fix fixtures
* Use thread's policies when querying for threads
* Update socket.io to v4
* Add support for richer body with mentions
* Update comment body type to RawDraftContentState
* fix stale method
* Fix mentions search
* Minor cleanups
* Comment context menu and thread UI updates
* revert: Scaffold app comments
* Yarn dependencies
* Delete comment using id api added
* Init app comments
* Add test for creating thread
* Api for delete comment with id
* Test comment creation response and policies
* Copy comment links
* Fix reset editor state
* Delete valid comment testcase added
* Delete comment TC : code refactor
* Don't allow creating comments with an empty body
* Pin comments WIP[]
* Ignore dependency-reduced-pom.xml files from VCS
* Cleanup of some dev-only files, for review
* Delete comment
* Update socket.io to v4 in RTS
* Pin and resolve comment thread object added in commentThread
* Pin and resolve comment thread object added in commentThread
* Update comment thread API
* Added creationTime and updationTime in comment thread response
* Added creationTime and updationTime in comment thread response
* Added human readable id to comment threads, fallback to username for null name in user document
* Refactor
* lint
* fix test, rm duplicate selector
* comment out saga used for dev
* CommentThread viewed status, username fallback for getName=null, username field added in pin & resolve status
* lint
* trigger tests
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Abhijeet <abhi.nagarnaik@gmail.com>
2021-04-29 10:33:51 +00:00
|
|
|
|
export const COMMENTS = () => "Comments";
|
2021-05-20 12:03:08 +00:00
|
|
|
|
export const VIEW_LATEST = () => "View Latest";
|
|
|
|
|
|
export const POST = () => "Post";
|
|
|
|
|
|
export const CANCEL = () => "Cancel";
|
|
|
|
|
|
export const NO_COMMENTS_CLICK_ON_CANVAS_TO_ADD = () =>
|
|
|
|
|
|
`No comments. \n Click anywhere on the canvas \nto start a conversation.`;
|
|
|
|
|
|
export const LINK_COPIED_SUCCESSFULLY = () => "Link copied to clipboard";
|
|
|
|
|
|
export const FULL_NAME = () => "Full Name";
|
|
|
|
|
|
export const DISPLAY_NAME = () => "Display Name";
|
|
|
|
|
|
export const EMAIL_ADDRESS = () => "Email Address";
|
|
|
|
|
|
export const FIRST_AND_LAST_NAME = () => "First and last name";
|
2021-06-09 14:32:17 +00:00
|
|
|
|
export const MARK_ALL_AS_READ = () => "Mark all as read";
|
2021-06-09 10:35:10 +00:00
|
|
|
|
export const INVITE_A_NEW_USER = () => "Invite a new user";
|
2021-06-16 18:36:34 +00:00
|
|
|
|
export const REMOVE = () => "Remove";
|
2021-06-23 15:42:07 +00:00
|
|
|
|
export const NO_NOTIFICATIONS_TO_SHOW = () => "No notifications to show";
|
2021-07-16 08:31:26 +00:00
|
|
|
|
export const UNREAD_MESSAGE = () => "Unread conversation";
|
2021-07-19 18:14:38 +00:00
|
|
|
|
export const UNSUBSCRIBE_EMAIL_SUCCESS = () =>
|
|
|
|
|
|
"You have successfully unsubscribed from the corresponding comment thread";
|
|
|
|
|
|
export const UNSUBSCRIBE_EMAIL_MSG_1 = () =>
|
|
|
|
|
|
"You will not receive any more email notifications for the corresponding comment thread.";
|
|
|
|
|
|
export const UNSUBSCRIBE_EMAIL_MSG_2 = () =>
|
|
|
|
|
|
"Please note that you will be subscribed again if someone tags you in a comment or you reply to a comment.";
|
|
|
|
|
|
export const UNSUBSCRIBE_EMAIL_CONFIRM_MSG = () =>
|
|
|
|
|
|
"Are you sure you want to unsubscribe?";
|
|
|
|
|
|
export const UNSUBSCRIBE_BUTTON_LABEL = () => "Unsubscribe me";
|
2021-05-20 12:03:08 +00:00
|
|
|
|
|
|
|
|
|
|
// Showcase Carousel
|
|
|
|
|
|
export const NEXT = () => "NEXT";
|
|
|
|
|
|
export const BACK = () => "BACK";
|
2021-08-05 12:06:29 +00:00
|
|
|
|
export const SKIP = () => "SKIP";
|
Initialise comments (#3328)
* Initial scaffolding for comments CRUD APIs
* add actions
* add assets
* state management for existing comments and creating new
* add ui components
* add overlay comments wrapper to baseWidget
* add toggle comment mode button at editor header
* trigger tests
* Disallow commenting as someone else
* Add applicationId for comments
* lint
* Add overlay blacklist to prevent component interaction while adding comments
* Comment thread style updates
* Placeholder comment context menu
* Controlled comment thread visibility for making new comments visible by default
* Update comment type description
* Reset input on save
* Resolve comment thread button ui
* fix close on esc key, dont create new comment on outside click
* Submit on enter
* add emoji picker
* Attempt at adding a websocket server in Java
* CRUD APIs for comment threads
* Add API for getting all threads in application
* Move types to a separate file
* Initial commit for real time server (RTS)
* Add script to start RTS
* Fix position property
* Use create comment thread API
* Use add comment to thread API
* Add custom cursor
* Dispatch logout init on 401 errors
* Allow CORS for real time connection
* Add more logs to RTS
* Fix construction of MongoClient
* WIP: Real time comments
* Enable comments
* Minor updates
* Read backend API base URL from environment
* Escape to reset comments mode
* Set popover position as auto and boundary as scroll parent
* Disable warning
* Added permissions for comment threads
* Add resolved API for comment threads
* Migration to set commenting permission on existing apps
* Fix updates bringing the RTS down
* Show view latest button, scroll to bottom on creating a new comment
* Cleanup comment reducer
* Move to typescript for RTS
* Add missing server.ts and tsconfig files
* Resolve / unresolve comment
* Scaffold app comments
* Minor fixes: comment on top of all widgets, add toggle button at viewer header
* Reconnect socket on creating a new app, set connected status in store
* Retry socket connection flow
* Integration tests for comments with api mocks using msw
* Fix circular depependency
* rm file
* Minor cleanup and comments
* Minor refactors: move isScrolledToBottom to common hooks, decouple prevent interactions overlay from comments wrapper
* Use policies when pushing updates in RTS
* ENV var to set if comments are enabled
* Fix: check if editor/viewer is initialised before waiting for init action
* Add tests for comments reducer
* Revert "ENV var to set if comments are enabled"
This reverts commit 988efeaa69d378d943a387e1e73510334958adc5.
* Enable comments for users with appsmith email
* lint
* fix
* Try running a socket.io server inside backend
* Update comment reducer tests
* Init mentions within comments
* Fix comment thread updates with email rooms
* Minor fixes
* Refactors / review suggestions
* lint
* increase cache limit for builds
* Comment out tests for feature that's under development
* Add Dockerfile for RTS
* Fix policies missing for first comment in threads
* Use draftJS for comments input with mentions support
* fix fixtures
* Use thread's policies when querying for threads
* Update socket.io to v4
* Add support for richer body with mentions
* Update comment body type to RawDraftContentState
* fix stale method
* Fix mentions search
* Minor cleanups
* Comment context menu and thread UI updates
* revert: Scaffold app comments
* Yarn dependencies
* Delete comment using id api added
* Init app comments
* Add test for creating thread
* Api for delete comment with id
* Test comment creation response and policies
* Copy comment links
* Fix reset editor state
* Delete valid comment testcase added
* Delete comment TC : code refactor
* Don't allow creating comments with an empty body
* Pin comments WIP[]
* Ignore dependency-reduced-pom.xml files from VCS
* Cleanup of some dev-only files, for review
* Delete comment
* Update socket.io to v4 in RTS
* Pin and resolve comment thread object added in commentThread
* Pin and resolve comment thread object added in commentThread
* Update comment thread API
* Added creationTime and updationTime in comment thread response
* Added creationTime and updationTime in comment thread response
* Added human readable id to comment threads, fallback to username for null name in user document
* Refactor
* lint
* fix test, rm duplicate selector
* comment out saga used for dev
* CommentThread viewed status, username fallback for getName=null, username field added in pin & resolve status
* lint
* trigger tests
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Abhijeet <abhi.nagarnaik@gmail.com>
2021-04-29 10:33:51 +00:00
|
|
|
|
|
|
|
|
|
|
// Debugger
|
2021-04-23 13:50:55 +00:00
|
|
|
|
export const CLICK_ON = () => "🙌 Click on ";
|
|
|
|
|
|
export const PRESS = () => "🎉 Press ";
|
2021-08-04 04:50:27 +00:00
|
|
|
|
export const OPEN_THE_DEBUGGER = () => " to show / hide the debugger";
|
2021-04-23 13:50:55 +00:00
|
|
|
|
export const NO_LOGS = () => "No logs to show";
|
2021-06-30 11:03:35 +00:00
|
|
|
|
export const NO_ERRORS = () => "No signs of trouble here!";
|
2021-06-09 12:45:41 +00:00
|
|
|
|
export const DEBUGGER_ERRORS = () => "Errors";
|
|
|
|
|
|
export const DEBUGGER_LOGS = () => "Logs";
|
|
|
|
|
|
export const INSPECT_ENTITY = () => "Inspect Entity";
|
|
|
|
|
|
export const INSPECT_ENTITY_BLANK_STATE = () => "Select an entity to inspect";
|
2021-08-16 11:03:27 +00:00
|
|
|
|
export const VALUE_IS_INVALID = (propertyPath: string) =>
|
|
|
|
|
|
`The value at ${propertyPath} is invalid`;
|
2021-06-21 08:20:25 +00:00
|
|
|
|
export const ACTION_CONFIGURATION_UPDATED = () => "Configuration updated";
|
|
|
|
|
|
export const WIDGET_PROPERTIES_UPDATED = () => "Widget properties were updated";
|
2021-07-07 03:46:16 +00:00
|
|
|
|
export const EMPTY_RESPONSE_FIRST_HALF = () => "🙌 Click on";
|
|
|
|
|
|
export const EMPTY_RESPONSE_LAST_HALF = () => "to get a response";
|
2021-07-19 15:28:41 +00:00
|
|
|
|
export const INVALID_EMAIL = () => "Please enter a valid email";
|
2021-08-16 11:03:27 +00:00
|
|
|
|
export const DEBUGGER_INTERCOM_TEXT = (text: string) =>
|
|
|
|
|
|
`Hi, \nI'm facing the following error on appsmith, can you please help? \n\n${text}`;
|
2021-04-23 13:50:55 +00:00
|
|
|
|
|
|
|
|
|
|
export const TROUBLESHOOT_ISSUE = () => "Troubleshoot issue";
|
2021-06-03 06:18:08 +00:00
|
|
|
|
|
|
|
|
|
|
// Import/Export Application features
|
|
|
|
|
|
export const IMPORT_APPLICATION_MODAL_TITLE = () => "Import Application";
|
2021-06-04 10:56:58 +00:00
|
|
|
|
|
|
|
|
|
|
export const DELETE_CONFIRMATION_MODAL_TITLE = () => `Are you sure?`;
|
|
|
|
|
|
export const DELETE_CONFIRMATION_MODAL_SUBTITLE = (name?: string | null) =>
|
|
|
|
|
|
`You want to remove ${name} from this organization`;
|
2021-07-26 16:44:10 +00:00
|
|
|
|
|
2021-08-06 10:44:38 +00:00
|
|
|
|
//Editor Page
|
|
|
|
|
|
export const EDITOR_HEADER_SAVE_INDICATOR = () => "Saved";
|
|
|
|
|
|
|
2021-07-29 08:13:10 +00:00
|
|
|
|
// Generate page from DB Messages
|
|
|
|
|
|
|
|
|
|
|
|
export const UNSUPPORTED_PLUGIN_DIALOG_TITLE = () =>
|
|
|
|
|
|
`Couldn't auto generate a page from this datasource.`;
|
|
|
|
|
|
|
|
|
|
|
|
export const UNSUPPORTED_PLUGIN_DIALOG_SUBTITLE = () =>
|
|
|
|
|
|
`You can continue building your app with it using our Drag & Drop
|
|
|
|
|
|
Builder`;
|
|
|
|
|
|
export const UNSUPPORTED_PLUGIN_DIALOG_MAIN_HEADING = () => `Heads Up`;
|
|
|
|
|
|
|
|
|
|
|
|
export const BUILD_FROM_SCRATCH_ACTION_SUBTITLE = () =>
|
|
|
|
|
|
"Start from scratch and create your custom UI";
|
|
|
|
|
|
|
|
|
|
|
|
export const BUILD_FROM_SCRATCH_ACTION_TITLE = () => "Build with Drag & Drop";
|
|
|
|
|
|
|
|
|
|
|
|
export const GENERATE_PAGE_ACTION_TITLE = () => "Generate from a Data Table";
|
|
|
|
|
|
|
|
|
|
|
|
export const GENERATE_PAGE_ACTION_SUBTITLE = () =>
|
|
|
|
|
|
"Start with a simple CRUD UI and customize it";
|
|
|
|
|
|
|
|
|
|
|
|
export const GENERATE_PAGE_FORM_TITLE = () => "Generate from Data";
|
2021-08-16 18:04:54 +00:00
|
|
|
|
|
|
|
|
|
|
export const GEN_CRUD_INFO_DIALOG_HEADING = () =>
|
|
|
|
|
|
"Hurray! Your application is ready to use.";
|
|
|
|
|
|
export const GEN_CRUD_INFO_DIALOG_TITLE = () => "How it works?";
|
|
|
|
|
|
export const GEN_CRUD_INFO_DIALOG_SUBTITLE = () =>
|
|
|
|
|
|
"Search through your data in the table and update it using the form.";
|
|
|
|
|
|
|
2021-07-26 16:44:10 +00:00
|
|
|
|
// Actions Right pane
|
|
|
|
|
|
export const SEE_CONNECTED_ENTITIES = () => "See all connected entities";
|
|
|
|
|
|
export const INCOMING_ENTITIES = () => "Incoming entities";
|
|
|
|
|
|
export const NO_INCOMING_ENTITIES = () => "No incoming entities";
|
|
|
|
|
|
export const OUTGOING_ENTITIES = () => "Outgoing entities";
|
|
|
|
|
|
export const NO_OUTGOING_ENTITIES = () => "No outgoing entities";
|
|
|
|
|
|
export const NO_CONNECTIONS = () => "No connections to show here";
|
|
|
|
|
|
export const BACK_TO_CANVAS = () => "Back to canvas";
|
|
|
|
|
|
export const SUGGESTED_WIDGET_DESCRIPTION = () =>
|
|
|
|
|
|
"This will add a new widget to the canvas.";
|
|
|
|
|
|
export const ADD_NEW_WIDGET = () => "Add New Widget";
|
|
|
|
|
|
export const SUGGESTED_WIDGETS = () => "Suggested widgets";
|
|
|
|
|
|
export const SUGGESTED_WIDGET_TOOLTIP = () => "Add to canvas";
|
2021-08-05 13:48:51 +00:00
|
|
|
|
export const WELCOME_TOUR_STICKY_BUTTON_TEXT = () => "Next Mission";
|
2021-08-05 10:54:24 +00:00
|
|
|
|
|
|
|
|
|
|
// Data Sources pane
|
|
|
|
|
|
export const EMPTY_ACTIVE_DATA_SOURCES = () => "No active datasources found.";
|