name | about | assignees |
---|---|---|
Bug Report |
Report a bug so we can fix it! |
codingwithchris |
- A short summary of the bug here.
- Build a checklist for finding & fixing the bug
# This script was inspired in part by this Delicious Brains article: https://deliciousbrains.com/wordpress-workflow-atomic-deployments/ | |
# ---------------- | |
# Configs | |
# ---------------- | |
# ------ | |
# Colors | |
# ------ | |
WHITE='\033[1;37m' |
# This file is for unifying the coding style for different editors and IDEs | |
# editorconfig.org | |
root = true | |
[*] | |
indent_style = tab | |
indent_size = 4 | |
charset = utf-8 | |
trim_trailing_whitespace = true |
// ============================================================================== | |
// Set Current Environment | |
// ============================================================================== | |
/** | |
* Define Environment/URL pairs for this project. | |
* | |
* Please include any possible URLs in each | |
* environment as these will be checked against to set an environment constant | |
* which can be easily used to create custom environment functionality and |
// Set "Manatge Stock" setting forall products | |
UPDATE table_name | |
SET meta_value = 'no' | |
WHERE meta_key = '_manage_stock' | |
// Allow backorders for all products | |
UPDATE table_name | |
SET meta_value = 'yes' | |
WHERE meta_key = '_backorders' |
UPDATE table_name | |
SET meta_value = 'instock' | |
WHERE meta_key = '_stock_status' |
import * as React from 'react'; | |
import { useViewport } from '@hooks'; | |
import { mediaQuerySizes, AvailableBreakpoint } from '@tokens'; | |
/** | |
* | |
* @param breakpoint | |
* @param mobileView | |
* @param desktopView | |
*/ |
import { createContext, useContext, useReducer, Dispatch } from 'react'; | |
/** | |
* Manages the state for our entire app | |
* | |
** For larger, more complex applications, this pattern can be split into multiiple contexts. | |
** For example: `form`, and `user` would have theor own contexts, each with their own reducer. | |
*/ | |
// Init an empty context |
Access control is critical to the security of our application. Beyond proper credential encryption, hashing, SALTing etc, access control is the next line of defense in protecting our users data.
When giving elevated access to a User for a particular part of the system, we use a methodology called RBAC. This means that we create Roles where we assign permissions and apply filter policies. These Roles then get assigned to Users who have their CRUD access to Lists, Records, and Fields determined accordingly.
export const FeatureReservation (id) => { | |
return ( | |
<ErrorBoundary fallbackComponent={ReservationError}> | |
<Suspense loading={ReservationLoading}> | |
<ReservationStateProvider> | |
<ReservationComposed id={id} /> | |
<ReservationStateProvider> | |
</Suspense | |
</ErrorBoundary> | |
) |