Skip to content

Commit

Permalink
Update URLs from Bitbucket to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
eliot-akira committed Oct 5, 2024
1 parent 85eed7e commit 889c89d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion example/ajax/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Test action copied from tangible-blocks, just added it so that we have an
* example of ajax action from our module to use
*
* @see https://bitbucket.org/tangibleinc/blocks/src/main/includes/block/controls/aliases/post-select.php
* @see https://github.com/tangibleinc/blocks/tree/main/includes/block/controls/aliases/post-select.php
*/

ajax\enqueue();
Expand Down
2 changes: 1 addition & 1 deletion example/register/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* Your field must be registered, otherwise you won't be able to use fetch/store_value
* See the "Registration" section for more details
*
* @see https://bitbucket.org/tangibleinc/tangible-fields-module/src/main/store.php
* @see https://github.com/tangibleinc/tangible-fields-module/tree/main/store.php
*/
<?php
};
4 changes: 2 additions & 2 deletions example/templates/introduction/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ In this example, the value of `$field_html` will be something like this:

The module keeps track of which field name/configuration is associated to which `') ?>` thanks to the id and passes all data (div id + field configuration) to the frontend. The appropriate React component is then initialized inside the correct `<div>` based on this.

Each field type is linked to a react component. You can see which field type is associated with which component in the [types.js file](https://bitbucket.org/tangibleinc/tangible-fields-module/src/main/assets/src/types.js).
Each field type is linked to a react component. You can see which field type is associated with which component in the [types.js file](https://github.com/tangibleinc/tangible-fields-module/tree/main/assets/src/types.js).

When a field is initialized, the associated config is passed to the component as react props.

To generate the JS/CSS build file, we use an internal tool called Tangible Roller (the documentation can be found [here](https://develop.tangible.one/tools/roller)).

#### Getting started

An easy way to work on the Tangible Fields module is to work from the [documentation repository](https://bitbucket.org/tangibleinc/tangible-fields-example/src/main/), which is a wordpress plugin that uses the Tangible Fields as a composer dependency.
An easy way to work on the Tangible Fields module is to work from the [documentation repository](https://github.com/tangibleinc/tangible-fields-example/), which is a wordpress plugin that uses the Tangible Fields as a composer dependency.

One advantage of working from this plugin is that all the possible fields are already included in the documentation as example, an can be used for testing.

Expand Down
2 changes: 1 addition & 1 deletion example/templates/registration/save-load.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ $fields->register_field('field-name', [

```php
/**
* @see https://bitbucket.org/tangibleinc/tangible-fields-module/src/main/store.php
* @see https://github.com/tangibleinc/tangible-fields-module/tree/main/store.php
*/
$fields->register_field('field-name', [
...$args,
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $fields = tangible_fields();
Prerequisites: [Git](https://git-scm.com/), [Node](https://nodejs.org/en/) (version 18 and above)

```sh
git clone git@bitbucket.org:tangibleinc/tangible-fields.git
git clone git@github.com:tangibleinc/tangible-fields.git
cd tangible-fields
```

Expand Down

0 comments on commit 889c89d

Please sign in to comment.