fsr-de / myHPI

Django/Wagtail page serving myhpi.de
https://myhpi.de
11 stars 11 forks source link

Idea: New Design Markup Elements #521

Open dasGoogle opened 7 months ago

dasGoogle commented 7 months ago

An idea that has been floating through my head: We currently do not have many markup elements for making a page look nice. Especially as there are some issues here that try making myHPI more user friendly, this might be a good time to also add a bunch more options for creating content on pages.

These are some of the Ideas I have, but feel free to criticise and add more:

Feature Link

Similar to what you see on social media platforms, this could be useful for displaying (mainly internal) links in a more prominent fashion. In my head, such a button would show the title of the referenced page (in the correct language) and also display the first few lines of the page. It would be nice if these blocks were able to automatically align to a grid if multiple are placed side by side.

Call to Action Button

There sometimes are pages that are mainly there to guide people to another page. In such cases, it is quite annoying that these can only be shown inline with the text. Having a large primary orange button would greatly improve the UX here. As a very basic example where something like this would be useful: If we were to write a page about the new Semester Ticket, people mainly need to get to the WebApp where they can download their ticket. This button would be great to do that.

Alerts

This feature exists in GitHub markdown (https://github.com/orgs/community/discussions/16925) and enables highlighting important aspects in a more prominent way than just using emphasis on a text. The FSR and I had a number of occurrences, where we wanted to highlight a main point of a page where other markup elements such as headings had to be misused. This would greatly improve that.

dasGoogle commented 7 months ago

Regarding the alerts: The github implementation is criticised for not being compatible with languages other than English. There are some other implementations of this floating around the web, so we could maybe consider those as well. Alternatively, we can of course also translate the relevant elements in myHPI directly and still use English markup as we do with minutes.

jeriox commented 3 months ago

Just a quick thought on this: I see two options on how to achieve this.

jeriox commented 3 months ago

Additional idea from the FSR: collapsible section, e.g. for FAQs