Skip to content

Commit

Permalink
Merge pull request writer#443 from streamsync-cloud/fix-style-fixes
Browse files Browse the repository at this point in the history
fix: Style fixes
  • Loading branch information
ramedina86 authored May 24, 2024
2 parents a27855c + 922c161 commit 96fb5cc
Show file tree
Hide file tree
Showing 16 changed files with 100 additions and 90 deletions.
3 changes: 3 additions & 0 deletions apps/ai-starter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This app was created using Writer Framework.

To learn more about it, visit https://developer.writer.com/framework
15 changes: 15 additions & 0 deletions apps/ai-starter/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[tool.poetry]
name = "writer-framework-default"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.10.0"
writer = {version = "^0.6.0"}


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
22 changes: 2 additions & 20 deletions apps/default/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
# Writer Framework app

## Editing the project

```bash
poetry install
poetry run writer edit .
```

## Running the project

```bash
poetry run writer run .
```

## Deploying the project

```bash
poetry run writer deploy .
```
This app was created using Writer Framework.

To learn more about it, visit https://developer.writer.com/framework
22 changes: 2 additions & 20 deletions apps/hello/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
# Writer Framework app

## Editing the project

```bash
poetry install
poetry run writer edit .
```

## Running the project

```bash
poetry run writer run .
```

## Deploying the project

```bash
poetry run writer deploy .
```
This app was created using Writer Framework.

To learn more about it, visit https://developer.writer.com/framework
3 changes: 3 additions & 0 deletions apps/product-description-generator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This app was created using Writer Framework.

To learn more about it, visit https://developer.writer.com/framework
15 changes: 15 additions & 0 deletions apps/product-description-generator/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[tool.poetry]
name = "writer-framework-default"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.10.0"
writer = {version = "^0.6.0"}


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
23 changes: 2 additions & 21 deletions apps/quickstart/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
# Writer Framework app

## Editing the project

```bash
poetry install
poetry run writer edit .
```

## Running the project

```bash
poetry run writer run .
```

## Deploying the project

```bash
poetry run writer deploy .
```

This app was created using Writer Framework.

To learn more about it, visit https://developer.writer.com/framework
2 changes: 1 addition & 1 deletion apps/quickstart/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.poetry]
name = "writer-framework-quickstart"
name = "writer-framework-default"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
Expand Down
3 changes: 3 additions & 0 deletions apps/text-demo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This app was created using Writer Framework.

To learn more about it, visit https://developer.writer.com/framework
15 changes: 15 additions & 0 deletions apps/text-demo/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[tool.poetry]
name = "writer-framework-default"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.10.0"
writer = {version = "^0.6.0"}


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
43 changes: 21 additions & 22 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/ui/src/wds/WdsButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ button {
color: var(--buttonTextColor);
cursor: pointer;
box-shadow: var(--buttonShadow);
outline: none;
}
button:hover,
Expand Down
23 changes: 17 additions & 6 deletions src/writer/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,12 +449,23 @@ async def stream(websocket: WebSocket):


def print_init_message():
GREEN_TOKEN = "\033[92m"
END_TOKEN = "\033[0m"

print(f"""{ GREEN_TOKEN }
Writer Framework v{VERSION}
{END_TOKEN}""")
print(f"""
&@@@@@@@@@@ ,@@@@@@@@@@* @@@@@@@@@@
.@@@@@@@@@@( &@@@@@@@@@@ *@@@@@@@@*
%@@@@@@@@@@ .@@@@@@@@@@( @@@@@@@@
@@@@@@@@@@& #@@@@@@@@@@ @@@@@@
,@@@@@@@@@@, @@@@@@@@@@@ (@@@@(
&@@@@@@@@@@ .@@@@@@@@@@* @@@@
@@@@@@@@@@% %@@@@@@@@@@ .@@,
(@@@@@@@@@@. @@@@@@@@@@% %&
@@@@@@@@@@& (@@@@@@@@@@ .
*@@@@@@@@@@, @@@@@@@@@@&
@@@@@@@@@@@ ,@@@@@@@@@@*
@@@@@@@@@@# %@@@@@@@@@@
WRITER FRAMEWORK v{VERSION}""")


def print_route_message(run_name: str, port: int, host: str):
Expand Down
Binary file modified tests/backend/testapp/static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/backend/testmultiapp/app1/static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/backend/testmultiapp/app2/static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 96fb5cc

Please sign in to comment.