Logic-Blocks

code branch

Block inventory

  1. Add each block to the patchwork, review the information in the block settings, and describe what the purpose of it is.

  2. After you have gone through all blocks in a section, write a general explanation of what the blocks in the section do.

code branch

Authentication Logic

Login

 

Signup

 

Logout

 

Change password

 

Reset password

 

Section description

Authentication Logic is used to:

 

 

 

code branch

Navigation logic

Is Loggedin

 

Check Group Membership

 

Go Back

 

Toggle drawer

 

Toggle Context Menu

 

Toggle Sort Menu

 

If Condition

 

Section description

Navigation Logic is used to:

 

 

 

code branch

Native App logic

Open map

 

Open Camera/Gallery

 

Add to calendar

 

Go to settings

 

Open web page

 

PDF Download

 

Section description

Navigation App Logic is used to:

 

 

 

code branch

Data refresh logic

Refresh patchwork

 

Refresh user groups

 

Section description

Data Refresh Logic is used to:

 

 

 

User management logic

 

Create user

 

Update user

 

Delete user

 

Get user

 

Section description

User management logic is used to:

 

 

 

code branch

Dataset management logic

Add to dataset

 

Remove from dataset

 

Update item from dataset

 

Fetch dataset

 

Section description

Dataset management logic is used to:

 

 

 

code branch

Group Logic

Make a user a member of group(s)

 

Remove a user from group

 

Toggle user group membership

 

Section description

Group logic is used to:

 

 

 

code branch

Push notification logic

Request push permissions

 

Revoke push permissions

 

Check push permissions

 

Send push notification

 

Section description

Push notification logic is used to:

 

 

 

code branch

State logic

Set state

 

Get state

 

Section description

State logic is used to:

 

 

 

code branch

Global storage logic

 

Set global storage

 

Get global storage

 

Section description

Global storage logic is used to:

 

 

 

code branch

Variable logic

Set variable

 

Section description

Variable logic is used to:

 

 

 

code branch

Data logic

 

Date Manipulation

 

Date Query

 

Get Date Unit

 

Parse Number

 

Math

 

String manipulation

 

String conditional

 

New value

 

JSON values to list

 

JSON manipulation

 

JSON to String

 

String to JSON

 

Get list length

 

List shifting

 

List manipulation

 

 

List conditional

 

Device

 

Encode/Decode

 

Section description

Data logic is used to: