Rex Dri issueshttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues2020-06-14T13:25:19Zhttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/184Add stats regarding feedback completion2020-06-14T13:25:19ZFlorent ChehabAdd stats regarding feedback completionCompute basics statistics (dayly) regarding what is the percentage of exchange with feedbacks, how many new feedbacks, etc.Compute basics statistics (dayly) regarding what is the percentage of exchange with feedbacks, how many new feedbacks, etc.PR-P20Maxime EmschwillerMaxime Emschwillerhttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/177Filter: give more suggestions & merge IM, GSM, GM ?2020-05-24T18:53:21ZFlorent ChehabFilter: give more suggestions & merge IM, GSM, GM ?> Dans la recherche, si je commence à taper « IM » dans le filtre par branche, seules quelques filières apparaissent. Je ne trouve pas « IM-CMI ». Il faut taper CMI pour faire apparaître IM-CMI et GSM-CMI (nécessité de garder les deux ?)> Dans la recherche, si je commence à taper « IM » dans le filtre par branche, seules quelques filières apparaissent. Je ne trouve pas « IM-CMI ». Il faut taper CMI pour faire apparaître IM-CMI et GSM-CMI (nécessité de garder les deux ?)PR-P20Estelle VeisemburgerEstelle Veisemburgerhttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/176Add switch to only show exchanges with feedback on univ page2020-05-11T07:19:41ZFlorent ChehabAdd switch to only show exchanges with feedback on univ pageAs we can see on the screenshot bellow, most of exchanges are 'empty': nossing was contributed by the student concerned by the exchange.
The objective here is to add a switch next to `branch` to show only exchanges with contributions.
(...As we can see on the screenshot bellow, most of exchanges are 'empty': nossing was contributed by the student concerned by the exchange.
The objective here is to add a switch next to `branch` to show only exchanges with contributions.
(the switch should be active by default and if no exchanges match add a button to easily switch back it off)
:warning: think about the behavior we want when coming back to the page, etc.
![Screenshot_from_2020-04-04_13-29-40](/uploads/0fd9561aa15731381873df583ea9be05/Screenshot_from_2020-04-04_13-29-40.png)PR-P20Imane MisrarImane Misrarhttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/175map: add legend2020-04-25T16:44:44ZFlorent Chehabmap: add legendAdd legend to explain what are the two colors.
* [ ] Create a legend component
* [ ] Overlay on top of the map
* [ ] Works for both in dark and light mode
![Screenshot_from_2020-04-04_12-56-46](/uploads/00f54ed50444817f8103ca5289e8a7f7...Add legend to explain what are the two colors.
* [ ] Create a legend component
* [ ] Overlay on top of the map
* [ ] Works for both in dark and light mode
![Screenshot_from_2020-04-04_12-56-46](/uploads/00f54ed50444817f8103ca5289e8a7f7/Screenshot_from_2020-04-04_12-56-46.png)
PR-P20Estelle VeisemburgerEstelle Veisemburgerhttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/174Keep track of the latest contributions, add it to the front home page.2020-06-07T12:26:23ZFlorent ChehabKeep track of the latest contributions, add it to the front home page.* Track the latest contributions to the website (in the backend),
* On the front page, display something like:
```
Dernières contributions
---
Le 20/04 : Université ...
Université ...
Le 19/04: Toto ...
```
Or something ...* Track the latest contributions to the website (in the backend),
* On the front page, display something like:
```
Dernières contributions
---
Le 20/04 : Université ...
Université ...
Le 19/04: Toto ...
```
Or something else.
The main point here is to show how lively the website is.PR-P20Gautier DauresGautier Daureshttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/173Redesign Home page2020-03-21T17:37:28ZFlorent ChehabRedesign Home pageMake it more appealing, move update info elsewhere.
Possibilities:
* Add map
* last updatedMake it more appealing, move update info elsewhere.
Possibilities:
* Add map
* last updatedPR-P20https://gitlab.utc.fr/rex-dri/rex-dri/-/issues/172Add a bloc related to special partnerships with univsersities2019-09-12T14:19:27ZFlorent ChehabAdd a bloc related to special partnerships with univsersities* Should be opened to anyone,
* To be used for special stuff (like césure at UTSEUS)* Should be opened to anyone,
* To be used for special stuff (like césure at UTSEUS)https://gitlab.utc.fr/rex-dri/rex-dri/-/issues/154Material-UI slider as number input2020-03-21T17:39:12ZFlorent ChehabMaterial-UI slider as number inputhttps://material-ui.com/components/slider/https://material-ui.com/components/slider/PR-P20https://gitlab.utc.fr/rex-dri/rex-dri/-/issues/149Last visited universities2020-06-07T12:16:19ZFlorent ChehabLast visited universitieshttps://gitlab.utc.fr/rex-dri/rex-dri/issues/149
Backend:
1. Create an intermediate model (LastVisitedUniversity) between the user and university models
* This model contains 3 fields : one for user (foreign key) , one for universi...https://gitlab.utc.fr/rex-dri/rex-dri/issues/149
Backend:
1. Create an intermediate model (LastVisitedUniversity) between the user and university models
* This model contains 3 fields : one for user (foreign key) , one for university (foreign key) and one for lastClickOnUniversity (DateTimeField: auto_now = True)
2. Create a viewset to update the previous model when a user looks at a university (get inspired by https://gitlab.utc.fr/rex-dri/rex-dri/-/blob/dev/backend/backend_app/viewsets.py#L316).
Endpoint: /lastVisitedUniversities
req POST endpoint/<pk_univ> => Create LastVisitedUniversity(user=req.user, university=University.get(pk=<pk_univ>), ~~ts=now()~~)
req GET endpoint => return List[LastVisitedUniversity.where(user=req.user).orderby(ts DESC).first(5)] (list[int] === List[<pk_univ>])
SQL:
```sql
SELECT university, max(ts) as ts
FROM LastVisitedUniversity
WHERE
USER = <req.user.pk>
GROUP BY university
ORDER BY ts DESC
LIMIT 5;
```
other => Return 404
Frontend:
1. When visiting university: make POST request (https://gitlab.utc.fr/rex-dri/rex-dri/-/blob/dev/frontend/src/components/recommendation/view/View.jsx#L676 use the useApiCreate() hook)
2. Create component to show last visited univ (and mention REX-DRI private)
PR-P20Imane MisrarImane Misrarhttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/148Filter only on currently available destinations2020-05-17T15:54:44ZFlorent ChehabFilter only on currently available destinations## Objective
* Being able to filter only on open destinations, [on the map and search pages (it's the same component)](https://rex.dri.utc.fr/app/map/)
## Context
### Back
* Every night, the UTC DRI data are copied from the DSI to RE...## Objective
* Being able to filter only on open destinations, [on the map and search pages (it's the same component)](https://rex.dri.utc.fr/app/map/)
## Context
### Back
* Every night, the UTC DRI data are copied from the DSI to REX-DRI [source](https://gitlab.utc.fr/rex-dri/rex-dri/-/blob/dev/backend/cron_tasks.py#L38)
* You should be able to plug yourself in the [`__import_opened_destinations` method](https://gitlab.utc.fr/rex-dri/rex-dri/-/blob/dev/backend/external_data/management/commands/utils.py#L199) and the [`update` method](https://gitlab.utc.fr/rex-dri/rex-dri/-/blob/dev/backend/external_data/management/commands/utils.py#L76), to track which partners are "open" on the UTC ENT.
* You should also know (and maybe use -- it's up to you) that some denormalized data is updated every night on the [`University` model](https://gitlab.utc.fr/rex-dri/rex-dri/-/blob/dev/backend/backend_app/models/university.py#L72). This is the data that is used for filtering.
### Front
* The filter Component is [here][https://gitlab.utc.fr/rex-dri/rex-dri/-/blob/dev/frontend/src/components/filter/Filter.jsx)
* The filtering itself is handled within the [`FilteringService` class](https://gitlab.utc.fr/rex-dri/rex-dri/-/blob/dev/frontend/src/services/FilterService.js)
Have fun :tada:
Bonus point if you throw some [transaction](https://docs.djangoproject.com/fr/2.2/topics/db/transactions/#controlling-transactions-explicitly) somewhere :rolling_eyes: PR-P20Imane MisrarImane Misrarhttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/146Filter: last known active semester of a univ2020-05-03T18:55:22ZFlorent ChehabFilter: last known active semester of a univActivate it by defaultActivate it by defaulthttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/145Automatically clear user infos five years after the last connect2019-07-03T06:45:20ZFlorent ChehabAutomatically clear user infos five years after the last connectDon't forget to test itDon't forget to test ithttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/144Reload notifications every hour2020-05-31T09:49:22ZFlorent ChehabReload notifications every hourMake sure people don't miss important information even if they keep the app open.Make sure people don't miss important information even if they keep the app open.PR-P20https://gitlab.utc.fr/rex-dri/rex-dri/-/issues/138Add reminder to contribute for previous exchanges2020-05-06T18:57:09ZFlorent ChehabAdd reminder to contribute for previous exchanges**We should do our best to encourage students to contribute to the platform.**
Under the following constraints:
* There is no way for us to know for sure that a student has contributed for each of his or her real exchanges.
* We only kn...**We should do our best to encourage students to contribute to the platform.**
Under the following constraints:
* There is no way for us to know for sure that a student has contributed for each of his or her real exchanges.
* We only know about the student exchanges that he or she has given authorization to the DSI to share with REX-DRI.
So creating a smart / deterministic reminder might be too complicated.
*Sending reminder by emails, is out of the scope of this project.*
One possibility would be recurring notification, that show up once every few weeks / months after the last time the person has clicked on the popup.
PR-P20https://gitlab.utc.fr/rex-dri/rex-dri/-/issues/136Better parsing DRI comment on offer2020-03-21T17:40:56ZFlorent ChehabBetter parsing DRI comment on offerPR-P20https://gitlab.utc.fr/rex-dri/rex-dri/-/issues/129Change authentification to SIMDE portal2020-04-22T18:56:13ZFlorent ChehabChange authentification to SIMDE portalhttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/128Add univertity to a recommendation list from univPage2019-06-23T14:57:16ZFlorent ChehabAdd univertity to a recommendation list from univPagehttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/125Add search in multiselect2019-06-22T12:03:38ZFlorent ChehabAdd search in multiselect=> limit rendering time for ultra large list=> limit rendering time for ultra large listhttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/123Support pagination in DRF and frontend2019-06-30T16:23:30ZFlorent ChehabSupport pagination in DRF and frontendEspecially this endpoint has to be paginated: http://localhost:8000/api/exchangeFeedbacks/Especially this endpoint has to be paginated: http://localhost:8000/api/exchangeFeedbacks/https://gitlab.utc.fr/rex-dri/rex-dri/-/issues/112Switch to standard JSON schema validation in the backend2019-04-21T17:52:19ZFlorent ChehabSwitch to standard JSON schema validation in the backendhttps://json-schema.org/understanding-json-schema/index.htmlhttps://json-schema.org/understanding-json-schema/index.html