Skip to content

Commit 2a2a916

Browse files
authored
Merge branch 'aws:main' into 32teeth/fix/long-word-wrapping
2 parents a9011c5 + 03b3355 commit 2a2a916

File tree

6 files changed

+3086
-369
lines changed

6 files changed

+3086
-369
lines changed

README.md

Lines changed: 44 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,60 @@
1+
12
# Mynah UI
2-
### *A Data & Event Drivent Chat Interface Library for Browsers and Webviews*
3+
> *A Data & Event Driven Chat Interface Library for Browsers and Webviews*
34
4-
### [Live Demo](https://aws.github.io/mynah-ui/)
5-
### [API Docs](https://aws.github.io/mynah-ui/api-doc/index.html)
5+
[![PR](https://github.com/aws/mynah-ui/actions/workflows/new_pr.yml/badge.svg?branch=main)](https://github.com/aws/mynah-ui/actions/workflows/new_pr.yml)
6+
[![Beta](https://github.com/aws/mynah-ui/actions/workflows/beta.yml/badge.svg?branch=main)](https://github.com/aws/mynah-ui/actions/workflows/beta.yml)
7+
[![Publish](https://github.com/aws/mynah-ui/actions/workflows/publish.yml/badge.svg?branch=main)](https://github.com/aws/mynah-ui/actions/workflows/publish.yml)
8+
[![Deploy](https://github.com/aws/mynah-ui/actions/workflows/deploy.yml/badge.svg?branch=main)](https://github.com/aws/mynah-ui/actions/workflows/deploy.yml)
69

7-
As you can understand from the title too, **Mynah UI** is a **_data and event_** driven chat interface for browsers and webviews on IDEs or any platform which supports latest web technologies which is also used by Amazon Q for [VSCode](https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.aws-toolkit-vscode) and [JetBrains](https://plugins.jetbrains.com/plugin/11349-aws-toolkit--amazon-q-codewhisperer-and-more) comes together with AWS Toolkit extension.
10+
**Mynah UI** is a **_data and event_** driven chat interface designed for browsers and webviews on IDEs or any platform supporting the latest web technologies. It is utilized by Amazon Q for [VSCode](https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.aws-toolkit-vscode) and [JetBrains](https://plugins.jetbrains.com/plugin/11349-aws-toolkit--amazon-q-codewhisperer-and-more), and is included with the AWS Toolkit extension.
811

9-
Since it is not depending on any framework or a UI library, you can use it inside any web based project without a hassle. Reason behind that decision is to keep it highly configurable for theming to support various use cases. It works standalone, you just need to tell it where to render on the DOMTree.
12+
Mynah UI operates independently of any framework or UI library, enabling seamless integration into any web-based project. This design choice ensures high configurability for theming, supporting various use cases. It functions as a standalone solution, requiring only a designated rendering location within the DOMTree.
1013

11-
Please continue with one of the following guides:
14+
## Table of contents
15+
- [Quick links](#quick-links)
16+
- [Setup, configuration and use](#setup-configuration-and-use)
17+
- [Guides and documentation](#guides-and-documentation)
18+
- [Preview](#preview)
19+
- [Supported Browsers](#supported-browsers)
20+
- [Security](#security)
21+
- [License](#license)
1222

13-
## How to setup, configure and use Mynah UI
14-
### [Startup Guide](./docs/STARTUP.md)
15-
### [Constructor Properties](./docs/PROPERTIES.md)
16-
### [Configuration](./docs/CONFIG.md)
17-
### [How to use MynahUI](./docs/USAGE.md)
18-
### [Data Model](./docs/DATAMODEL.md)
19-
### [Styling Configuration](./docs/STYLING.md)
23+
### Quick links
24+
* [Live Demo](https://aws.github.io/mynah-ui/)
25+
* [API Docs](https://aws.github.io/mynah-ui/api-doc/index.html)
2026

21-
and
27+
### Setup, configuration and use
2228

23-
### [Developer Guidelines (Contribution)](./docs/DEVELOPER.md)
29+
>[!TIP]
30+
> Local environment quick start
31+
```console
32+
git clone [email protected]:aws/mynah-ui.git
33+
cd mynah-ui
34+
npm run dev
35+
```
2436

25-
<p align="center">
26-
<img src="./docs/img/splash.gif" alt="MynahUI" style="max-width:1280px; width:100%;border: 1px solid #e0e0e0;">
27-
</p>
37+
#### Guides and documentation
38+
Please refer to the following guides:
2839

29-
## Supported browsers
30-
**Mynah UI** <em>-because of it's extensive css structure-</em> only supports ever-green browsers including webkit based WebUI renderers.
40+
* [Startup guide](./docs/STARTUP.md)
41+
* [Constructor properties](./docs/PROPERTIES.md)
42+
* [Configuration](./docs/CONFIG.md)
43+
* [Usage](./docs/USAGE.md)
44+
* [Data model](./docs/DATAMODEL.md)
45+
* [Styling](./docs/STYLING.md)
46+
* [Developer guidelines (contribution)](./docs/DEVELOPER.md)
3147

48+
#### Preview
49+
![Preview](./docs/img/splash.gif)
3250

33-
## Security
51+
### Supported Browsers
3452

35-
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
53+
**Mynah UI** <em>- due to its extensive CSS structure -</em> supports only evergreen browsers, including WebKit-based WebUI renderers.
3654

37-
## License
55+
## Security
3856

39-
This project is licensed under the Apache-2.0 License.
57+
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
4058

59+
# License
60+
[Apache 2.0 License.](LICENSE)

example/README.md

Lines changed: 43 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,60 @@
1-
# Mynah UI Example (IDE look&feel)
1+
2+
# Mynah UI Example (IDE look & feel)
3+
4+
## Project Description
5+
6+
Mynah UI Example provides an interactive environment to demonstrate the features and capabilities of the Mynah UI library. This example mimics an IDE look and feel to showcase live changes and dynamic updates as you modify the UI library.
7+
8+
## Table of Contents
9+
10+
- [Setup, configuration and use](#setup-configuration-and-use)
11+
- [How to use the project](#how-to-use-the-project)
12+
- [Supported browsers](#supported-browsers)
13+
- [Additional information](#additional-information)
14+
15+
### Setup, configuration and use
216

317
To start the example, simply run the following script through your terminal in the root folder.
418

5-
```console
6-
npm install && npm run watch & cd ./example && npm install && npm run watch
19+
>[!TIP]
20+
> Local environment quick start
21+
```bash
22+
# local git already cloned
23+
npm run dev
724
```
825

9-
After the whole script runs, go to the folder `./example/dist` and open `index.html` in your favorite ever-green borwser.
26+
After the script runs, open your browser and go to `http://localhost:9000` to see the example.
27+
28+
#### Preview
29+
![Preview](./docs/img/splash.gif)
30+
31+
The steps in the script are as follows:
32+
- First, it cleans the project by removing `dist` and `node_modules` directories.
33+
- Then, it installs the dependencies.
34+
- After that, it builds the project.
35+
- Finally, it serves the example on port 9000 using `live-server`.
36+
- It will open a browser at `http://127.0.0.1:9000`.
1037

11-
The steps in the script as follows:
12-
- First we're installing dependencies for the `mynah-ui`
13-
- After that we're running the `mynah-ui` in watch mode since we're gonna use it lively, which means that whenever you change something on the mynah-ui library, it will take affect directly on the example app running
14-
- Now we're going into the `./example` folder and installing the dependencies of the example app.
15-
- After all, we're running the example in watch mode, to be able to see the changes take affeect immediately after we do the changes and refresh the browser tab.
38+
### How to use the project
1639

17-
If you check the dependencies of the example, you'll see that mynah-ui dependency is connected to the parent folder. Which allows us to use the mynah-ui directly from the parent folder instead of a npm dependency.
40+
If you check the dependencies of the example, you'll see that the mynah-ui dependency is connected to the parent folder, which allows us to use the mynah-ui directly from the parent folder instead of an npm dependency.
1841

19-
If you want, you can run `mynah-ui` and example scripts in separate terminals to see their watch processes separetely.
42+
If you want, you can run `mynah-ui` and example scripts in separate terminals to see their watch processes separately.
2043

21-
If you just need the builded version (no need to watch the changes) simply run the below and open the `index.html` inside `./example/dist` folder in your browser.
44+
If you just need the built version (no need to watch for changes), simply run the below and open the `index.html` inside the `./example/dist` folder in your browser.
2245

23-
From your root folder;
46+
From your root folder:
2447
```console
2548
npm install && npm run build && cd ./example && npm install && npm run build
2649
```
2750

2851
### Supported browsers
29-
**Mynah UI** <em>-because of it's extensive css structure-</em> only supports ever-green browsers including webkit based WebUI renderers.
3052

31-
---
53+
**Mynah UI** <em>-because of its extensive CSS structure-</em> only supports evergreen browsers, including WebKit-based WebUI renderers.
54+
55+
### Additional information
56+
57+
Please check the root folder [README.md](../README.md) for usage guidelines, license information, and other helpful guides.
3258

33-
#### Please do check the root folder [README.md](../README.md) for the usage guidelines, license information and other helpful guides.
59+
# License
60+
[Apache 2.0 License.](../LICENSE)

0 commit comments

Comments
 (0)