culturecreates / minimal-footlight-search-widget

Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Footlight Minimal Search widget #10

Closed sahalali closed 1 year ago

sahalali commented 1 year ago

Here is the link to the planning issue: https://github.com/culturecreates/minimal-footlight-search-widget/issues/9

### Tasks
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/11
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/30
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/12
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/13
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/14
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/15
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/16
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/17
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/18
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/19
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/20
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/21
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/22
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/23
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/24
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/25
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/26
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/27
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/28
- [ ] https://github.com/culturecreates/minimal-footlight-search-widget/issues/29
sahalali commented 1 year ago

@sahalali Please find the attachment containing the icons for the calendar.

Calendrier-20230719T173048Z-001.zip

troughc commented 1 year ago

comments from DEMO Issue

Mobile

Organizations

Questions for MINIMAL Image

sahalali commented 1 year ago

Image Image

troughc commented 1 year ago

Caitlin's early feedback from trying the new search widget in Gregory's staging site.

  1. When I click an event in the list, no event is loaded (this is the same issue as when you click 'voir tous les résultats' as discussed during the demo).
  2. Are you supposed to be able to scroll the event list display on the left? I cannot. When I load a date range, I can see 4 events displayed and the voir tous les resultats with a number (see screenshot). I cannot scroll the list on the left to see more events.

Image

  1. already noted is that the single date option (to select a single date isn't working as expected. you need an end date I think?
  2. the Clear option (EFFACER) seems to be working okay but I noticed one thing: When i click effacer, the number of events displayed next to 'voir tous les résultats' is 181 and NO DATE is highlighted in the calendar (on the right). How do I know what this number (181) is referring to? In contrast, if I enable the single date option and select a date in the future (say in August) the number of events next to 'voir tous les résultats' is different (depending on the date). So my question is: do we need to show (on the calendar) what date or date range is being used to generate the number of events when nothing is selected? (I hope this is clear)?
  3. How do you clear out a search term? Do you have to select it and then delete it?
  4. for Organizations section: you need to remove the word "prochainement" from the top of the list, as well as the strange spacing when there are fewer than 4 results (as discussed in the meeting). To see this behavior of fewer results, you can search on "ACAD"
troughc commented 1 year ago

@SyamBabu-M here is my guidance in writing:

troughc commented 1 year ago

When no events are available the text has a typo with : Aucun Événements disponible It should be:

Aucun événement disponible

SyamBabu-M commented 1 year ago

@troughc Hi, thanks for the detailed summary in writing, all the points mentioned above are taken care of. 1: Fixed the spelling error in the message when no events are available. 2: Changed the default highlight color on today's date. 3: Changed the query params to include the end date so that the result will be for that specific date only

troughc commented 1 year ago

@SyamBabu-M I am looking at it in Gregory's test area here http://demo.staging-tout-culture.s3-website.ca-central-1.amazonaws.com/ ' Some things don't seem to have changed? But maybe it's because I am looking in the wrong place. Here is my test results:

Point 2 - looks good

point 1, I am still seeing the spelling error: To reproduce: Select a date far into the future (2025 Aug 10 for example) when there are no dates available.

Point 3: it doesn't look like it is displaying only the events that are happening on the one selected date. Steps to reproduce:

troughc commented 1 year ago

Thanks for merging the update @SyamBabu-M New TEST on Chrome Point 1: PASSED Point 3: Looking better but still has some issues: there are some wrong events that are event series that are being included in single date searches. These wrong events don't have any sub event on my selected date. to reproduce:

Hope this helps with troubleshooting.

sahalali commented 1 year ago

@troughc Point 3 is a known issue in the backend. Currently, the subEvent dates are not considered while filtering but the startDate and endDate of the parent Event.

@saumier I am not sure we have an open issue for this. If not, can we open an issue?

saumier commented 1 year ago

@sahalali Yes. This is issue https://github.com/culturecreates/footlight-calendar-api/issues/537

troughc commented 1 year ago

@SyamBabu-M UPDATED with clarifications from MINIMAL/client.

  1. for largest screens (highest res) fix display of organizations so the names are left aligned as per the trello feedback.
  2. Can you take a look at the font size for 4K resolution screens (make it bigger as per the trello feedback).
  3. (NEW) Regarding SCROLL: The request is to include 10 items that can be scrolled in the result list (rather than 4). The assumption is that you keep the vertical sizing of display as is (showing 4 event results) and that you scroll to see the additional events/workshops/organizations. Make sense?
troughc commented 1 year ago

@SyamBabu-M request to change the wording of message we display when no events are available. This message:

Image

Please change to:

French: Aucun événement présentement English: No events at the moment

troughc commented 1 year ago

message for workshops in French: Aucun ateliers présentement

troughc commented 1 year ago

Gentle reminder @SyamBabu-M

Please fix the messages that appear when no result is returned. Pay careful attention to capitalization of each word in the sentence. Only the first word is capitalized.

You need to make a changes to both French and English messages.

FRENCH fixes:

  1. For workshops (ateliers) - note the capitalization change as well Replace 'Aucun Ateliers disponible' with the following:

Aucun ateliers présentement

  1. For Events (événements) - please pay attention to accents on letters) Replace 'Aucun evénement disponible' with the following:

Aucun événement présentement

  1. For organizations (organisations) - note the capitalization change Replace 'Aucun Organisations disponible' with the following

Aucun organisations disponible

ENGLISH fixes (only need to fix capitalization of second word):

  1. For workshops: Replace 'No Workshops at the moment' with the following:

No workshops at the moment

  1. For organizations: Replace 'No Organizations are available' with the following

No organizations are available

cc @sahalali

SyamBabu-M commented 1 year ago

@troughc Noted.

troughc commented 1 year ago

@SyamBabu-M a little research to prevent the zoom in on input elements (when you focus on a field). cc @saumier

Note: this tag may have to be also added by MINIMAL to the parent page.

troughc commented 1 year ago

Tested in Gregory's test site on CHROME everything I tested is working great: PASS

That said, I stumbled on one question I have for you @saumier regarding the following: eventId=648cd2ed5526a700645056d7

The event types include both "Festival" and "Workshop | Art and Craft".

The event only appears in Workshops (atelier) search results when I search on Festival (It is not included in events searches).

Is that the expected behavior? Logically, it could be, one could argue that festival is a secondary category to a type of workshop. However, Festival has it's own separate entry in the controlled vocabulary for event type (it is not a sub-category to 'course' or 'workshop'). @saumier I would like your opinion on this.

saumier commented 1 year ago

@troughc If an event is a workshop then it will be excluded from events in Tout Culture because the approach we have for the API is to exclude events in a specific category such as Workshop. Tout Culture displays 'events' that exclude all workshops and Courses. So events that are tagged both Festival and Workshop will be removed from 'events' and appear only under 'workshops'.