Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add share component #5727

Merged
merged 70 commits into from
Dec 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
698dd23
✨ Add share component
damianpumar Dec 3, 2024
7ebc3d6
✨ Rainbow
damianpumar Dec 3, 2024
c8b8515
✨ Add image and preview
damianpumar Dec 3, 2024
8029f1b
🐛 Translations
damianpumar Dec 3, 2024
1526195
✨ Share progress
damianpumar Dec 3, 2024
799a59d
🔥 Fix texts
damianpumar Dec 4, 2024
886fa48
create share page
frascuchon Dec 4, 2024
991b520
🚀 Share backend route
damianpumar Dec 4, 2024
80dc7b5
Merge branch 'feat/share-annotation-progress' of https://github.com/a…
damianpumar Dec 4, 2024
40b4ee1
fix dataset_name param
frascuchon Dec 4, 2024
1a1825c
fix: remove extra $
frascuchon Dec 4, 2024
ab7aa9a
fix: remove wrong alias and define argas as expected params
frascuchon Dec 4, 2024
0784ba1
🔥 Improve share html
damianpumar Dec 4, 2024
061e90d
Merge branch 'feat/share-annotation-progress' of https://github.com/a…
damianpumar Dec 4, 2024
7e1faa9
🚑 Improve html meta tag
damianpumar Dec 4, 2024
9cb2dde
🚑 Fix
damianpumar Dec 4, 2024
b0dcb76
🚑 Encode to base64
damianpumar Dec 4, 2024
80c936d
🐛 Fix build
damianpumar Dec 4, 2024
1893833
🐛 Fix build
damianpumar Dec 4, 2024
6b929b7
Merge branch 'feat/share-annotation-progress' of https://github.com/a…
damianpumar Dec 4, 2024
5972534
🐛 Restore package
damianpumar Dec 4, 2024
9ac9e82
🚑 Try
damianpumar Dec 4, 2024
8a6ca67
🚑 Try
damianpumar Dec 4, 2024
218c22e
Merge branch 'feat/share-annotation-progress' of https://github.com/a…
damianpumar Dec 4, 2024
eb3bf99
🚑 Rollback
damianpumar Dec 4, 2024
8bd15b2
Merge branch 'develop' into feat/share-annotation-progress
frascuchon Dec 4, 2024
a879191
Merge branch 'feat/share-annotation-progress' of https://github.com/a…
damianpumar Dec 4, 2024
ecb3b74
✨ Try
damianpumar Dec 4, 2024
314e1c5
✨ Fix package lock
damianpumar Dec 4, 2024
e432321
Merge branch 'develop' into feat/share-annotation-progress
frascuchon Dec 4, 2024
5ef4913
decode base64 to utf8
frascuchon Dec 4, 2024
f9d44ec
✨ Show share button at least 1 submitted and show rainbow every 20 su…
damianpumar Dec 5, 2024
ad54b9d
✨ Remove toast
damianpumar Dec 5, 2024
99fc231
🚑 Remove @
damianpumar Dec 5, 2024
6c15667
🚑 Improve copy
damianpumar Dec 5, 2024
8072f04
🚑 Fix copy
damianpumar Dec 5, 2024
1c2a859
✨ New endpoint
damianpumar Dec 5, 2024
7fa3bc4
final share-your-progress server page
frascuchon Dec 5, 2024
4b1c82d
✨ Improve UI
damianpumar Dec 5, 2024
725f7ce
Merge branch 'feat/share-annotation-progress' of https://github.com/a…
damianpumar Dec 5, 2024
a44ab98
review text template
frascuchon Dec 5, 2024
0c7aa71
Merge branch 'feat/share-annotation-progress' of github.com:argilla-i…
frascuchon Dec 5, 2024
775601a
✨ Add new params
damianpumar Dec 5, 2024
3b706af
Merge branch 'feat/share-annotation-progress' of https://github.com/a…
damianpumar Dec 5, 2024
c3c58e0
🚑 Add environment flag to enable share button
damianpumar Dec 5, 2024
be653f2
🚑 Show the rainbow every 10 records and show the share from 2 records…
damianpumar Dec 6, 2024
ae7854b
🚀 Improve some detail
damianpumar Dec 9, 2024
246081b
[FEATURE] Add `ARGILLA_ENABLE_SHARE_YOUR_PROGRESS` environment variab…
frascuchon Dec 9, 2024
88da15b
fix failing tests
frascuchon Dec 9, 2024
6340ecf
fix: Add default order to users progress
frascuchon Dec 9, 2024
801c941
Review og description
frascuchon Dec 9, 2024
82d2203
Revert "🚑 Add environment flag to enable share button"
frascuchon Dec 9, 2024
e9348f0
🐛 Fix pre-fetching image
damianpumar Dec 9, 2024
bf05292
Revert "Revert "🚑 Add environment flag to enable share button""
damianpumar Dec 9, 2024
ab1aef4
🐛 Add spinner
damianpumar Dec 9, 2024
2d72efe
🚀 Fix axios interceptors
damianpumar Dec 10, 2024
e038abc
🐛 Fix translation
damianpumar Dec 10, 2024
c867e96
chore: Add CHANGELOG.md
frascuchon Dec 10, 2024
624104c
docs: Add new environment variable in docs
frascuchon Dec 10, 2024
a8d2960
📝 Changelog
damianpumar Dec 10, 2024
c4632d9
fix: UI - use `last_activity_at` in the dataset list (#5741)
leiyre Dec 10, 2024
9ace1a3
Merge branch 'develop' into feat/share-annotation-progress
frascuchon Dec 10, 2024
3156040
📝 Improve image generation
damianpumar Dec 13, 2024
4b46a93
chore: increase dev version to 2.7.0
jfcalvo Dec 17, 2024
6d9e691
🐛 Fix issue on HF sign in
damianpumar Dec 17, 2024
8eabd96
Merge branch 'develop' into feat/share-annotation-progress
frascuchon Dec 18, 2024
21e7a05
chore: Update changelog
frascuchon Dec 18, 2024
6414b1a
remove extra span
frascuchon Dec 18, 2024
dbd908a
💄 Fix share preview
damianpumar Dec 18, 2024
7637707
Merge branch 'releases/2.6.0' into feat/share-annotation-progress
damianpumar Dec 18, 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
Prev Previous commit
Next Next commit
fix: remove extra $
frascuchon committed Dec 4, 2024
commit 1a1825cf9673faf95e5e42ae886d513dbe407c06
2 changes: 1 addition & 1 deletion argilla-server/src/argilla_server/_app.py
Original file line number Diff line number Diff line change
@@ -66,9 +66,9 @@
dataset_name: str = Query("dataset_name"),
dataset_id: str = Query("dataset_id"),
):
url = request.url

Check warning on line 69 in argilla-server/src/argilla_server/_app.py

Codecov / codecov/patch

argilla-server/src/argilla_server/_app.py#L69

Added line #L69 was not covered by tests

share_page = f"""

Check warning on line 71 in argilla-server/src/argilla_server/_app.py

Codecov / codecov/patch

argilla-server/src/argilla_server/_app.py#L71

Added line #L71 was not covered by tests
<!DOCTYPE html>
<html lang="en">
<head>
@@ -108,12 +108,12 @@
</head>
<body>
<script>
window.location.href = `${{window.location.origin}}/dataset/${dataset_id}/annotation-mode`;
window.location.href = `${{window.location.origin}}/dataset/{dataset_id}/annotation-mode`;
</script>
</body>
</html>"""

return HTMLResponse(content=share_page, status_code=200)

Check warning on line 116 in argilla-server/src/argilla_server/_app.py

Codecov / codecov/patch

argilla-server/src/argilla_server/_app.py#L116

Added line #L116 was not covered by tests


def create_server_app() -> FastAPI: