Skip to content

Commit

Permalink
Automatic commit from Bubble
Browse files Browse the repository at this point in the history
  • Loading branch information
elibeachy committed Jul 11, 2022
0 parents commit 0dc0900
Show file tree
Hide file tree
Showing 7 changed files with 93 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 elibeachy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This is a repository based on the [Bubble](https://bubble.io) plugin '1T - Get Raw Field Names'. This lets you use Github's functionality in terms of version control, forks and pull requests. Note that the the plugin code is stored on Bubble's servers, and you need to synchronize your repository in the Bubble Plugin Editor.

This plugin can be used in [Bubble applications](https://bubble.io).
29 changes: 29 additions & 0 deletions actions/AAC-850m6/client.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
function(properties, context) {


//Load any data

if (properties.thing !== null) {
let fieldNames = properties.thing.get(0,1)[0].listProperties();

let length = fieldNames.length;


let i, fields = "Your field names are: \n";


for (i = 0; i < length; i++) {

fields += fieldNames[i] + '\n';

}
console.log(fields)
window.alert(fields)

} else alert('Whoa there, Hoss! The data search you entered was empty. Feed me some data!');

//Do the operation



}
16 changes: 16 additions & 0 deletions actions/AAC-850m6/params.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"category": "plugins",
"display": "Get Field Names test",
"fields": {
"AAD": {
"caption": "The Thing",
"doc": "Just do a search for the data type (Thing) you want to see the fields for and when this action is run it will show a standard browser alert with the field data",
"editor": "DynamicValue",
"is_list": true,
"name": "thing",
"rank": 0,
"value": "_any_thing"
}
},
"type": "client_side"
}
8 changes: 8 additions & 0 deletions actions/AAC-850m6/server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
function(properties, context) {






}
11 changes: 11 additions & 0 deletions meta_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"categories": {
"0": "data (things)",
"1": "productivity",
"2": "technical"
},
"description": "An easy way to grab the raw field names Bubble uses (ie name__text, age__number)",
"image": "//s3.amazonaws.com/appforest_uf/f1592236652121x241542268463671650/noun_Info_2691046%20%281%29.png",
"license": "open_source",
"name": "1T - Get Raw Field Names"
}
5 changes: 5 additions & 0 deletions shared_tech_params.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"use_jquery": true
}
}

0 comments on commit 0dc0900

Please sign in to comment.