Skip to content

Commit dc0c37b

Browse files
committed
Docs: added feature list
1 parent e635b7d commit dc0c37b

File tree

3 files changed

+80
-18
lines changed

3 files changed

+80
-18
lines changed

CONTRIBUTING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## Installation
2+
3+
Run `bun i @mezh-hq/react-seat-toolkit` to incorporate into your project <br/>
4+
5+
## Getting started
6+
7+
- Run `bun install` to install all dependencies
8+
- Run `bun storybook` to start the storybooks dev server
9+
- Run `bun build-storybook` to build the project for a web release
10+
- Run `bun build` to build the project for a package release
11+
12+
## Commit messages
13+
14+
- We follow conventional commits during our development workflow as a good practice. More information can be found at their official [documentation](https://www.conventionalcommits.org/en/v1.0.0-beta.4/#examples)
15+
- Refer the [commitlint.config.js](https://github.com/akalanka47000/react-seat-toolkit/blob/main/commitlint.config.cjs) file for a full list of supported commit message prefixes
16+
17+
## Additional tools
18+
19+
- This project is bootstrapped with [Lefthook](https://evilmartians.com/opensource/lefthook), [Eslint](https://eslint.org/) and [Prettier](https://prettier.io/). Please make good use of them.
20+
21+
<br/>
22+
23+
## Pull request guidelines
24+
25+
- Please label your PRs with the appropriate labels
26+
- Please add a description to your PRs
27+
- Please add a screenshot or a gif to your PRs if it's a UI change
28+
- Please add a documentation update if it's a feature or a bug fix
29+

README.md

Lines changed: 47 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,59 @@
1212

1313
<br/> <br/>
1414

15-
React UI library to design and render seat layouts
15+
React UI library to design and render seat layouts. The library is still under active development and not yet ready for production use until the next major release (v1.0.0).
1616

17-
## Installation
17+
## Features
1818

19-
Run `bun i react-seat-toolkit` to incorporate into your project <br/>
19+
- **JSON based**: Define your seat layout using JSON data and retrieve it back as JSON after customization ✓
2020

21-
## Getting started
21+
- **Customizable**: Customize the layout as per your requirements
2222

23-
- Run `bun install` to install all dependencies
24-
- Run `bun storybook` to start the storybooks dev server
25-
- Run `bun build-storybook` to build the project for a web release
26-
- Run `bun build` to build the project for a package release
23+
- **Seats**
24+
- Add new seats ✓
25+
- Remove existing seats ✓
26+
- Change seat colors ✓
27+
- Change seat labels ✓
28+
- Change seat status ✓
29+
- Group seats together into categories ✓
30+
- Categorier (Manage seat categories) ✓
2731

28-
## Commit messages
32+
- **Pen**
33+
- Draw on the layout using a pen tool to create custom shapes ✓
2934

30-
- We follow conventional commits during our development workflow as a good practice. More information can be found at their official [documentation](https://www.conventionalcommits.org/en/v1.0.0-beta.4/#examples)
31-
- Refer the [commitlint.config.js](https://github.com/akalanka47000/react-seat-toolkit/blob/main/commitlint.config.cjs) file for a full list of supported commit message prefixes
35+
- **Text**
36+
- Add text to the layout ✓
37+
- Change text color ✓
38+
- Change text size ✓
39+
- Change text font weight ✓
3240

33-
## Additional tools
41+
- **Shapes**
42+
- Add shapes to the layout ✓
43+
- Change shape color ✓
44+
- Change shape size ✓
45+
- Change shape border color ✓
3446

35-
- This project is bootstrapped with [Lefthook](https://evilmartians.com/opensource/lefthook), [Eslint](https://eslint.org/) and [Prettier](https://prettier.io/). Please make good use of them.
47+
- **Sections**
48+
- Section manager ✗
49+
- Free seating sections ✗
3650

37-
<br/>
51+
- **Miscallaneous**
52+
- Add, move around and scale background images ✓
53+
- Add and move around booths ✓
54+
- Multiple element selection and deselection ✓
55+
- Bring elements to front or back ✓
56+
57+
- **Responsive**: The layout is responsive and can be viewed on any device 🛠️
58+
59+
- **Preview**: Preview the layout in a separate window 🛠️
60+
61+
- **Designer mode and User mode**: Switch between designer and user mode to enable or disable customization 🛠️
62+
- Designer mode: Enable customization
63+
- User mode: Disable customization
64+
- Add callback functions to handle seat selection
65+
66+
- **Override styles**: Override the default styles to match your application's theme 🛠️
67+
68+
## Contributing
69+
70+
Please read [CONTRIBUTING.md](https://github.com/mezh-hq/react-seat-toolkit/blob/main/CONTRIBUTING.md) for details on setting up your development environment and the process for submitting pull requests to us.

src/stories/configure.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Meta } from "@storybook/blocks";
22
import { Button, Toaster, toast } from "../components";
33

4-
export const command = "bun install react-seat-toolkit"
4+
export const command = "bun install @mezh-hq/react-seat-toolkit"
55

66
export const copy = () => {
77
navigator.clipboard.writeText(command);
@@ -14,8 +14,8 @@ export const copy = () => {
1414
<Meta title="Configure your project" />
1515

1616
<div className="h-full w-full flex flex-col justify-center items-center gap-12 text-center p-3 md:p-12">
17-
<span className="w-10/12 text-[30px] lg:text-[54px] text-center font-bold tracking-[-2px]"> Complete toolkit for seat design</span>
18-
<span className="text-[18px] lg:text-[22px] text-start font-semibold">Just one command away...</span>
19-
<Button onClick={copy} className="text-[18px] xs:text-[20px] md:text-[25px] lg:text-[28px] font-medium rounded-full p-4 px-8 sm:px-12 border bg-black text-white" >{command}</Button>
17+
<span className="w-10/12 !text-[30px] md:!text-[48px] lg:!text-[54px] text-center font-bold tracking-[-2px]"> Complete toolkit for seat design</span>
18+
<span className="!text-[18px] !lg:text-[22px] text-start font-semibold">Just one command away...</span>
19+
<Button onClick={copy} className="!text-[18px] xs:!text-[20px] md:!text-[25px] lg:!text-[28px] font-medium rounded-full p-4 px-8 sm:px-12 border bg-black text-white" >{command}</Button>
2020
</div>
2121
<Toaster/>

0 commit comments

Comments
 (0)