Skip to content

bettyblocks/material-ui-component-set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a9bef91 · Feb 20, 2025
Feb 20, 2025
Feb 12, 2025
Oct 16, 2020
Jan 5, 2023
Feb 27, 2024
Jan 5, 2023
Jan 5, 2023
Oct 18, 2019
Jun 4, 2020
Feb 20, 2025
Sep 1, 2022
Feb 4, 2025
Apr 12, 2022
Jun 1, 2023
Oct 16, 2023
Feb 20, 2025
May 2, 2022
Feb 25, 2021
Dec 16, 2024

Repository files navigation

Build Status

A Betty Blocks Component Toolkit

This is a component set for the page builder of the Betty Blocks platform based on Material-UI.

Usage

This repository contains both the component set and the required Material-UI library. You must load this dependency into your application before you can use the component set.

If the Material-UI dependency is not yet installed in your application do this, clone this repository and run:

$ yarn bundle

This generates a bundle.js file in the dist folder containing the Material-UI library. When it's finished, follow the next tutorial to upload this file to your bettyblocks application.

https://github.com/bettyblocks/cli/wiki/Tutorial:-Use-libraries#uploading-the-dependency-to-the-betty-blocks-asset-store

Now you can get started with the component set in your application. Use the following link to learn how to use the component set.

https://github.com/bettyblocks/cli/wiki/Usage#start-the-development-server

Building and running locally

To build & run the component set locally:

  • Run yarn to install the dependencies
  • Run yarn build to build the component set
  • Run yarn start to serve the component set on port 5002

Note: If you encounter node type errors when running yarn build, try re-cloning the repo to see if the issue persists.

Our workflow

  1. Let your us know what you are working on by creating a JIRA ticket via our Techsupport department.

  2. Branch from acceptance.

    $ git checkout acceptance
    $ git pull
    $ git checkout -b feat/a-summary-of-your-ticket-{STORY-ID}
  3. Work on your feature.

  4. When you're confident about your work, submit a pull request to edge and assign it to one of the reviewers. You can comment on your techsupport ticket in Jira "In review" and provide the link to the pull request.

    • If there are conflicts, do not merge edge into your branch, you can try merging acceptance in your branch and else contact techsupport.
  5. Once the ticket is in review our tech department will either give you feedback to make changes or it will be added to the sprint of a team so that the feature can go through our testing process.

  6. Once testing is complete, the techsupport ticket will be promoted to ready for acceptance and you can create a pull request to acceptance.

  7. When your work is merged into acceptance, it will be released with the next release.

Commit messages

Commit messages should be descriptive in what kind of problem it solves or feature it implements. Like fix: this solves this bug or feat: add this feature

Further guidelines about git messages are available here: https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional

Earthly builds

Build component set and container:

earthly +docker

Now run the container:

docker run -p 5002:5002 -it component-set:latest