protofy-xyz / protofy Goto Github PK
View Code? Open in Web Editor NEWAI Supercharged LowCode Platform CMS and Framework ππ
Home Page: https://protofy.xyz/
License: MIT License
AI Supercharged LowCode Platform CMS and Framework ππ
Home Page: https://protofy.xyz/
License: MIT License
When click on element and customize its props, the right menu content should be clearly defined.
Right side menu content (input text, label, etc) is blurred.
Desired resolution
Current resolution
When drag and drop BigTitle, H1, H2, etc. components from left sidebar of visualui and save, the components should not add quotes ' " '.
When drop BigTitle and save it adds quotes to its caption
Steps to reproduce the behavior:
You should be able to select the header of any component while visually editing the page.
When trying to select the header, the top component gets selected instead of the header
Default setup
OS: MacOS, Windows 11
Browser: Chrome
After seeing some database raw data I want to be able to navigate to another section of admin panel.
Once you enter to see some database raw data, then the navigation is not working anymore
Steps to reproduce the behavior:
When you click to edit code you should be able to change to flow or prop view mode
When you click to edit code the buttons for changing mode disappears.
Steps to reproduce the behavior:
When select a color should be applied
When you select a color the element turns black
Steps to reproduce the behavior:
It should save the code and apply changes.
A blank screen appears.
Steps to reproduce the behavior:
When drop a DataCard element and save should save the current page without crash
When drop a DataCard element and save app crash
Steps to reproduce the behavior:
It seems that in this particular version of Firefox it does not show any element into the user/group/pages lists.
tested in same system with Safari and it works fine.
Thanks!
Have feedback if the program is loading the content.
Appears a white screen until the content is loaded.
Steps to reproduce the behavior:
As I've defined a device definition prior to create a device. I would like to have a dropdown or similar component to easily pick the device definition.
The device definition field when create a new device must be a dropdown showing the existing device definitions.
Steps to reproduce the behavior:
I expected that when I click on the pencil (edit) button on the webpage I created through the admin page, I would be taken to an editing interface where I could see and modify the content of the page.
After creating a page through the admin interface, when I navigate to the link of the web page and click on the pencil (edit) button to edit it, the content does not appear. Instead, the page remains stuck with a loading symbol, preventing any possibility of editing the content as intended.
Steps to reproduce the behavior:
Protofy pages should look identical when in view and edit mode.
Some pages (including landing page) look broken in edit mode.
Default setup
OS: MacOS, Windows 11
Browser: Chrome
When editing page and click on element the drop down icons (arrow-up/arrow-down) of each layer should be centered.
Layout drop down icon are not centered and rotate each time you toggle the acordion section of clicked layer
Steps to reproduce the behavior:
Expected to be able to eliminate a user in the raw view of the user visualization page.
You can press the delete button but the user still remain.
Steps to reproduce the behavior:
When you enter the view mode in the device definitions config menu, it should'nt allow you to edit the differents nodes of the esp32.
When you enter the view mode in the device definitions config menu, you can change the different nodes of the esp32 even though you cannot save the changes.
Steps to reproduce the behavior:
Hey Team,
Hope you guys are doing awesome! π Just wanted to drop a quick note about a snag we hit with the app. We were all set to show off some cool stuff to a bunch of friends, but ran into a bit of a hiccup with user creation.
Here's what went down:
Error inserting initialData for: groups
Erro: ZodError: [
{
"code": "invalid_type",
"expected": "boolean",
"received": "undefined",
"path": [
"admin"
],
"message": "Required"
}
]
at Object.get error [as error] (/Users/marc/Documents/protofy/Protofy/node_modules/zod/lib/types.js:43:31)
at ZodObject.parse (/Users/marc/Documents/protofy/Protofy/node_modules/zod/lib/types.js:142:22)
at DerivedModel.validate (/Users/marc/Documents/protofy/Protofy/packages/protolib/base/ProtoModel.ts:137:21)
at DerivedModel.create (/Users/marc/Documents/protofy/Protofy/packages/protolib/base/ProtoModel.ts:97:173)
at /Users/marc/Documents/protofy/Protofy/packages/protolib/api/lib/generateApi.ts:61:55
at Array.map (<anonymous>)
at CreateApi (/Users/marc/Documents/protofy/Protofy/packages/protolib/api/lib/generateApi.ts:58:102)
at AutoAPI (/Users/marc/Documents/protofy/Protofy/packages/protolib/api/lib/generateApi.ts:27:21)
at Object.<anonymous> (/Users/marc/Documents/protofy/Protofy/packages/protolib/bundles/groups/groupsAPI.ts:4:33)
at Module._compile (node:internal/modules/cjs/loader:1233:14) {
issues: [
{
code: 'invalid_type',
expected: 'boolean',
received: 'undefined',
path: [Array],
message: 'Required'
}
],
addIssue: [Function (anonymous)],
addIssues: [Function (anonymous)],
errors: [
{
code: 'invalid_type',
expected: 'boolean',
received: 'undefined',
path: [Array],
message: 'Required'
}
]
}
to reproduce:
git clone repo
node prepare.js
yarn
yarn start-dev-latest
Totally get that bugs are part of the game, just hoping you can help us get this sorted out soon. Really psyched to get back to using the app to its full potential!
Cheers and thanks a ton!
Marc Palau
I expected the deviceSub function, when given a specific topic, to return only the messages associated with that topic.
The deviceSub function, when used with two parameters (topic, callback), is returning all messages by the callback regardless of the specified topic.
Workspace selector should display available workspaces with correct alignment
The workspace selector shows available workspaces missaligned
Steps to reproduce the behavior:
The create page wizzard allows the user to select a template to create the page, there is a button with caption "next" that should appear after the template thumbnails.
The "next" button appears on top of the last template thumbnails
Steps to reproduce the behavior:
When you select and element in the page editor a menu should appear to edit its props.
If a comment is present on the source code the props menu doesn't appear.
import { UIWrapLib, UIWrap, BigTitle, PageGlow, withSession, Page, useEdit, Center, RainbowText, API, SSR} from "protolib"
import { DefaultLayout, } from "../../../layout/DefaultLayout"
import { Protofy } from 'protolib/base'
const isProtected = Protofy("protected", false)
const PageComponent = (props) => {
return (
<Page height="99vh">
{/* <BigTitle>Hello</BigTitle> */}
</Page>)
}
const cw = UIWrapLib('@my/ui')
export default {
route: Protofy("route", "testpage"),
component: (props) => useEdit(
() => PageComponent(props), {
...UIWrap("DefaultLayout", DefaultLayout, "../../../layout/DefaultLayout"),
...cw("YStack", YStack),
...cw("Spacer", Spacer),
...cw("Text", Text),
...cw("XStack", XStack),
...cw("Paragraph", Paragraph),
...cw("Theme", Theme)
}, "/packages/app/bundles/custom/pages/testpage.tsx"),
getServerSideProps: SSR(async (context) => withSession(context, isProtected?Protofy("permissions", []):undefined))
}
Default setup
OS: MacOS, Windows 11
Browser: Chrome
I should be able to communicate though mqtt between my pc and my devices.
I try to use mqtt to communicate with my device and I can't.
Steps to reproduce the behavior:
You should be able to edit the page by clicking on the "Edit Page File" option at page menu.
The "Edit Page File" option crashes.
Default setup
OS: MacOS, Windows 11
Browser: Chrome
Need to use a temperature and humidity sensor for a project and it doesn't appear the node in the device definitions.
The temperature and humidity sensor is the DHT22.
Be able to type at any speed on the VisualUI BigTitle element
An infinite updates loop occurs that doesn't stop unless you press another random keys very quickly.
I want to have a type number with the modifiers .optional() and .hint()
I have a zod schema with a z.number().optional().hint() property. When I try to add a new object, it crashes this part, returning an error of "Expected number, recieved string"
Steps to reproduce the behavior:
api-dev should keep working as usual when changing its content
After changing its content, api-dev crashes. Works good for the first "save", but then crashes after second one.
We have also seen that the CPU usage goes to 100% when running the project.
Steps to reproduce the behavior:
Default setup
OS: Windows 11
EdiciΓ³n Windows 11 Home
VersiΓ³n 22H2
Instalado el β21/β10/β2023
VersiΓ³n del sistema operativo 22621.3007
Experiencia Windows Feature Experience Pack 1000.22681.1000.0
Browser: Chrome
Environment: dev (start-dev-full)
Hardware: Chuwi LarkBox X
Nombre del dispositivo DESKTOP-FFUDIMA
Procesador Intel(R) N100 800 MHz
RAM instalada 12,0 GB (11,7 GB usable)
Identificador de dispositivo CD0EC0D5-A81E-4D6F-A5A1-97D29F1314C4
Id. del producto 00356-02440-92629-AAOEM
Tipo de sistema Sistema operativo de 64 bits, procesador basado en x64
LΓ‘piz y entrada tΓ‘ctil La entrada tΓ‘ctil o manuscrita no estΓ‘ disponible para esta pantalla
You should be able to change the size of the code tab without loosing the top menu access
The menu moves to the right, hiding and preventing access to the menu
Steps to reproduce the behavior:
When new admin page added, the route should be the same as the others (in this case: /admin/"pageName")
The route is '/pageName' (excluding '/admin'), which causes navigation difficulties through the admin panel
Steps to reproduce the behavior:
Add videos images or any other relevant info
I should be able to compile the website
I run the command "yarn web:build" and a build error appears in the logs.
Steps to reproduce the behavior:
When you drag a wire in the device definitions, it appears the components and the possibility to search a node.
When you drag a wire in the device definitions, it appears the components and the possibility to search a "nodel". The final 'l' is not needed.
Steps to reproduce the behavior:
If an element doesn't accept childrens the system should not allow to drop components inside
The system allows to drop a react element inside another that can't render childrens and the element disappears.
Default setup
OS: MacOS, Windows 11
Browser: Chrome
The current protofy
starter project provides a JSX generic API for frontend (React) usage exported in Protolib Package. However, there's a need to extend its functionality to include a TypeScript-friendly generic API for backend usage. This feature request aims to address this need. This feature request does not aim to replace or remove the existing JSX generic API but rather to complement it with TypeScript support.
We find out that protolib's exported API is not compatible with IoT Router Api template.
This is the current protolib package API file:
https://github.com/Protofy-xyz/Protofy/blob/main/packages/protolib/base/Api.ts
Be able to launch a new fork of Protofy-internal in my computer for the first time.
When trying to use yarn to launch the project it reply with an error.
Steps to reproduce the behavior:
You should be able to change the size of the code tab whenever it is open
If you access the code tab first, without going through the flows tab, you cannot change the size of the code tab
Steps to reproduce the behavior:
Expected to be able to interact with a GPIO Switch that have capital letters in its name
You are unable to interact with a GPIO Switch component via mqtt
Steps to reproduce the behavior:
Should be able to edit the properties after open flows editor.
Once you open the flows editor you can't edit properties again.
Steps to reproduce the behavior:
I currently need to integrate an ESP32 with sensors in a location where there is bad inalambric connectivity.
CodeInLine component should be resolve to correct import from protolib
The import name is wrong so when you save and adds the import it crash the page.
Steps to reproduce the behavior:
Uploading codinline.mp4β¦
When add some custom text on BigTitle component should preserve the input character introduced by the user.
When write characters like "<" is changed for " <".
Steps to reproduce the behavior:
I should be able to type "1" repeated times and see the feedback on the screen the first time that I drag and drop the widget.
The "Big title" text gets "frozen" after typing the first "1". It seems that it happens the first time. If I try it with other numbers, seems to work fine. Once you refresh the page, the first time you drag and drop the big title widget, the error appears again.
Steps to reproduce the behavior:
Need to add a filter for a light sensor for the project directly from the device defintions site, so the sensor outputs the values that we want.
We used the following code directly on the yaml and it seems to work correctly
sensor:
light sensor used: LDR LM393
Should be able to drag n drop TwiterIcon, save and correctly load page content
Drag n drop TwiterIcon from visualui, save but when updates page content the page doesn't compile .
Steps to reproduce the behavior:
We need to use a hidroponic monitoring kit for a project, and we should add the sensor node from the device definitions.
Hidroponic monitoring kit used: https://microfire.co/buy/hydroponic-monitoring-kit.
Github repo yaml of this kit: https://github.com/u-fire/ESPHomeComponents/blob/master/example_ec_ph_ntc.yaml
In PROD mode you should not see the Visual UI edit bubble (pencil).
You can see and interact with the bubble. When you interact with it, it crashes.
Steps to reproduce the behavior:
Create and edit popups in the admin panel (DataView) should contain titles
The titles are not visible
Steps to reproduce the behavior:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.