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

feat: be able to create scatter plots #189

Merged
merged 20 commits into from
Jul 8, 2024
Merged

Conversation

Marc-AntoineA
Copy link
Collaborator

What

Enrich the API to not only display bar charts but also scatter plots.

Screenshot

image

@Marc-AntoineA Marc-AntoineA self-assigned this Jun 25, 2024
@Marc-AntoineA Marc-AntoineA marked this pull request as draft June 25, 2024 18:43
@Marc-AntoineA Marc-AntoineA marked this pull request as ready for review June 27, 2024 14:37
Copy link
Member

@alexgarel alexgarel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Marc-AntoineA I made some comments.

Also an important thing to change: add comments, at least to every class and to big blocks of codes. At least a summary of what you are doing. (and for classes the big picture).

app/_types.py Outdated Show resolved Hide resolved
app/_types.py Outdated Show resolved Hide resolved
app/charts.py Outdated Show resolved Hide resolved
app/charts.py Show resolved Hide resolved
app/charts.py Outdated Show resolved Hide resolved
frontend/src/mixins/search-chart.ts Outdated Show resolved Hide resolved
frontend/src/mixins/search-ctl.ts Outdated Show resolved Hide resolved
app/api.py Outdated Show resolved Hide resolved
frontend/src/search-chart.ts Outdated Show resolved Hide resolved
frontend/src/mixins/search-ctl.ts Outdated Show resolved Hide resolved
Copy link
Member

@alexgarel alexgarel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Marc-AntoineA this is almost ok ! (just one mandatory thing to fix: the typing in search_get).

Thanks for this PR.

app/_types.py Outdated Show resolved Hide resolved
app/validations.py Outdated Show resolved Hide resolved
app/validations.py Outdated Show resolved Hide resolved
data/config/openfoodfacts.yml Show resolved Hide resolved
app/validations.py Outdated Show resolved Hide resolved
frontend/src/search-chart.ts Outdated Show resolved Hide resolved
frontend/src/search-chart.ts Outdated Show resolved Hide resolved
app/api.py Outdated Show resolved Hide resolved
app/api.py Outdated Show resolved Hide resolved
app/api.py Outdated Show resolved Hide resolved
@Marc-AntoineA Marc-AntoineA merged commit 92e1c1b into main Jul 8, 2024
7 checks passed
@Marc-AntoineA Marc-AntoineA deleted the vega-scatter-plot branch July 8, 2024 15:14
alexgarel pushed a commit that referenced this pull request Jul 25, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.4.0](v1.3.0...v1.4.0)
(2024-07-25)


### Features

* add default images for products without image in off.html
[#208](#208)
([#220](#220))
([e4456f3](e4456f3))
* add loader in search-results
([#209](#209))
([0ee92b5](0ee92b5))
* be able to create scatter plots
([#189](#189))
([92e1c1b](92e1c1b))
* hide chart when search is not launched
([#214](#214))
([468a4c6](468a4c6))
* update count and refacto code with Signal
([#203](#203))
([9fbec21](9fbec21))


### Bug Fixes

* move docs and fix content
([#215](#215))
([2bc06c3](2bc06c3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants