-
Notifications
You must be signed in to change notification settings - Fork 0
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
Issues found in alfa test of the website #1
Comments
Joaquim mentioned in the website alfa test issues that the following requires back-end changes: [ ] - The ID in the plenary title can just be 304, instead of 55_304. All plenaries visible in one screen are from the same political term, and there's the date on the right too. [ ] - ID of the motions on the Plenaries page (the blue underlined links): can you make this just "Voorstel 26, stemming 1" (and French translation) instead of "55_304_mg_26_m0"? It's not clear to me what exactly is needed at this moment. To be investigated. |
These turned out to be unexpected behavior in the front-end that needed backend changes: [x] - UX: when the Plenaries page is activated, search does not work. Do you want the displayed plenaries, motion counts and displayed motions to be filtered? Or do you intend on searching to activate the motions page, with motions filtered? Guido will take a look at these. |
Concerning the two points about renaming ID... I added a comment for the same issue in website repo. *Changing the ID to a more readable title is possible in the frontend, but if it is feasible to include that information in the data model it would be much more efficient than doing it via Typescript. |
New ones: |
The unicode characters as they are stored in the data do get translated properly and search properly. A search for Oekraïne, réunion works. |
plenary date is more difficult to much. To we expect that users type the date in the correct format? In which format? I think the serach field there is insufficient and we require a date picker when searching for dates. |
Don't understand this: trim spaces at end, due to accepting auto-suggest + auto-space append for words typed on smartphone but searchterms will get trimmed |
The search button in the frontend currently block doing a search when there are "strange" characters in there. I fixed the regular expression to accept more |
Oh. Did they implement some sort of SQL injection protection or something? I don't really see the point of checking on the frontend whether a search term is legit or not. Or is there a good reason I'm not seeing? |
You want to avoid that they can inject code or garbage. I simple extended the regular expression somehwat. |
OK. Fine. :-) |
"search keyword on plenaries page does not filter the displayed motions within motion groups." Sometimes the keyword is only in the motion groups. So if a motiongroup or one of its motions contains the keyword "guido", then it should be returned when searching for plenaries with keyword "guido". The other motiongroups for the plenary should not be displayed when it is the result of a search. When a plenary is retrieved by id, then everything of the plenary is returned. |
And added motiongroups to the FE in plenary. This wan't the case yet. |
The date picker is an option too. (1) If allowing them to type in the search field, I think it makes sense to expect them to type it in the format that we also display it on our page: dd-mm-yyyy. (2) Feel free to chose between (1) and (2) as solution! |
2 will work now that i changed the search field. just not user friendly :) |
I'll create a new, lower-prio ticket for that in the front-end. |
Cool. INdeed. I just retested, this works. |
Oh, ok. Didn't notice that. Good, then. :-) |
Then I think this one is still remaining:
Unless it's fixed but not deployed yet. |
Not necessarily true. Search for a keyword can result multple plenaries form diffeent legislatures. But if should be made more readable I agree. |
I just tested our website locally. The experience is already great! 😄 The website and backend work well together.
I think there are some small but important changes though we need to make to make it better:
[x] sort motions on descending occurence date
[x] many plenaries are missing in the plenary list on the website, whereas they are in our plenaries.json, can you investigate what goes wrong?
The text was updated successfully, but these errors were encountered: