From 889c89d65499b0bf2269759758c8e615ffa2f5eb Mon Sep 17 00:00:00 2001 From: eliot-akira Date: Sat, 5 Oct 2024 12:58:09 +0200 Subject: [PATCH] Update URLs from Bitbucket to GitHub --- example/ajax/index.php | 2 +- example/register/fields.php | 2 +- example/templates/introduction/introduction.md | 4 ++-- example/templates/registration/save-load.md | 2 +- readme.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/example/ajax/index.php b/example/ajax/index.php index c09a36aa..fff9eeb0 100644 --- a/example/ajax/index.php +++ b/example/ajax/index.php @@ -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(); diff --git a/example/register/fields.php b/example/register/fields.php index 0ab265cc..66c1fb79 100644 --- a/example/register/fields.php +++ b/example/register/fields.php @@ -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 */ ` 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 `
` 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. @@ -37,7 +37,7 @@ To generate the JS/CSS build file, we use an internal tool called Tangible Rolle #### 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. diff --git a/example/templates/registration/save-load.md b/example/templates/registration/save-load.md index 8d5e46fd..a505dc57 100644 --- a/example/templates/registration/save-load.md +++ b/example/templates/registration/save-load.md @@ -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, diff --git a/readme.md b/readme.md index 6b95c833..cc93cdb4 100644 --- a/readme.md +++ b/readme.md @@ -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 ```