-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consent type form and list #62
Comments
@danjohnson77 Hi Daniel. Would you mind helping us with this task? You will need an update on backend and frontend to see the new API. Best. |
@atompie Hi Risto, hope alls well! Just getting back to my desk after traveling last week, happy to take this on! Will update all before starting, thanks! Also noted the PR format mentioned in the active PR, will follow that standard 👍🏼 |
@danjohnson77 thanks Daniel. Have a safe travel :) |
@atompie Just want to confirm you'd like the Consent Types listed using the Properties component, like in Profile Details? Or if not, is there an existing list component you'd like it based on? |
@danjohnson77 I'd rather use something else. Could you suggest something? |
We do not have a list component for now. Some say that this can be used to build a decent list componet. |
@atompie If it's just list the title and delete, the Key Value form could work at least as a starting point For some reason when I go to npm install off the current master branch I'm getting dependency errors, seeing anything like that on your end? |
No. We use yarn. Did you make a source update on your fork? |
maybe you could delete package.lock |
That's why I need the second cup of coffee lol, working now thanks. You can clone the consent-type branch on my fork and look at /tryout, let me know if that's what you're looking for in terms of the add form. |
@danjohnson77 OK. BTW. We opened a slack channel for better communication on none issue related talks would you like to join? https://join.slack.com/t/tracardi/shared_invite/zt-znlomuhd-fatn3qxuI7VO9sBlHk~NhA |
@atompie Sounds great, just joined! |
Endpoints:
Form components:
Use Mui components
"id": , : Hidden
"name": input,
"description": textarea,
"revokable": switch,
"default_value": select[grant|deny]
Styling
Use TuiForm for styling:
https://github.com/Tracardi/tracardi-gui/tree/master/src/components/elements/tui
Example:
https://github.com/Tracardi/tracardi-gui/blob/master/src/components/elements/details/ProfileDetails.js
The text was updated successfully, but these errors were encountered: