Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
8c0cc45
chore: bump completion default model
mmikita95 Nov 8, 2024
41f81d0
chore: reintroducing `writerai.types.chat_chat_params.Message`
mmikita95 Nov 8, 2024
d646732
chore: serialize tool calls messages with non-empty content
mmikita95 Nov 8, 2024
2f96977
chore: update `_is_serialized`
mmikita95 Nov 18, 2024
bb3683a
fix: unfinished docstring
mmikita95 Nov 18, 2024
93a4f6e
fix: also include empty non-`None` content as failing condition
mmikita95 Nov 18, 2024
8cf3151
feat: add metadata for social media sharing
FabienArcellier Oct 21, 2024
17ef41d
feat: add metadata for social media sharing
FabienArcellier Oct 28, 2024
6b1b986
feat: add metadata for social media sharing
FabienArcellier Oct 29, 2024
8e86801
feat: add metadata for social media sharing
FabienArcellier Nov 6, 2024
64672bf
feat: add metadata for social media sharing
FabienArcellier Nov 8, 2024
517d59b
feat: add metadata for social media sharing
FabienArcellier Nov 21, 2024
0d70e81
fix: update plotly to support new features as scatter_map
FabienArcellier Nov 20, 2024
e0e6643
fix: update plotly to support new features as scatter_map
FabienArcellier Nov 20, 2024
c6f28b1
fix: update plotly to support new features as scatter_map
FabienArcellier Nov 20, 2024
5e3fcb6
fix: update plotly to support new features as scatter_map
FabienArcellier Nov 21, 2024
a93b102
fix(WF-123): Fix writer versions in examples
raaymax Nov 22, 2024
efcb814
fix: linter error
raaymax Nov 22, 2024
a8f42de
fix: tests
raaymax Nov 22, 2024
030eb20
feat: state schema should accept generic dict types as typing.Dict an…
FabienArcellier Nov 24, 2024
5ea2448
feat(ui): use `BuilderSelect` for handlers + implement Design System …
madeindjs Nov 18, 2024
2ad548b
chore(ui): remove `remixicon` - WF-106
madeindjs Nov 25, 2024
66013a3
chore(ui): upgrade to Node v22
madeindjs Nov 25, 2024
94b4a29
fix: Remove unnecessary exception that caused failure when using binding
ramedina86 Nov 26, 2024
b51c36e
fix: change `object` parameter for `Chat` to comply with Pydantic val…
mmikita95 Nov 27, 2024
4998ace
fix: register `set_token` mark to avoid pytest warnings
mmikita95 Nov 27, 2024
8774f9b
Merge pull request #646 from writer/WF-123-fix-examples-versions
ramedina86 Nov 27, 2024
f32b542
chore: bump `writer-sdk` version in `pyproject.toml`
mmikita95 Nov 27, 2024
9718048
chore: Settings panels refactor and new design
ramedina86 Nov 27, 2024
b4a32b4
chore: increase github action runner size
FabienArcellier Nov 28, 2024
c789209
Merge pull request #622 from mmikita95/chore-serialize-non-empty-content
ramedina86 Nov 28, 2024
52909c2
chore(ui): improve hash parsing + test - WF-72
madeindjs Nov 28, 2024
c6bd286
Merge pull request #654 from mmikita95/fix-pytest-warnings
ramedina86 Nov 28, 2024
32a55fb
feat(ci): run frontend tests - WF-72
madeindjs Nov 28, 2024
b72f007
feat: Component icons
ramedina86 Nov 28, 2024
fa624d3
fix: Font size in Safari
ramedina86 Nov 28, 2024
fe68f6f
feat: New toolkit, component tree, sidebar refactor
ramedina86 Nov 28, 2024
0f8a653
Merge pull request #638 from madeindjs/WF-45
ramedina86 Nov 28, 2024
49d0abd
feat: New builder panels
ramedina86 Nov 28, 2024
1f79404
feat: New sidebar
ramedina86 Nov 28, 2024
6677b24
chore: Panel, sidebar refactor
ramedina86 Nov 28, 2024
4d08da1
fix: E2E tests new action collapse settings
ramedina86 Nov 28, 2024
ffc8c40
fix: E2E tests
ramedina86 Nov 29, 2024
39ee8f2
fix: E2E tests
ramedina86 Nov 29, 2024
764e8b6
fix: v-for index problem when deleting first element
ramedina86 Nov 29, 2024
b66be67
chore: Button cleanup use WDS
ramedina86 Nov 29, 2024
dc0316c
chore: Remove deprecated shortcuts
ramedina86 Nov 29, 2024
9332af1
fix: Switch BrE spelling for AmE
ramedina86 Nov 29, 2024
b910e85
Squashed commit of the following:
ramedina86 Nov 29, 2024
fd54097
Merge branch 'dev' into feat-collapsible-settings
ramedina86 Nov 29, 2024
3f91bbb
fix: Fix BuilderSelect reference
ramedina86 Nov 29, 2024
ee64a0e
Merge pull request #651 from madeindjs/upgrade-node
ramedina86 Nov 29, 2024
7d9cadf
Merge branch 'dev' into feat-collapsible-settings
ramedina86 Nov 29, 2024
35c2cd7
Merge pull request #656 from FabienArcellier/chore/increase-github-ac…
ramedina86 Nov 29, 2024
7693c23
Merge branch 'dev' into feat-collapsible-settings
ramedina86 Nov 29, 2024
4dd52d8
Merge pull request #608 from FabienArcellier/feat/547-add-metadata-fo…
ramedina86 Nov 29, 2024
8844684
Merge pull request #650 from madeindjs/WF-106
ramedina86 Nov 29, 2024
66eaa60
Merge pull request #655 from madeindjs/WF-72
ramedina86 Nov 29, 2024
129dd54
Merge pull request #640 from FabienArcellier/635-plotlyexpressscatter…
ramedina86 Nov 29, 2024
985e6cf
Merge pull request #649 from FabienArcellier/620-state-schema-does-no…
ramedina86 Nov 29, 2024
1fa48c1
Revert "chore: increase github action runner size"
ramedina86 Nov 29, 2024
c8b58e8
Merge pull request #659 from writer/revert-656-chore/increase-github-…
ramedina86 Nov 29, 2024
4f1f5dc
Merge branch 'dev' into feat-collapsible-settings
ramedina86 Nov 29, 2024
485e215
chore: bump to 1.5.0
mmikita95 Nov 29, 2024
21d4ef9
Merge branch 'dev' into fix-ai-tests-object
mmikita95 Nov 29, 2024
fcc33d3
fix: poetry lock
mmikita95 Nov 29, 2024
75c2070
fix: patch with fake_generate_content instead of replacing the original
mmikita95 Nov 29, 2024
a485084
Merge pull request #653 from mmikita95/fix-ai-tests-object
ramedina86 Nov 29, 2024
f75cbbf
fix: lint (import order)
mmikita95 Nov 29, 2024
4482992
fix: Prevent recursive calls to error handler when tool icon is missing
ramedina86 Nov 29, 2024
83fa95b
Merge pull request #660 from mmikita95/fix-block-tests-patch
ramedina86 Nov 29, 2024
f68c364
Merge pull request #621 from mmikita95/chore-model-bump-004
ramedina86 Nov 29, 2024
83a7cc4
fix: E2E
ramedina86 Nov 29, 2024
f663d43
Merge pull request #658 from writer/feat-collapsible-settings
ramedina86 Nov 29, 2024
5291c83
Merge branch 'dev' into ai-module-sdk-typing
mmikita95 Nov 29, 2024
d8a8161
Merge pull request #628 from mmikita95/ai-module-sdk-typing
ramedina86 Nov 29, 2024
b7a281b
feat: Panel keyboard shortcuts
ramedina86 Nov 29, 2024
28fe2e4
chore: Bump version
ramedina86 Nov 29, 2024
0b7a639
Merge pull request #661 from writer/feat-panel-keyboard-shortcuts
ramedina86 Nov 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"
cache: npm

- name: install python3 environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"
cache: npm

- name: install python3 environment
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/ci-ui-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: ci-ui-test
on:
push:
branches: [dev, master]
paths: ["src/ui/**"]
pull_request:
branches: [dev, master]
paths: ["src/ui/**"]

jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: npm

- name: Install dependencies
run: npm ci -w writer-ui

- name: Run tests
run: npm test -w writer-ui
2 changes: 1 addition & 1 deletion .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"
cache: npm

- name: install python3 environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"
cache: npm

- name: install python3 environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"
cache: npm

- name: install python3 environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"
cache: npm

- name: install python3 environment
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v22
15 changes: 0 additions & 15 deletions apps/ai-starter/pyproject.toml

This file was deleted.

15 changes: 0 additions & 15 deletions apps/default/pyproject.toml

This file was deleted.

15 changes: 0 additions & 15 deletions apps/hello/pyproject.toml

This file was deleted.

15 changes: 0 additions & 15 deletions apps/pdg-tutorial/pyproject.toml

This file was deleted.

15 changes: 0 additions & 15 deletions apps/quickstart/pyproject.toml

This file was deleted.

15 changes: 0 additions & 15 deletions apps/text-demo/pyproject.toml

This file was deleted.

84 changes: 84 additions & 0 deletions docs/framework/seo.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
---
title: "SEO"
mode: "wide"
---

Writer Framework offers you the possibility of optimizing metadata to optimize your SEO and the sharing of information on social networks.

### Configure page title

The page title is editable for web crawlers. This title is a key element for the SEO of your application. A bot will not load the app. It will see `Writer Framework` by default.

```python
writer.serve.configure_webpage_metadata(title="My amazing app")
```

If you need dynamic title,you can use a function instead of a hard coded parameter. The title will be evaluated when the Robot loads the page.

```python
def _title():
last_news = db.get_last_news()
return f"Last news: {last_news.title}"

writer.serve.configure_webpage_metadata(title=_title)
```

### Configure meta tags

http headers allow you to specify a title, a description and keywords which will be used by a search engine.

*./server_setup.py*
```python
writer.serve.configure_webpage_metadata(
title="My amazing app",
meta={
"description": "my amazing app",
"keywords": "WF, Amazing, AI App",
"author": "Amazing company"
}
)
```

You can also use a function to generate the meta tags dynamically.

```python
def _meta():
last_news = db.get_last_news()
return {
"description": f"Last news: {last_news.title}",
"keywords": f"{last_news.keywords}",
"author": "Amazing company"
}

writer.serve.configure_webpage_metadata(meta=_meta)
```

### Configure social networks

When you share a link on social networks, they will try to fetch the metadata of the page to display a preview.

```python
writer.serve.configure_webpage_metadata(
opengraph_tags= {
"og:title": "My App",
"og:description": "My amazing app",
"og:image": "https://myapp.com/logo.png",
"og:url": "https://myapp.com"
}
)

You can also use a function to generate the opengraph tags dynamically.

```python
def _opengraph_tags():
last_news = db.get_last_news()
return {
"og:title": f"Last news: {last_news.title}",
"og:description": f"{last_news.description}",
"og:image": f"{last_news.image}",
"og:url": f"https://myapp.com/news/{last_news.id}"
}

writer.serve.configure_webpage_metadata(opengraph_tags=_opengraph_tags)
```

Loading